Re: ide0=noprobe, hda=noprobe, hda=none ignored?

From: Alexander E. Patrakov
Date: Mon Jun 11 2007 - 07:13:25 EST


Carlo Wood wrote:
I've been trying for months to get my box to boot faster
by ignoring the not connected hda/hdb (ide0).

ansset:~>dmesg | egrep '(noprobe|ide0|hda|hdb)'

Kernel command line: root=/dev/hde3 ro ide0=noprobe
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
Probing IDE interface ide0...
hda: IRQ probe failed (0xfffffdb8)
etc.

or

Kernel command line: root=/dev/hde3 ro hda=none hdb=none
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio
Probing IDE interface ide0...
hda: IRQ probe failed (0xfffffdb8)

same for hda=noprobe hdb=noprobe

Nothing helps.

Is this a bug or not? I'd think that saying "noprobe" means
"do NOT probe" - but it probes anyway.


If your kernel uses modular IDE drivers and an initrd/initramfs that loads them, your result is the expected one (i.e.: not a bug). One should add the following or similar options into /etc/modprobe.conf in the initrd in order to get the result:

options ide_core options="ide0=noprobe hda=noprobe hdb=noprobe"

If you don't use initrd, or have a non-modular IDE driver, please ignore this message.

--
Alexander E. Patrakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/