Re: PDC202XX_OLD broken
From: Bartlomiej Zolnierkiewicz
Date: Wed Dec 08 2004 - 16:48:17 EST
On Wed, 8 Dec 2004 21:25:56 +0000, Alan Pope <alan.pope@xxxxxxxxx> wrote:
> On Tue, 7 Dec 2004 21:58:52 +0100, Bartlomiej Zolnierkiewicz
> <bzolnier@xxxxxxxxx> wrote:
> > You are using 40c cable instead of 80c one.
> > Thus transfer rate is limited to UDMA33.
> >
>
> No, I'm using an 80c cable. I have even gone out and bought a new 80c
> one just to make sure the cable isn't broken. I have also got two
> identical disks, and experience exactly the same problem on both.
Ah, my mistake, you have 40c cable connected to VIA not Promise...
> I booted with "ide2=dma" because it was booting with the disk in pio mode.
If you are talking about:
ide3: BM-DMA at 0xd008-0xd00f, BIOS settings: hdg:pio, hdh:pio
it reports BIOS settings not the ones used by driver, no need for
"ide=dma2" if you have CONFIG_IDEDMA_PCI_AUTO=y.
> > Moreover pdc202xx_old has a bug in cable detection code.
> > pdc202xx_old_cable_detect() always returns '0' (which means
> > 80c cable) due to a sloppy coding - result of CIS & mask is
> > truncated to 8 bits although CIS holds cable info in bits 10-11.
> >
> > Does this fix work for you?
> >
>
> Not tried it, but it wouldn't help me would it? I *do* have an 80c
> cable, and the disk does show up in dmesg as a UDMA100 disk..
It wouldn't, it must be another bug.
-
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/