sata-via: read errors, slowdowns with VIA VT6420
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Maverick |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
I have noticed slowdowns when reading from a Western Digital Green Power Disk (WD10EARS) when the disk is attached to my mainboard's (Jetway J7F4) sata-controller (VT6420 (in a VT8237R+ southbridge).
The kernel errors are repetitions of the following:
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[ 476.700552] ata1.00: BMDMA stat 0x25
[ 476.700614] ata1.00: failed command: READ DMA EXT
[ 476.700691] ata1.00: cmd 25/00:00:
[ 476.700697] res 51/84:bf:
[ 476.700824] ata1.00: status: { DRDY ERR }
[ 476.700884] ata1.00: error: { ICRC ABRT }
[ 476.700952] ata1: soft resetting link
[ 476.888749] ata1.00: configured for UDMA/133
[ 476.888823] ata1: EH complete
and if the controller is stressed by a heavier load the errors will repeat enough to cause the interface to throttle back to at most UDMA/33.
This bug seems to be related to an issue that has been reported with VT6421 controllers combined with WD green power disks. As far as I know it has something to do with a buffer mismatch between disk and controller.
A patch has recently been proposed ([PATCH] sata-via: enable magic transmission fix for vt6420), details can be found on https:/
Changed in linux (Ubuntu): | |
assignee: | nobody → Andy Whitcroft (apw) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Maverick): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Andy Whitcroft (apw) |
Apparently the driver throttles the disk back to PIO0 eventually... quite unusable.
I have also spotted some different errors:
[13873.934590] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen 90:d3:eb/ 00:00:00: 00:00/e6 tag 0 pio 4096 in 91:d3:eb/ 84:01:06: 00:00/e6 Emask 0x2 (HSM violation) 90:d3:eb/ 00:00:00: 00:00/e6 tag 0 pio 4096 in 91:d3:eb/ 84:01:06: 00:00/e6 Emask 0x2 (HSM violation)
[13873.934684] ata3.00: failed command: READ MULTIPLE
[13873.934789] ata3.00: cmd c4/00:08:
[13873.934804] res 58/00:07:
[13873.934957] ata3.00: status: { DRDY DRQ }
[13873.935027] ata3: soft resetting link
[13874.105263] ata3.00: configured for PIO0
[13874.105335] ata3: EH complete
[13874.114626] ata3: drained 65536 bytes to clear DRQ.
[13874.174559] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[13874.174652] ata3.00: failed command: READ MULTIPLE
[13874.174756] ata3.00: cmd c4/00:08:
[13874.174772] res 58/00:07:
[13874.174924] ata3.00: status: { DRDY DRQ }
[13874.174995] ata3: soft resetting link
[13874.345499] ata3.00: configured for PIO0
[13874.345571] ata3: EH complete