Re: 2.0.pre36 Initialization order of drivers

doctor@fruitbat.org
Fri, 11 Sep 1998 14:07:28 -0700 (PDT)


Hans-Joachim Baader mumbled something about ...
>
> 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

Just to clarify: you've strapped the Mitsumi for IRQ 5 and configured
the AHA1542B, via the Adaptec BIOS, to use IRA 11. Is this correct? If
the Mitsumi is a PCI card, then it was auto-configured by the BIOS? The
AHA1542B is an ISA card, if I remember correctly, and as such it's
confugured via a setup dip switches on the card and through the Adaptec
"SCSI Select" BIOS utility.

> 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 doesn't make much sense to me. If both cards are
strapped/configured for a particular interrupt, how can it "grab" a
different IRQ? If the Mitsumi is a PCI card, then in your system's BIOS
you should mark IRQ 11 as being "Legacy/ISA" (ie: reserved for the
AHA1542B) so that it won't be allocated to any PCI cards. If they are
both PCI cards, then there's something else wrong, because the interrupt
should only be allocated to one PCI device.

-- 
Peter A. Castro (doctor@fruitbat.org) or (pcastro@us.oracle.com)

- 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