kerneld problem

Dave Caswell (davec@apocalypse.org)
Wed, 24 Apr 1996 14:03:14 -0400


I think there's a problem with the way the module dependencies
presently work. If you have two devices of a particular type, there
doesn't seem to be enough info in conf.modules to figure out which
module needs to be installed.

For example:

In a system with two SCSI busses, one internal and one external, with
a CD-ROM drive on both. Like this:

AHA2840 --
6 disk drives
1 CD-ROM

AHA152x --
Exabyte Tape Drive
1 CD-ROM
-- other misc external SCSI devices.

How can the module stuff determine which scsi-bus driver needs to be loaded?

As things are now, when the first SCSI controller is installed, or
compiled in, the second host adapter will never be asked for:

>From linux/drivers/scsi/scsi.c:

#ifdef CONFIG_KERNELD
if (scsi_hosts == NULL)
request_module("scsi_hostadapter");
#endif

Is anyone working on a solution to this problem??

Thanks,
-davec