2006-02-23 16:26:06

by Philip Langdale

[permalink] [raw]
Subject: CRC errors with sata drives connected to ULi M5281

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


2006-02-24 01:55:11

by Robert Hancock

[permalink] [raw]
Subject: Re: CRC errors with sata drives connected to ULi M5281

Philip Langdale wrote:
> 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 }

Sure you don't have a bad SATA cable?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2006-02-24 04:10:50

by Philip Langdale

[permalink] [raw]
Subject: Re: CRC errors with sata drives connected to ULi M5281

Robert Hancock wrote:
> Sure you don't have a bad SATA cable?

If only it were so simple. I've tried multiple combinations of
cables and drives to no good end.

--phil