All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Joa <oliver@j-o-a.de>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot
Date: Sun, 16 Dec 2007 20:33:13 +0100	[thread overview]
Message-ID: <47657D79.7090100@j-o-a.de> (raw)
In-Reply-To: <47657BA8.3020004@googlemail.com>

Hi,

Gabriel C wrote:
> Oliver Joa wrote:
>> Hi,
> 
> Hi Oliver ,
> 
>> how can I tell the kernel not to probe DMA for a specific harddisk (e.g. 
>> hda). My first Drive (hda) is a Compact-Flash Card which can not do DMA. 
>> The kernel tries at boot to switch to DMA but fails. If I use ide=nodma, 
>> the kernel boots about 2 minutes faster, but then I can not switch on 
>> DMA for the second Drive (hdc) which is a normal Harddisk. Do I have to 
>> live with this 2 minutes waiting time or is there another solution? I 
>> did not find any kernel-parameter for this purpose.
>>
>> Sorry if I ask here, but I can not find any solution, and I asked 
>> already in other groups.
>>
>> Thank you very much
> 
> Should work with hda=nodma or ideX=nodma ( where X is your HDD nr , in your case is 0 )

I tried this already, it does not work.

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

Thanks

Olli

  reply	other threads:[~2007-12-16 19:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-16 18:06 How to Switch DMA off for only one Harddisk at Kernelboot Oliver Joa
2007-12-16 19:25 ` Gabriel C
2007-12-16 19:33   ` Oliver Joa [this message]
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
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=47657D79.7090100@j-o-a.de \
    --to=oliver@j-o-a.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.