4–Installation in a Linux Environment Installing Software

c.Create a new RAMDISK image containing the updated QLogic networking driver.

# mkinitrd -f initrd-[kernel version].img `uname -r`

Depending on the server hardware, the RAMDISK file name may be slightly different. The command is successful if there is no output.

d.Reboot the server for the new RAMDISK image to take affect:

# shutdown –r now

Instead of creating a new RAMDISK (Step 17), it may be possible (though not recommended) to load the new driver without a reboot by unloading and loading the driver using the modprobe utility:

1.To unload the driver using the modprobe utility, type the following command:

# modprobe –r qlge

The following error message indicates that the unload operation failed because the server is engaged in I/O operations through the QLogic adapter, or another module is dependent on the qlge module.

FATAL: Module qlge is in use

In this case, stop all I/O, eliminate dependent modules and unload the module again. Otherwise, you must create a new RAMDISK.

2.To load the driver using the modprobe utility, type the following command:

# modprobe -v qlge

The modprobe command loads the qlge.ko file in the directory /lib/modules/2.6.<kernel-sub-version>/ kernel/drivers/net/qlge/.

The modprobe utility loads the qla2xxx.ko file in the directory /lib/modules/2.6.<kernel-sub-version>/extra/qlgc-ql a2xxx/. The following example message indicates that the load operation was successful.

insmod/lib/modules/2.6.18-164.el5/kernel/drivers/net/qlge/qlge.ko

4-18

FE0254601-00 A

Page 116
Image 116
Q-Logic 8100 SERIES manual # modprobe -r qlge, # modprobe -v qlge