Re: kerneld problem

William E. Roadcap (roadcapw@cfw.com)
Thu, 25 Apr 1996 10:40:03 -0400 (EDT)


You might try this work around until something better comes along. Put
something like the lines below in your /etc/conf.modules file. I only have 1
scsi card, so I haven't tested this but it may work. I'm sure I have the
module names wrong, but you'll get the idea.

Also, this may be dependent on the version of modprobe you use. I'm not
sure when the post-install stuff was added to the modules package.

----------------------------------
alias scsi_hostadapter aha152x
post-install aha152x modprobe aha2840
post-remove aha152x modprobe -r aha2840
----------------------------------

On Wed, 24 Apr 1996, Dave Caswell wrote:

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

__
William E. Roadcap mailto:roadcapw@cfw.com
TITUS Software ftp://titus.cfw.com/pub
Waynesboro, Va (USA) http://www.cfw.com/~roadcapw