EMC P/N 300-002-803 manual Example of the modified /etc/modules.conf

Models: P/N 300-002-803

1 216
Download 216 pages 7.63 Kb
Page 76
Image 76

Installing and Configuring the Linux Host with the QLogic Driver

/lib/modules/2.4.21-32.0.1.ELsmp/kernel/drivers/scsi/ install -o root -g root qla2200_conf.o /lib/modules/2.4.21-32.0.1.ELsmp/kernel/drivers/scsi/ install -o root -g root qla2300_conf.o /lib/modules/2.4.21-32.0.1.ELsmp/kernel/drivers/scsi/ depmod -a

make: Nothing to be done for `/lib/modules/2.4.21-32.0.1.ELsmp/kernel/drivers/scsi/'. depmod...

adding line: alias scsi_hostadapter2 qla2300_conf to /etc/modules.conf

adding line: alias scsi_hostadapter3 qla2300 to /etc/modules.conf mkinitrd...

Installation of qla2300/qla2200 driver for 2.4.21-32.0.1.ELsmp complete.

Ex: To load the qla2300 driver execute the following command:

# modprobe -v qla2300

Or Reboot the system for newly build ramdisk to load qla2300 driver automatically for you

Installing the QLogic SNIA API library libqlsdm.so in /usr/lib. API package is installed in the /usr/src/qla2x00/ApiPkg path

Setting up QLogic HBA API library...

Please make sure the /usr/lib/libqlsdm.so file is not in use. Done.

Example of the modified /etc/modules.conf:

[root@l82bi114 extra]# more /etc/modules.conf alias eth0 e1000

alias eth1 e100

alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptscsih alias usb-controller usb-uhci

options scsi_mod max_scsi_luns=255 scsi_allow_ghost_devices=1 post-remove qla2200 rmmod qla2200_conf

post-remove qla2300 rmmod qla2300_conf alias scsi_hostadapter2 qla2300_conf alias scsi_hostadapter3 qla2300

A new ramdisk is created automatically by the RPM installation.

4. Reboot the host.

Uninstallation methods for the QLogic v7.xx.xx/v8.xx.xx driver

This section describes how to successfully uninstall the QLogic v7.xx.xx/v8.xx.xx driver from a Linux host.

The method used to uninstall the driver is dependent upon the installation package:

“Method 1: Uninstalling the QLogicv7.xx.xx/v8.xx.xx driver via QLogic DKMS RPM” on page 77

76

EMC Host Connectivity with QLogic FC and iSCSI HBAs and FCoE CNAs for the Linux Environment

Page 76
Image 76
EMC P/N 300-002-803 manual Example of the modified /etc/modules.conf