Re: 2.6.23.17 & 2.6.24.5 and maybe earlier: pata_marvell: need todisable DMA to get rid of '(ATA bus error)', 'ata7.00: status: { DRDY ERR }','ata7.00: error: { ICRC ABRT }'

From: Robert Hancock
Date: Fri May 02 2008 - 22:43:33 EST


Alan Cox wrote:
libata.dma=3 will stop DMA being used for CF devices (except those that
decide to pretend to be ATA classes). This one comes up a lot as many CF
adapters are simply not adequate for UDMA.
Perhaps the kernel could do this automatically once it sees the
status code?

We then hurt all the people with perfectly good working UDMA CF devices.
The kernel will eventually fall back from UDMA to PIO but it favours
working hardware by default.

I suspect they meant fall back on seeing the ABRT/ICRC error combination - which it does, eventually. Falling back on one occurrence would be too aggressive, though, as they can happen once in a blue moon, so there's little reason to slow down a working setup forever because of it..
--
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/