From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Konstantin A. Lepikhov" Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot Date: Sat, 29 Dec 2007 14:50:15 +0300 Message-ID: <20071229115015.GB24344@lks.home> References: <4765690C.6010605@j-o-a.de> <47657BA8.3020004@googlemail.com> <47657D79.7090100@j-o-a.de> <47658063.5010707@googlemail.com> <47658235.7050409@j-o-a.de> <47658B15.5090600@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mojo.unsafe.ru ([83.222.2.183]:16968 "EHLO mojo.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752695AbXL2MXf (ORCPT ); Sat, 29 Dec 2007 07:23:35 -0500 Content-Disposition: inline In-Reply-To: <47658B15.5090600@googlemail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Gabriel C Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org 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.