Alan Cox wrote: > On Thu, 4 Oct 2007 11:06:56 +0900 > Tejun Heo <htejun@xxxxxxxxx> wrote: > >> From: Paolo Ornati <ornati@xxxxxxxxxxxxx> >> >> Seagate Barracuda ST380817AS has troubles with NCQ. For example, >> unpacking a tarball on an XFS filesystem gives this: >> >> ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x2 frozen >> ata1.00: cmd 61/40:00:29:a3:98/00:00:00:00:00/40 tag 0 cdb 0x0 data 32768 out >> res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) > > Looking at this and our NCQ code I don't see any provision for drive > unfairness in our code. If we continue to issue commands to the drive I'm > not seeing where we guarantee a given command will ever complete rather > than being deferred forever by a dumb drive - which some SCSI drives also > will do... After several such timeouts, libata will turn off NCQ which should solve the problem. -- tejun - 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