Limiting SATA port speed to 1.5Gbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've got a bunch of SATA hotswap bays that don't seem to support
3.0Gbps properly. The symptom is that just doing a dd off the drive to
/dev/null, I get:

Nov 13 09:43:15 foo kernel: ata13: error interrupt on port0
Nov 13 09:43:15 foo kernel:   stat=0x80000001 irq=0x3020002 cmd_err=1
sstatus=0x123 serror=0x280000
Nov 13 09:43:15 foo kernel: ata13: translated ATA stat/err 0x51/84 to
SCSI SK/ASC/ASCQ 0xb/47/00
Nov 13 09:43:15 foo kernel: ata13: status=0x51 { DriveReady SeekComplete Error }
Nov 13 09:43:15 foo kernel: ata13: error=0x84 { DriveStatusError BadCRC }

in the logs, and READ DMA errors in the drive's SMART logs. I'm not
sure how they get to the SMART logs, but this happens under the latest
RHEL4 kernel, FC6, and also under windows XP, so its presumably not a
software issue.

Unfortunately we have a bunch of these, but until now they've been
used in internal bays on onboard controllers not supporting 3.0Gbps
and/or presenting the drives to the (windows) OS as PATA.

The Seagate drives have a jumper to limit the speed to 1.5Gb and that
seems to fix the problem, but I can't guarantee that future drives
will have a jumper for that. Is there some way to use a module param
to limit the port speeds to 1.5Gb? Looking at the code it looks like
the newer kernels will try to rate limit after an error, but I'd
rather force limit it up front. Is there a way to do this?

They're attached to a SiI 3124 PCI-X controller with infiniband output
to an external enclosure, using sata_sil24, FWIW.

Thanks,

Bradley
-
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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux