INSTALLING QLOGIC FC DRIVER ON RHEL 4 - 4/18/2017 1] mkdir /qla2xxx 2] cd /qla2xxx 3] Download the driver source files, qla2xxx.vx.yy.zz.dist.tgz [ex: qla2xxx-8.01.04b6.dist.tgz ] NOTE: SOMETIMES THE SUFFIX IS WRONG If not "*.tgz" rename it to *.tgz" 4] tar -zxvf qla2xxx.vx.yy.zz.dist.tgz 6] cd qlogic [/qla2xxx/qlogic] 7] ./drvrsetup 8] cd qla2xxx-x.yy.zz [ex: qla2xxx-8.01.04b6 ] 7] ./extras/build.sh new (both cleans & builds) TO LOAD DRIVERS MANUALLY: modprove -v qla2400 TO UNLOAD DRIVERS MANUALLY: modprobe -r qla2400 TO MAKE A RAMDISK IMAGE TO LOAD THE DRIVER: (assumes you've done steps 1 through 7) A] ./extras/build.sh install (installs .ko files) B] Edit /etc/modprobe.conf file and add these lines: alias scsi_hostadapter2 qla2xxx_conf # SANsurfer use only alias scsi_hostadapter3 qla2xxx # common module alias scsi_hostadapter4 qla2400 # for QLA24XX cards options qla2xxx ql2xfailover=0 options scsi_mod max_luns=255 # <<< NOT max_scsi_luns C] cd /boot D] cp -f initrd-2.6.[kernel version].img initrd-2.6.[kernel version].img.bak [ex: cp -f initrd-2.6.9-22.ELsmp initrd-2.6.9-22.ELsmp.bak ] E] mkinitrd -f initrd-2.6.[kernel_version].img [kernel_version] [ex: mkinitrd -f initrd-2.6.9-22.ELsmp 2.6.9-22.ELsmp ] F] reboot the system to load the RAMDISK image w/QLogic driver. SNIA API LIBRARY PACKAGE: (assumes you've done steps [1] through [7], above. 1] cd /qla2xxx/qlogic (you may already be there) 2] ./libinstall (installs/sets up HBA API library) TO UNINSTALL THE API LIBRARY: ./libremove YOU MUST DISABLE FAILOVER SUPPORT IN THE DRIVER: To disable in the modprobe.conf file, add this AFTER the driver: options qla2xxx qla2xxx ql2xfailover=0 TO MANUALLY DISABLE FAILOVER: insmod qla2xxx.ko ql2xfailover=0; insmod qla2400.ko I'M NOT SURE THAT THIS METHOD (ABOVE) REALLY WORKS IN RH. - David Woodsmall Copyright 2003-2017 by David R. Woodsmall http://www.woodsmall.com/