lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47657D79.7090100@j-o-a.de>
Date:	Sun, 16 Dec 2007 20:33:13 +0100
From:	Oliver Joa <oliver@...-a.de>
To:	Gabriel C <nix.or.die@...glemail.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: How to Switch DMA off for only one Harddisk at Kernelboot

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