View Single Post

   
  #1 (permalink)  
Old 01-17-2008, 06:07 PM
Moe
 
Posts: n/a
Default Loading kernel module automatically for QLogic Fiber card

Hi, I am trying to load a kernel module automatically without success.
I have read many docs with google searches and tried several suggested
methods but still no go. I am using RedHat kernel 2.4.21-9.ELsmp.

The module file is at
/lib/modules/2.4.21-9.ELsmp/kernel/drivers/addon/qla2200/qla2300.o

/etc/modules.conf has the line:

alias scsi_hostadapter2 qla2300

I can run modprobe scsi_hostadapter2 and it loads fine. Here is an output:

$ sudo modprobe -v scsi_hostadapter2
/sbin/insmod
/lib/modules/2.4.21-9.ELsmp/kernel/drivers/addon/qla2200/qla2300.o
Using /lib/modules/2.4.21-9.ELsmp/kernel/drivers/addon/qla2200/qla2300.o
Symbol version prefix 'smp_'


How do I load this AUTOMATICALLY at boot? I know I can put this in the
rc scripts but is there any other way to do this?

Thanks in advance.

-Moe






Reply With Quote