System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

emulex card driver install/config in centos

Andrew medhurst1
Frequent Advisor

emulex card driver install/config in centos

guys i am having a problem in that i am not familiar with emulex cards and when i do a lspci i get
43:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
which leads me to think that the drivers are not installed as i cannot see any ports shown.
the server is running centos 3.8 and the kernel version is 2.4.21-47.
tried to install this driver lpfc_2.4_driver_kit-7.3.6-2
is it just that it needs adding to initrd.
regards
andrew
5 REPLIES
Ivan Krastev
Honored Contributor

Re: emulex card driver install/config in centos

Yes, the lpfc driver tries to install itself into new initrd image to load at startup. There is no problem with that. If you need to setup multipath search for HPDMmultipath software.

regards,
ivan
Andrew medhurst1
Frequent Advisor

Re: emulex card driver install/config in centos

sorry not making myself clear, is there a way to check if the driver is installed, i don't believe it is but when i try and install driver listed before it errors
Emulex LPFC Driver Installer Version 509
Determining distribution type and kernel version ...
Checking for old Emulex driver ...
Looking for kernel source ...
Looking for compilers ...
RPM cannot be installed: kernel version could not be determined.
so i am trying to determin ifn it is installed and if not why the error, as far as i can tell driver i have tried to load is correct.
regards
Andrew
Ivan Krastev
Honored Contributor

Re: emulex card driver install/config in centos

Check for module in the kernel:
#lsmod | grep lpfc
lpfc 352909 672

Check this script - /opt/hp/hp-lpfc/compile_all_kernels for current supported versions of the kernel.

regards,
ivan
Andrew medhurst1
Frequent Advisor

Re: emulex card driver install/config in centos

module not loaded directory does not exist /etc/version list 3.8 and uname -r gives kernel of 2.4.21-47.
and the driver install came from emulex site and lists driver as being for version 3.6-3.9
so still stuck i have been going through the install script and it seems that the files that the install is looking for don't exist in centos ?
regards
Andrew
Andrew medhurst1
Frequent Advisor

Re: emulex card driver install/config in centos

i have found the line in the script that fails and any help getting this succsessfull would help.
KERNELVERSION=$(rpm -qf ${KERNEL_IMAGE_PATH} --qf %{VERSION}-%{RELEASE})
it works up to KERNEL_IMAGE_PATH but after that fails.
regards
Andrew