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: Martin MOKREJÅ
Date: Thu May 01 2008 - 17:25:05 EST


Hi Alan,

Alan Cox wrote:
To get rid of the errors, I can use libata.dma=0 kernel
command-line parameter. Unfortunately, this sets all libata
devices to PIO4 mode. How can I set just this one? I tried
'libata.force=7.00:pio4' but it did not help.

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.

Where are the flags documented? linux/Documentation/ directory
contains almost nothing about pata_marvell. :(

The flags are all common across drivers.

Oh, please tell me where can I read more. ;-) What does the number
3 mean? How can I force certain parameters over ata7.00 device only?

Thanks!
Maritn
--
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/