[ltp] Speeding up UltraBay PATA HDs tremendously

wes schreiner linux-thinkpad@linux-thinkpad.org
Tue, 15 Jan 2008 15:55:11 -0600


Henrique de Moraes Holschuh wrote:
> Well, to get to the point: Some (all?) IBM ThinkPads with a PATA UltraBay
> can do UDMA/100 easily, but some (all?), like the T43, don't report this to
> the kernel, so they were being limited to ATA/33 on the Ultrabay PATA port.

Here with a T30 I get UDMA/100 on the UltraBay HD without your patch. 
Kernel 2.6.23.11-rt14 currently.

# dmesg|grep "configured for"
ata1.00: configured for UDMA/100
ata2.00: configured for UDMA/100

hdparm -I says that both drives are at udma5

# lspci|grep IDE
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)

# dmesg|grep ata_piix
ata_piix 0000:00:1f.1: version 2.12
scsi0 : ata_piix
scsi1 : ata_piix

# dmesg|grep "40-wire"
#

# dd if=/dev/sdb of=/dev/null bs=1M
57231+1 records in
57231+1 records out
60011642880 bytes (60 GB) copied, 2633.28 seconds, 22.8 MB/s
# grep -i crc /var/log/{kern.log,syslog,messages}
#

PCI device id, subsystem vendor and id;
0x248a, 0x1014, 0x0220

Perhaps there is a bug in 40/80 wire detection on newer ThinkPads?

wes