General
cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling HP/Qlogic FibreChannel HBA drivers on Fedora Core 5

Christian Reiter
Frequent Advisor

Compiling HP/Qlogic FibreChannel HBA drivers on Fedora Core 5

Hi!

I have a problem compiling the HP supplied QLogic FibreChannel HBA drivers here on my Fedora Core 5 i386 System running on HP ProLiant BL35p Blade Server.

I am using the latest driver version from HP download page.

This is the output from the build process:

[root@oran hp_qla2x00]# ./INSTALL
Installing hp_qla2x00src RPM...

Preparing... ########################################### [100%]
Logfile is /var/log/hp_qla2x00_install.log
Getting list of QLA FC HBAs
No QLA FC HBAs found on system; proceeding with installation
1:hp_qla2x00src ########################################### [100%]
No driver loaded, using failover mode
Writing new /etc/hp_qla2x00.conf...done
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.16-1.2133_FC5/kernel/drivers/scsi/qla2xxx
Kernel build directory: /lib/modules/2.6.16-1.2133_FC5/build

Failover already enabled in /lib/modules/2.6.16-1.2133_FC5/build/.config

make clean
make: Entering directory `/usr/src/kernels/2.6.16-1.2133_FC5-i686'
make: Leaving directory `/usr/src/kernels/2.6.16-1.2133_FC5-i686'

make -j5 -C /lib/modules/2.6.16-1.2133_FC5/build M=/opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03 modules
make: Entering directory `/usr/src/kernels/2.6.16-1.2133_FC5-i686'
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2100.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2200.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2200_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2100_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2300.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2300_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2322.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2322_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2400.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/qla_os.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/ql2400_fw.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/qla_init.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/qla_mbx.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/qla_iocb.o
CC [M] /opt/hp/src/hp_qla2x00src/qla2xxx-8.01.03/qla_isr.o
make: Leaving directory `/usr/src/kernels/2.6.16-1.2133_FC5-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%]
1:fibreutils ########################################### [100%]
[root@oran hp_qla2x00]#



As you can see building the drivers fails with the two messages
Driver build failed! / Driver build unsuccessful

I've also tried the drivers direct from Qlogic but they also fail to compile.

Can anybody help me get failover running on Fedora Core 5?

Thanks in advance!!!

christian reiter
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Compiling HP/Qlogic FibreChannel HBA drivers on Fedora Core 5

Shalom Chris,

You may need to wait for HP to change the code to make it work with Fedora Core 5. I don't recall FC5 being listed as one of the supported OS for Qlogic.

It seems apparent that either the code needs to change or the compiler needs to change.

Perhaps try compiling the drivers on a box with the supported OS.

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
Alan_152
Honored Contributor

Re: Compiling HP/Qlogic FibreChannel HBA drivers on Fedora Core 5

Instead of compiling, try installing the driver binary rpm for red hat 4.
Christian Reiter
Frequent Advisor

Re: Compiling HP/Qlogic FibreChannel HBA drivers on Fedora Core 5

Installing the binary won't work, as fedora doesn't use the same kernel release as RHEL.

chris