User`s guide
14 – SuSE Linux Driver Installation
Installing the Driver
14-4 FC2354601-00 J
Q
To load the driver directly from the local build directory, type the following:
# insmod qla2300.o
To load the driver using modprobe, follow these steps:
1. Type the following:
# make all OSVER=linux install
2. Type the following to load the driver:
# modprobe qla2300
14.3.4
Building a RAMDISK Image to Load the Driver Automatically
You can load the qla2xxx driver at boot time using a RAMDISK image.
Before building a RAMDISK image, you must build a UP or SMP version of the
driver, as described in section 14.3.1 or 14.3.2.
Perform the following steps to load the qla2xxx driver using a RAMDISK image:
1. Copy the files to /lib/modules/<kernel version>/kernel/drivers/scsi/ by typing:
# make install
2. Add the following line to /etc/modules.conf:
alias scsi_hostadapter0 qla2300
3. Type the following command to build the RAMDISK image that contains the
qla2300.o module:
# /sbin/mk_initrd
By default, the following RAMDISK images are created:
/boot/initrd
/boot/initrd.suse
4. Configure the boot loader with the new RAMDISK image.
For LILO, perform the following steps:
a. Add the following line to one of the kernel entry sections in the /etc/lilo.conf
file to use the RAMDISK image:
initrd=/boot/<RAMDISK file name>
b. Type the following command:
#lilo
c. Reboot the system.