Re: How to Force PIO mode on sata promise (Linux 2.6.10)

From: Chris Wedgwood
Date: Thu Sep 22 2005 - 11:46:25 EST


On Thu, Sep 22, 2005 at 10:03:10AM +0200, David Sanchez wrote:

> I add my card into the dma_black_list of the libata to force DMA
> disabled and the problem seems to no more appear...maybe PIO is so
> slow that the data has no time to be corrupted... But I can NOT
> affirm that the problem is the DMA.

> I try the linux kernel 2.4,2.6.11, 2.6.12 and 2.6.13. More I try 2
> different toolchains and the problem persists...

I doubt any of those will help. It sounds like a driver bug wrt to
non-coherent PCI. Presumably this will also hit sparc people if they
use this hardware and some PPC too.

Does the driver use the *dma_sync* API(s)? You might want to read
over Documentation/DMA-API.txt and see if the driver is doing the
right things.
-
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/