[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071229115015.GB24344@lks.home>
Date: Sat, 29 Dec 2007 14:50:15 +0300
From: "Konstantin A. Lepikhov" <lakostis@...afe.ru>
To: Gabriel C <nix.or.die@...glemail.com>
Cc: linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org
Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot
Hi Gabriel!
Sunday 16, at 09:31:17 PM you wrote:
> Oliver Joa wrote:
> > 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?
>
> This is my devel box , running 2.6.24-rc5-git
Are you using modular or in-kernel IDE? Modules ignore cmdline options, so
you must pass this parameter directly to ide_core (e.g. ide_core
options="ide=nodma").
--
WBR et al.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists