Operating System - Linux
1829584 Members
1307 Online
109992 Solutions
New Discussion

RHEL AS 4 update3 and EVA4000

 
Sunil Kumar K.U.
Frequent Advisor

RHEL AS 4 update3 and EVA4000

Hello All,

Recently I started a project where HP Blade servers (bl25p with AMD CPU's) running RHEL AS4 will connect to SAN (EVA4000 via 2HBA's and 2 FC switches) and access the storage.

The OS is up and running and Qlogic driver is loaded (from Proliant Support Pack 7.51). The system was seeing a LUN in EVA as 4 different drives.

To have multipathing enabled, I downloaded hp_qla2x00-2005-09-19.tar.qz from HP site and was trying load it in the systems. I am getting the below message during install (by execusting ./INSTALL).

hp_qla2x00src installation session started: Sun Jun 25 02:59:54 GST 2006

* Starting third party storage detection
* All Storage is HP Storage. Proceeding with installation
* Starting driver build
* Driver build failed

hp_qla2x00src installation session finished: Sun Jun 25 02:59:59 GST 2006

The installation doesn't get through and the system still sees a LUN via 4 paths. Has anyone faced similar problems? All suggestions are appreciated.

Thanks in advance,
Sunil Kumar K.U.
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: RHEL AS 4 update3 and EVA4000

Shalom Sunil,

I'd suggest you install a hp add in for disk storage called san surfer. It might be able to help you clear this up.

Also, the GUI workstation that came with the EVA, does it show the disk the way you expect it to be?

Also, make sure the fireware on the fiber switch if any is current.

It could be a lot of things, you'll need to play detective to work out.

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
Sunil Kumar K.U.
Frequent Advisor

Re: RHEL AS 4 update3 and EVA4000

Hello Steven,

The SMS (storage management server) sees the LUN properly.
Where do I download san surfer from? I have already installed hp_fibreutils along with the qla driver and am able to see the 4 paths to a lun by doing a lun_probe.

What are the pre-requisites for installing the qla driver- is it only the kernel sources and gcc?

I will have a look at the FC s/w (HP 4/32 switch)firmwares again.

Thanks in advance
Stuart Browne
Honored Contributor

Re: RHEL AS 4 update3 and EVA4000

The quick guess (without seeing any further logs or errors) is that the machine you're trying to install this update on doesn't have the kernel source on it, thus it's failing to build the new qla module.

Does the machine you're building this new driver on have the kernel source?
One long-haired git at your service...
Sunil Kumar K.U.
Frequent Advisor

Re: RHEL AS 4 update3 and EVA4000

Hello Stuart,

The system has the kernel source istalled. Pls find below the #rpm -qa |grep kernel o/p:
kernel-utils-2.4-13.1.80
kernel-largesmp-devel-2.6.9-34.EL
kernel-smp-2.6.9-34.EL
kernel-2.6.9-34.EL
kernel-devel-2.6.9-34.EL
kernel-smp-devel-2.6.9-34.EL

The install error is attached.

Any clue what is going wrong here?

Thanks/Regards
Sunil
Thomas J. Harrold
Trusted Contributor

Re: RHEL AS 4 update3 and EVA4000

Kernel source used to be in a package called "kernel-source".

Make sure that is installed, and in the expected location.

-tjh
I learn something new everyday. (usually because I break something new everyday)
Sunil Kumar K.U.
Frequent Advisor

Re: RHEL AS 4 update3 and EVA4000

Hello Thomas,

From Redhat documents we found out that there is no more kernel0source package available for RHEL AS4. Instead all the kernel references are avialable in Kernel-devel package. This is currently installed in the system.

To get a detailed error deatils i tried to complie and build the driver by using
# rpmbuild -bb hp_qla2x00.spec

and below is the error. Any idea what is wrong here?

