Installing the Linux Driver

2.Build a new ramdisk image that contains the qla2300.o object file. The driver binary file qla2300.o must be copied to

/lib/modules/<kernel release version>/drivers/scsi.

Note: The <kernel release version> is the Linux kernel, release, and version of your system.

3. Add the dependency for the qla2300 driver and build the ramdisk image:

You can either run depmod -aor make sure the following line is in the /lib/modules/<kernel release version>/modules.dep file:

/lib/modules/<kernel version>/kernel/drivers/scsi/ qla2300.o: /lib/modules/<kernel version>/kernel/ drivers/scsi/scsi_mod.o

4. Build the ramdisk image file:

For a single-processor system, enter the following commands, replacing x.x.xx–x.xwith your Linux version number:

/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.x

For a multiprocessor system, enter the following commands, replacing x.x.xx–x.xwith your Linux version number.

/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.xsmp

For SuSE SLES, enter the following commands, replacing x.x.xx–x.xwith your Linux version number.

/sbin/mk_initrd /boot/newinitrd-image x.x.xx-x.xsmp

5.Configure the boot loader with the new ramdisk image. For the LILO install boot loader, perform these steps:

a.Modify the /etc/lilo.conf file to load the new ramdisk image by changing the following line:

initrd=/boot/initrd file name

For example:

initrd=/boot/newinitrd-image

b.At the command prompt, enter the following command to load the new lilo file:

# lilo

c.Reboot the system. The qla2300 driver loads automatically.