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

From: Ondrej Zary
Date: Tue Aug 21 2007 - 13:09:30 EST


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
-
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/