root@VAS2 SPECS]# rpmbuild -bb hp_qla2x00.spec
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.90668
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' '' '!=' '' ']'
++ uname -r
+ KERNELVERSION=2.6.9-34.ELsmp
+ rm -fr /usr/src/redhat/BUILD/hp_qla2x00
+ gunzip /usr/src/redhat/SOURCES/hp_qla2x00.tar.gz
+ tar xvf /usr/src/redhat/SOURCES/hp_qla2x00.tar
hp_qla2x00/
hp_qla2x00/readme.libqlsdm
hp_qla2x00/qla2xxx-8.01.03-p5/
hp_qla2x00/qla2xxx-8.01.03-p5/Makefile
hp_qla2x00/qla2xxx-8.01.03-p5/qlfolimits.h
hp_qla2x00/qla2xxx-8.01.03-p5/ql2322_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_settings.h
hp_qla2x00/qla2xxx-8.01.03-p5/ql2200_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_fo.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_fo.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_fw.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_gs.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_ip.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_ip.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_os.c
hp_qla2x00/qla2xxx-8.01.03-p5/release.txt
hp_qla2x00/qla2xxx-8.01.03-p5/ql6312_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/Kconfig
hp_qla2x00/qla2xxx-8.01.03-p5/qla_32ioctl.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_32ioctl.h
hp_qla2x00/qla2xxx-8.01.03-p5/exioctln.h
hp_qla2x00/qla2xxx-8.01.03-p5/qlfoln.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_foln.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_foln.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfg.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfg.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_dbg.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_dbg.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_def.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_gbl.h
hp_qla2x00/qla2xxx-8.01.03-p5/extras/
hp_qla2x00/qla2xxx-8.01.03-p5/extras/Makefile.kernel
hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_dmp.sh
hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_nvr.c
hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts.c
hp_qla2x00/qla2xxx-8.01.03-p5/extras/build.sh
hp_qla2x00/qla2xxx-8.01.03-p5/extras/Kconfig.kernel
hp_qla2x00/qla2xxx-8.01.03-p5/qla_isr.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_init.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_iocb.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_mbx.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2400_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_sup.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfg.c.orig
hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfgln.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_devtbl.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_opts.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_rscn.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2100.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2200.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2300.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2322.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql2400.c
hp_qla2x00/qla2xxx-8.01.03-p5/qlfo.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_xioct.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_inioct.c
hp_qla2x00/qla2xxx-8.01.03-p5/ql6312.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_inline.h
hp_qla2x00/qla2xxx-8.01.03-p5/ql2100_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla_listops.h
hp_qla2x00/qla2xxx-8.01.03-p5/revision.notes
hp_qla2x00/qla2xxx-8.01.03-p5/inioct.h
hp_qla2x00/qla2xxx-8.01.03-p5/ql2300_fw.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla2xip.c
hp_qla2x00/qla2xxx-8.01.03-p5/qla2xip.h
hp_qla2x00/qla2xxx-8.01.03-p5/exioct.h
hp_qla2x00/qla2xxx-8.01.03-p5/qla_version.h
hp_qla2x00/build_driver.rh
hp_qla2x00/VERSIONFILE
hp_qla2x00/README
hp_qla2x00/set_parm2
hp_qla2x00/edit_conf
hp_qla2x00/libqlsdm-ia32.so
hp_qla2x00/libqlsdm-ia64.so
hp_qla2x00/libqlsdm-x86_64.so
hp_qla2x00/set_parm
hp_qla2x00/unload.sh
hp_qla2x00/make_initrd
hp_qla2x00/build_driver.suse
+ cd hp_qla2x00
+ test -f /etc/redhat-release
+ ./build_driver.rh -m 2.6.9-34.ELsmp
Kernel build directory: /lib/modules/2.6.9-34.ELsmp/build

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

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

make -j5 -C /lib/modules/2.6.9-34.ELsmp/build M=/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5 modules
make: Entering directory `/usr/src/kernels/2.6.9-34.EL-smp-x86_64'
scripts/Makefile.build:19: kbuild: /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2100.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2100_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2200.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2200_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2300.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2300_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2322.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2322_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2400.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql2400_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_os.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_init.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_mbx.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_iocb.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_isr.o
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_os.c: In function `qla2x00_cleanup_module_exit':
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_os.c:5480: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:572)
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_gs.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_dbg.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_sup.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_rscn.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_xioct.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_inioct.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_fo.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_foln.o
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_fo.c: In function `qla2x00_fo_set_params':
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_fo.c:2219: warning: comparison is always false due to limited range of data type
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfg.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_cfgln.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_32ioctl.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla_ip.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql6312.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/ql6312_fw.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.o
CC [M] /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xip.o
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.c: In function `conf_init':
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.c:41: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:567)
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.c: In function `conf_exit':
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xxx_conf.c:47: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:568)
HOSTCC /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_nvr
In file included from /usr/include/errno.h:36,
from /usr/include/sys/errno.h:1,
from /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_nvr.c:24:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
HOSTCC /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h:122,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h:11,
from /usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts.c:16:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts.c:200: error: `PATH_MAX' undeclared here (not in a function)
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xip.c:61: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/qla2xip.c:67: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts.c:200: error: storage size of `def_module_path' isn't known
/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts.c:201: error: storage size of `module_name' isn't known
make[1]: *** [/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_opts] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5/extras/qla_nvr] Error 1
make: *** [_module_/usr/src/redhat/BUILD/hp_qla2x00/qla2xxx-8.01.03-p5] Error 2
make: Leaving directory `/usr/src/kernels/2.6.9-34.EL-smp-x86_64'

Driver build failed!
error: Bad exit status from /var/tmp/rpm-tmp.90668 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.90668 (%build)

Sunil Kumar K.U.
Frequent Advisor

Re: RHEL AS 4 update3 and EVA4000

Hello All,

Looks like not many people have this combination of equipments/operating system.

SEP: I confirmed the switch firmware is current (ie, v5.0.1b)

Stuart & Thomas: I believe the kernel source is installed in the system (since kernel-devel-2.6.9-34.EL is installed.); correct me if I am wrong.

One more update: I tried to installed the latest driver (hp_qla2x00-2006-04-14.tar) downloaded from hp site. But it fails with exactly the same error.

I am sure, there is something missing in the system. Anybody here has a clue? Kindly help by giving your valuable inputs.

Thanks in advance for the replies.

Regards/Sunil Kumar
Sunil Kumar K.U.
Frequent Advisor

Re: RHEL AS 4 update3 and EVA4000

Hello All,

Looks like the proliant support pack was modifying some files(?). Did a fresh install of the OS, installed the qla driver downloaded from HP site and mulipathing is working fine now.

Thanks every one for your help.

Regards/Sunil Kumar