Re: 2.6.21-rc2-mm1: pata_via: wrong cable detection

Laurent Riffard
2007-03-02T22:52:50Z

Le 02.03.2007 12:00, Andrew Morton a écrit :
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.21-rc2-mm1/
>
> Will appear later at
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc2/2.6.21-rc2-mm1/

Hello,

My 2 hard drives are connected to the same pata slot with a 80-wire cable.

But kernel found a 40-wire cable for the master HD!

$ dmesg | grep ata
...
pata_via 0000:00:04.1: version 0.2.1
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001b800 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001b808 irq 15
scsi0 : pata_via
ata1.00: ATA-5: ST340016A, 3.75, max UDMA/100
ata1.00: 78165360 sectors, multi 16: LBA
ata1.01: ATA-7: Maxtor 6Y080L0, YAR41BW0, max UDMA/133
ata1.01: 160086528 sectors, multi 16: LBA
ata1.00: limited to UDMA/33 due to 40-wire cable
ata1.00: configured for UDMA/33
ata1.01: configured for UDMA/100
scsi1 : pata_via
ata2.00: ATAPI, max UDMA/33
ata2.01: ATAPI, max MWDMA2, CDB intr
ata2.00: configured for UDMA/33
ata2.01: configured for MWDMA2
...

(A DVD burner and a CDROM drive are plugged on the 2nd pata slot
with a 40-wire cable).

~~
laurent