Re: How to Switch DMA off for only one Harddisk at Kernelboot

From: Oliver Joa
Date: Sun Dec 16 2007 - 14:53:37 EST


Hi,

Gabriel C wrote:

[...]

Also have a look at Documentation/ide.txt.
I read this already. Searching for "nodma" in this document gives only one line:

"ide=nodma" : disable DMA globally for the IDE subsystem.

If the documentation is correct hda=nodma and ideX=nodma should not work. I use kernel 2.6.23.1 at the moment.

grep nodma Documentation/ide.txt
"hdx=nodma" : disallow DMA

ide=foo_option is for the whole ide sub-system where ideX|hdX=foo_option is just for that HDD.


/usr/src/linux-2.6.23.1$ grep nodma Documentation/ide.txt
"ide=nodma" : disable DMA globally for the IDE subsystem.

/usr/src/linux-2.6.21.5$ grep nodma Documentation/ide.txt
"ide=nodma" : disable DMA globally for the IDE subsystem.

/usr/src/linux-2.6.12# grep nodma Documentation/ide.txt
"ide=nodma" : disable DMA globally for the IDE subsystem.

Sorry, but I can not find this option, and it does not work. Which kernel do you use?

Thanks

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