Re: how to tell KERNELD to load 2nd SCSI driver ?

Hubert Mantel (mantel@suse.de)
Wed, 23 Jul 1997 15:40:07 +0200 (MEST)


On Wed, 23 Jul 1997, Hugo Van den Berg wrote:

> On Fri, 18 Jul 1997, Henrik Storner wrote:
>
> -> In linux.kernel you write:
> ->
> -> > SCSI host #1 : NCR810 with 2 internal hard disks connected
> -> > SCSI host #2 : AHA1542 with internal cdrom, tape and
> -> > optinal external devices (hot swappable! ;)
> ->
> -> >now I'd like only to load the aha1542 driver via kerneld when I'm going
> -> >to need cdrom or tape.
> ->
> -> You can't - at least, the kernel currently does not recognize that there
> -> is a need to invoke kerneld under these circumstances. So short of
> -> hacking the kernel SCSI code, you are out of luck. Either load the module
> -> manually, or build both drivers into your kernel.
>
> I beg to differ. You can hack modules.dep in /lib/modules/<vesion> by hand to
> make st and sr_mod depend on aha1542. The kernel will signal the need for st
> (or sr_mod), and kerneld will load aha1542 along with it.

This does only work in your special case. If you have harddisks only on
both scsi adapters it will not work.

> You must remember to rehack modules.dep each time you run depmod -a though.
>
> Hugo Van den Berg - hbe@cypres.nl

Hubert mantel@suse.de

---
RC5 contest: RC5 is just plain Evil