CRC errors with sata drives connected to ULi M5281

From: Philip Langdale
Date: Thu Feb 23 2006 - 11:23:51 EST


Hi all,

I happen to have a motherboard with an onboard M5281
controller that provides extra sata and pata ports.
Up until now, I've never had a use for it, but I've
been trying to use it with some spare drives I now
have, and it's been resulting in errors while reading
from the drive, and the system locks up with a sufficiently
long sustained transfer.

I observe identical behaviour with 2.6.15.4 and 2.6.16-rc4,
which doesn't really surprise me as the uli driver is basically
unchanged between them.

My symptoms appear identical to the ones described here:

http://www.ussg.iu.edu/hypermail/linux/kernel/0503.2/1378.html

> ata13: translated ATA stat/err 0x51/84 to SCSI SK/ASC/ASCQ 0xb/47/00
> ata13: status=0x51 { DriveReady SeekComplete Error }
> ata13: error=0x84 { DriveStatusError BadCRC }

In my case, I have a uniprocessor preempt kernel.

I have tried with maxtor and hitachi drives which both work
fine when connected to a via vt6421 controller card that I
also have.

Interestingly, the frequency of BadCRC errors seems to be
inversely related to the transfer speed. I tried forcing
it to use PIO for transfers and this caused a significant
increase in the number of errors reported. In fact, it
seemed to me that more errors were reported with the hitatchi
vs. the maxtor and those report themselves as udma/100 and
udma/133 respectively.

I'm rather out of ideas for what to do next, and I'd really
like to be able to take advantage of this controller if I can.

Thanks,

--phil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/