2.0.pre36 Initialization order of drivers

Hans-Joachim Baader (hans@grumbeer.inka.de)
Thu, 10 Sep 1998 20:26:24 +0200 (MET DST)


Hi,

I found a minor problem with 2.0.x today. I have a box with an AHA1542B
and a Mitsumi CD-ROM. Both drivers compiled in, not as modules. The
Adaptec is on IRQ 11, the Mitsumi on IRQ 5. During boot, the Mitsumi
gets initialized _before_ the Adaptec and since I didn't configure it
otherwise, it grabs IRQ 11 (the default), and the Adaptec cannot get its
IRQ, so the root device cannot be mounted and the kernel panics.

This is of course repairable if you have a LILO prompt. But since I
dd'ed the kernel directly on a floppy, I couln't do that.

Wouldn't it be reasonable to initialize SCSI drivers before the
proprietary CD-ROM drivers? Might be impossible because of possible
lockups during port probing.

Alternatively, it would be nice to make I/O and IRQ configurable
with menuconfig and xconfig. One could even have a value of 0
meaning "do the usual probing".

Or is there a possibility to do 'rdev /dev/fd0 -c "Kernel command line"'?

Just an idea, perhaps too late for 2.0.36 and 2.2...

hjb

-- 
"Every use of Linux is a proper use of Linux."
				-- John "Maddog" Hall, Keynote at the Linux
				   Kongress in Cologne

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html