Re: WARN_ON() in drivers/ata/libata-core.c:5211 ata_qc_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/20/2010 08:16 AM, Lennert Buytenhek wrote:
On mvsas, when I issue a SMART command (smartctl -a) while a dd
from /dev/sda to /dev/null is in progress, I hit the following
WARN_ON_ONCE in ata_qc_issue():

         if (ata_is_ncq(prot)) {
                 WARN_ON_ONCE(link->sactive&  (1<<  qc->tag));

                 if (!link->sactive)
                         ap->nr_active_links++;
                 link->sactive |= 1<<  qc->tag;
         } else {
                 WARN_ON_ONCE(link->sactive);		<===============

                 ap->nr_active_links++;
                 link->active_tag = qc->tag;
         }

This is on 2.6.34-rc4 ish.

That would indicate that for some reason, non-NCQ commands aren't being deferred while an NCQ command is in progress. Presumably something wrong in mvsas or libsas code in general..
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux