Re: sata_via: write errors on PATA drive connected to VT6421

Ondrej Zary
2007-08-21T17:09:29Z

On Tuesday 21 August 2007 14:27:31 Alan Cox wrote:
> > The transfer mode decreases from UDMA/100 to UDMA/66 and then UDMA/33 but
> > it doesn't help at all. The drive itself is fine, the problems also
> > appear with
>
> Does it settle at UDMA33 or keep going down lower ?

It does not go below UDMA33.
dd if=/dev/zero of=some.file bs=131072 count=1024 takes 526 seconds (amazing
transfer rate 255KB/s) with system being unresponsive most of the time.

Commenting out the UDMA support in sata_via.c (.udma_mask and .set_dmamode for
PATA port) causes the driver to run in PIO4 mode which seems to work without
errors but slowly (3MB/s with 100% CPU load).

--
Ondrej Zary