mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot
Date: Sat, 29 Dec 2007 14:50:15 +0300	[thread overview]
Message-ID: <20071229115015.GB24344@lks.home> (raw)
In-Reply-To: <47658B15.5090600@googlemail.com>

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.

  reply	other threads:[~2007-12-29 12:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-16 18:06 Oliver Joa
2007-12-16 19:25 ` Gabriel C
2007-12-16 19:33   ` Oliver Joa
2007-12-16 19:45     ` Gabriel C
2007-12-16 19:53       ` Oliver Joa
2007-12-16 20:31         ` Gabriel C
2007-12-29 11:50           ` Konstantin A. Lepikhov [this message]
2007-12-16 20:16 ` Alan Cox
2007-12-17 11:17   ` Oliver Joa
2007-12-17 11:58     ` Bartlomiej Zolnierkiewicz
2007-12-17 22:32 ` Lennart Sorensen
2007-12-17 23:44   ` Oliver Joa
2007-12-18  0:04   ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071229115015.GB24344@lks.home \
    --to=lakostis@unsafe.ru \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nix.or.die@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®