Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

I can't install QLogic HBA driver

Avatar_1
Occasional Contributor

I can't install QLogic HBA driver

I'm reading this is quide: http://h50146.www5.hp.com/products/software/oe/linux/mainstream/suppo
rt/doc/option/fibre/pdfs/c00169487-2005may.pdf


[root@localhost hp_qla2x00src]# cd /opt/hp/src/hp_qla2x00src
[root@localhost hp_qla2x00src]# ./master.sh
Kernel modules directory: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/qla2xxx
Kernel build directory: /lib/modules/2.6.9-42.ELsmp/build

Failover already enabled in /lib/modules/2.6.9-42.ELsmp/build/.config

make clean
make: Entering directory `/usr/src/kernels/2.6.9-42.EL-smp-i686'
CLEAN /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02
CLEAN /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/.tmp_versions
make: Leaving directory `/usr/src/kernels/2.6.9-42.EL-smp-i686'

make -C /lib/modules/2.6.9-42.ELsmp/build M=/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02 modules
make: Entering directory `/usr/src/kernels/2.6.9-42.EL-smp-i686'
scripts/Makefile.build:19: kbuild: /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2100.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2100_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2200.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2200_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2300.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2300_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2322.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql2322_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_os.o
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_os.c: In function `qla2x00_module_exit':
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_os.c:5141: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:572)
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_init.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_mbx.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_iocb.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_isr.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_gs.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_dbg.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_sup.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_rscn.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_xioct.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_inioct.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_fo.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_foln.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_cfg.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_cfgln.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla_32ioctl.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql6312.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/ql6312_fw.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2100.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2200.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2300.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2322.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla6312.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.o
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.c: In function `conf_init':
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.c:41: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:567)
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.c: In function `conf_exit':
/opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.c:47: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:568)
HOSTCC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/extras/qla_nvr
HOSTCC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/extras/qla_opts
Building modules, stage 2.
MODPOST
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2100.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2100.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2200.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2200.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2300.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2300.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2322.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2322.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla2xxx_conf.ko
CC /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla6312.mod.o
LD [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.00.02/qla6312.ko
make: Leaving directory `/usr/src/kernels/2.6.9-42.EL-smp-i686'

Copying qla2xxx.ko to /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/qla2xxx
Copying qla2300.ko to /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/qla2xxx
Copying qla6312.ko to /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/qla2xxx
Copying qla2xxx_conf.ko to /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/qla2xxx
Running depmod -a

adding line to /etc/modprobe.conf: alias scsi_hostadapter1 qla2xxx_conf
adding line to /etc/modprobe.conf: alias scsi_hostadapter2 qla2300
adding line to /etc/modprobe.conf: alias scsi_hostadapter3 qla6312
adding line to /etc/modprobe.conf: options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1

Creating new initrd - HP-initrd-2.6.9-42.ELsmp.img
[root@localhost hp_qla2x00src]# ./master.sh -l
Kernel source directories available:


Kernel module directories available:

2.6.9-42.EL
2.6.9-42.ELhugemem
2.6.9-42.ELsmp
[root@localhost hp_qla2x00src]# ls
build_driver.rh compile_all_kernels libqlsdm-ia32.so make_initrd qla2xxx-8.00.02 README scsi_patch_sles9.bin set_parm2
build_driver.suse edit_conf libqlsdm-ia64.so master.sh qla2xxx-src-v8.00.02.tar readme.libqlsdm set_parm toggle_debug_flag
[root@localhost hp_qla2x00src]# master.sh -s linux-2.6.9-42.EL -m linux-2.6.9-42.ELsmp
-bash: master.sh: command not found

Help me! What should I do next?