Koozali.org: home of the SME Server

How to load kernel modules at boot

Kelvin

How to load kernel modules at boot
« on: April 14, 2002, 12:12:12 PM »
Hi all,

I need to load two modules in the scsi directory automatically at boot time (ide-scsi.o and osst.o in that order). How do I go about doing this ?

Thanks.

Kelvin

Ari

Re: How to load kernel modules at boot
« Reply #1 on: April 14, 2002, 06:32:58 PM »
Kelvin wrote:
> I need to load two modules in the scsi directory
> automatically at boot time (ide-scsi.o and osst.o in that
> order). How do I go about doing this ?

1. make a backup of your rc.sysinit file
# cp /etc/rc.d/rc.sysint /etc/rc.d/rc.sysinit.bak

2. edit the rc.sysinit file
# pico -w /etc/rc.d/rc.sysinit

3.  search for the section that reads "# Initialize the serial ports." (it's near the end - line 621 in my rc.sysint)

4. Add the following section:
# install the ide-scsi module
insmod ide-scsi
insmod osst

5. Save your changes and test it. It should load those two modules in that order.

Kelvin

Re: How to load kernel modules at boot
« Reply #2 on: April 15, 2002, 04:30:00 AM »
Thanks Ari. That worked like a charm.

Kelvin