4–Installation in a Linux Environment Installing Software

a.Change to the directory that contains the RAMDISK images.

#cd /boot

b.Create a backup copy of the RAMDISK (initrd) image.

#cp initrd-[kernel version].img initrd-[kernel version].img.bak

c.Generate a new RAMDISK image containing the updated QLogic FCoE 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 16), 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 qla2xxx

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 qla2xxx module.

FATAL: Module qla2xxx 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 qla2xxx

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.<kernel-sub-version>/extra/qlgc-ql a2xxx/qla2xxx.ko

4-10

FE0254601-00 A

Page 108
Image 108
Q-Logic 8100 SERIES manual # cd /boot, # mkinitrd -f initrd-kernel version.img `uname -r`, # shutdown -r now