Re: Wrong IDE cable detection in libata [Re: 2.6.21-rc4-mm1]

From: J.A. MagallÃn
Date: Mon Mar 26 2007 - 16:19:29 EST


On Mon, 26 Mar 2007 20:01:52 +0900, Tejun Heo <htejun@xxxxxxxxx> wrote:

> J.A. MagallÃn wrote:
> > Libata seems to misdetect my cable.
> > I have double-checked and the cable is 80 pin...
>
> Does the following patch fix your problem?
>
> http://article.gmane.org/gmane.linux.ide/17444
>
> (You can get the raw message by appending /raw to the URL).
>

Yes it works !!

Disk is back at nice speed of 50 Mb/s.

dmesg:

ata_piix 0000:00:1f.1: version 2.10ac1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001f000 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001f008 irq 15
scsi0 : ata_piix
ata1.00: ATAPI, max UDMA/33
ata1.01: ATAPI, max MWDMA0, CDB intr
ata1.00: configured for UDMA/33
ata1.01: configured for PIO3
scsi1 : ata_piix
ata2.00: ATA-6: ST3120022A, 3.06, max UDMA/100
ata2.00: 234441648 sectors, multi 16: LBA48
ata2.01: ATAPI, max UDMA/33
ata2.00: configured for UDMA/100 <=============
ata2.01: configured for UDMA/33 <=============

Thanks !!

--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.1 (Cooker) for i586
Linux 2.6.20-jam05 (gcc 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)) #2 SMP PREEMPT
-
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/