Subject: Re: U10 wd at pciide UDMA problem
To: FUKAUMI Naoki <naoki@fukaumi.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 11/14/2001 21:18:37
On Mon, Nov 12, 2001 at 01:08:47PM +0900, FUKAUMI Naoki wrote:
> On Mon, Nov 12, 2001 at 11:50:22AM +0900, FUKAUMI Naoki wrote:
> > I'm compiling GENERIC kernel (2001/11/9) now. And I'll test it soon. If it
> > has problem, then I'll change wd flags and test again.
> 
> With GENERIC kernel which compiled from 2001/11/9 source,
> 
>   :
> pciide0 at pci3 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
> pciide0: bus-master DMA support present
> pciide0: primary channel configured to native-PCI mode
> pciide0: using ivec 1820 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <ST39140A>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 8693 MB, 17662 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

This is not normal for this IDE controller, it's known to be broken for
Ultra-DMA. It looks like it's because of the flags in the GENERIC file.
I commited a fix to wdc.c for this (never enable UDMA if the controller
can't do it :)

--
Manuel Bouyer <bouyer@antioche.eu.org>
--