Operating System - Linux
1825803 Members
2669 Online
109687 Solutions
New Discussion

Re: Qlogic Linux MPIO *help*

 
Monikvm
Occasional Advisor

Qlogic Linux MPIO *help*

Hi,
When I try to install the Qlogic driver, and configure failover. I got the following errors

[root@sapids hp_qla2x00-2006-10-11]# ./INSTALL -f
Writing new /etc/hp_qla2x00.conf...done
Installing hp_qla2x00src RPM...

Preparing... ########################################### [100%]
Logfile is /var/log/hp_qla2x00_install.log
Getting list of QLA FC HBAs
Getting list of SCSI adapters and Vendor IDs
Producing list of SCSI adapters and Vendor IDs that are FCP adapters
Checking Vendor IDs
All Storage is HP Storage. Proceeding with installation
1:hp_qla2x00src ########################################### [100%]
/etc/hp_qla2x00.conf already exists. Using parameters in the current file.
Copying /opt/hp/src/hp_qla2x00src/libqlsdm-ia32.so to /usr/lib/libqlsdm.so
Modifying /etc/hba.conf
Kernel modules directory: /lib/modules/2.6.9-5.ELsmp/kernel/drivers/scsi/qla2xxxKernel build directory: /lib/modules/2.6.9-5.ELsmp/build

Enabling failover in /lib/modules/2.6.9-5.ELsmp/build/.config
Enabling failover failed

make clean
make: Entering directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
make: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'

make -j5 -C /lib/modules/2.6.9-5.ELsmp/build M=/opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06 modules
make: Entering directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2100.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2100_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2200.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2200_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2300.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2300_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2322.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2322_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2400.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/ql2400_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_os.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_init.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_mbx.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_iocb.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_isr.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_gs.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_dbg.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_sup.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_rscn.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_attr.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_xioct.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_inioct.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_fo.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_foln.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_cfg.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_cfgln.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_32ioctl.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla_ip.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla2xxx_conf.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/qla2xip.o
HOSTCC /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.06/extras/qla_nvr
make: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'

Driver build failed!

Driver build unsuccessful

Making symbolic link from /opt/hp/src/hp_qla2x00src/master.sh to /usr/sbin/hp_compile_qldriver
qla2x00 driver source can be found in /opt/hp/src/hp_qla2x00src

Installing fibreutils...

Preparing... ########################################### [100%]
package fibreutils-2.1-5 is already installed
[root@sapids hp_qla2x00-2006-10-11]#

..............................................................

I try to modify set_parm, and I got this.
queue depth [16]:
port down retry count [30]:
login retry count [30]:
failover [1]:
load balancing type [1]: 0
auto restore flags [0x80]:
Writing new /etc/hp_qla2x00.conf...done
adding line to /etc/modprobe.conf: alias scsi_hostadapter1 qla2xxx_conf
adding line to /etc/modprobe.conf: alias scsi_hostadapter2 qla2xxx
adding line to /etc/modprobe.conf: alias scsi_hostadapter3 qla2300
adding line to /etc/modprobe.conf: alias scsi_hostadapter4 qla2400
adding line to /etc/modprobe.conf: options qla2xxx ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xlbType=0 ql2xautorestore=0x80
Adding "remove qla2xxx" line to /etc/modprobe.conf

Would you like to create a new initrd to reflect the changes in the parameters (Y/n)? Y
Creating new initrd - HP-initrd-2.6.9-5.ELsmp.img
No module qla2xxx_conf found for kernel 2.6.9-5.ELsmp, aborting.

mkinitrd failed

IF I SAW THE LUN´S I FIND DUPLICATE DISK.

THANKS IN ADVANCED
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: Qlogic Linux MPIO *help*

Shalom,

What you might be seeing is an alternate path, e.g. two paths to the same disk.

The way you wired your san could be the issue.

Some of this stuff is a bit freaky and I'll look into it later.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com