supine.com- home
This site best viewed with a high blood caffeine level and your monitor upside down.
weblog home :: tech :: linux :: sata_nv_ncq_and_hitachi_hdd

Thu, 12 Jun 2008

Corner cases make me a sad panda
At $work[0] we've had issues with a server that has a Nvidia SATA controller. The errors look a little something like:

 ata2.00: cmd 60/08:78:3f:8f:3b/00:00:00:00:00/40 tag 15 cdb 0x0 data 4096 in
          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
 ata2.00: cmd 61/00:80:66:32:77/01:00:00:00:00/40 tag 16 cdb 0x0 data 131072 out
          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
 ata2: soft resetting port
 ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
 ata2.00: configured for UDMA/133
 ata2: EH complete
 ata2: timeout waiting for ADMA LEGACY clear and IDLE, stat=0x400
 sd 1:0:0:0: [sdb] 488390625 512-byte hardware sectors (250056 MB)
 sd 1:0:0:0: [sdb] Write Protect is off
 sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
 sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 ata2: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x0 next cpb count 0x10 next cpb idx 0x0

It appears some sata_nv "features" (NCQ) were added to Linux 2.6.22 but some Hitachi hard drives don't support it. Redhat has errata on this.

Of course we're running that combination. Sigh.

[2008/06/12 / tech / linux permanent link]