Re: How to disable DMA for compact-flash disk?

From: Alan Cox
Date: Tue Aug 11 2009 - 15:11:09 EST


On Tue, 11 Aug 2009 11:51:18 -0700
Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:

> I'm trying to use Fedora 11 with default kernel on an old via system
> that boots from compact flash. DMA is not supported on the CF for
> whatever reason, and in previous kernels, I've always disabled
> DMA, first with ide=nodma, and then later with
> ide_core.nodma=0.0 ide_core.nodma=0.1 ...

Fedora switched to libata some releases ago so

libata.dma=n

0 - off
1 - disk only

+ 2 disk/CD
+ 4 disk/CD/CFA

(so you can turn DMA off just for CFA devices providing they admit they
are CFA)

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