Operating System - Linux
1752660 Members
5995 Online
108788 Solutions
New Discussion

QLogic qle2562 on RHEL 5.3

 
seighalani
Occasional Contributor

QLogic qle2562 on RHEL 5.3

 

hi everyone

 

i installed  RHEL 5.3 x86_64  on HP DL580 . i have a qlogic  QLE2562 on it and it doesnt work. i think there is a problem on driver. my hp_rescan  -a  doesnt work and there isnt any output.  i installed qla2xxx-v8.02.23_4.dist.tgz driver from qlogic website for rhel 5.3 .   thanks in advance

this is my output from linux:

 

lspci for qlogic card:

1c:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
1c:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
____

[root@db1back ~]# lsmod |grep qla
qla2xxx              1134884  0
qla2xxx_conf          335368  0
intermodule            37764  1 qla2xxx_conf
scsi_transport_fc      73801  1 qla2xxx
scsi_mod              196569  8 scsi_dh,sr_mod,sg,qla2xxx,scsi_transport_fc,libata,cciss,sd_mod
[root@db1back ~]#


__
[root@db1back ~]# modinfo qla2xxx
filename:       /lib/modules/2.6.18-128.el5/extra/qlgc-qla2xxx/qla2xxx.ko
version:        8.03.00.09.05.04-k
license:        GPL
description:    QLogic Fibre Channel HBA Driver
author:         QLogic Corporation
srcversion:     D20F01754DC66981ECF67C1
alias:          pci:v00001077d00008001sv*sd*bc*sc*i*
alias:          pci:v00001077d00002532sv*sd*bc*sc*i*
alias:          pci:v00001077d00005432sv*sd*bc*sc*i*
alias:          pci:v00001077d00005422sv*sd*bc*sc*i*
alias:          pci:v00001077d00008432sv*sd*bc*sc*i*
alias:          pci:v00001077d00002432sv*sd*bc*sc*i*
alias:          pci:v00001077d00002422sv*sd*bc*sc*i*
alias:          pci:v00001077d00006322sv*sd*bc*sc*i*
alias:          pci:v00001077d00006312sv*sd*bc*sc*i*
alias:          pci:v00001077d00002322sv*sd*bc*sc*i*
alias:          pci:v00001077d00002312sv*sd*bc*sc*i*
alias:          pci:v00001077d00002300sv*sd*bc*sc*i*
alias:          pci:v00001077d00002200sv*sd*bc*sc*i*
alias:          pci:v00001077d00002100sv*sd*bc*sc*i*
depends:        scsi_mod,scsi_transport_fc
vermagic:       2.6.18-128.el5 SMP mod_unload gcc-4.1
parm:           ql2xlogintimeout:Login timeout value in seconds. (int)
parm:           qlport_down_retry:Maximum number of command retries to a port that returns a PORT-DOWN status. (int)
parm:           ql2xplogiabsentdevice:Option to enable PLOGI to devices that are not present after a Fabric scan.  This is needed for several broken switches. Default is 0 - no PLOGI. 1 - perfom PLOGI. (int)
parm:           ql2xloginretrycount:Specify an alternate value for the NVRAM login retry count. (int)
parm:           ql2xallocfwdump:Option to enable allocation of memory for a firmware dump during HBA initialization.  Memory allocation requirements vary by ISP type.  Default is 1 - allocate memory. (int)
parm:           ql2xextended_error_logging:Option to enable extended error logging, Default is 0 - no logging. 1 - log errors. (int)
parm:           ql2xdevdiscgoldfw:Option to enable device discovery with golden firmware Applicable to ISP81XX based CNA only. Default is 0 - no discovery. 1 - discover device. (int)
parm:           ql2xfdmienable:Enables FDMI registratons Default is 0 - no FDMI. 1 - perfom FDMI. (int)
parm:           ql2xmaxqdepth:Maximum queue depth to report for target devices. (int)
parm:           ql2xqfulltracking:Controls whether the driver tracks queue full status returns and dynamically adjusts a scsi device's queue depth.  Default is 1, perform tracking.  Set to 0 to disable dynamic tracking and adjustment of queue depth. (int)
parm:           ql2xqfullrampup:Number of seconds to wait to begin to ramp-up the queue depth for a device after a queue-full condition has been detected.  Default is 120 seconds. (int)
parm:           ql2xenablemsix:Set to enable MSI-X interrupt mechanism. (int)


_______

[root@db1back ~]# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter cciss
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 qla2xxx

install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
#alias qla2100 qla2xxx
#alias qla2200 qla2xxx
#alias qla2300 qla2xxx
#alias qla2322 qla2xxx
#alias qla2400 qla2xxx

_____
[root@db1back ~]# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter cciss
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 qla2xxx

install qla2xxx /sbin/modprobe qla2xxx_conf; /sbin/modprobe --ignore-install qla2xxx
remove qla2xxx /sbin/modprobe -r --first-time --ignore-remove qla2xxx && { /sbin/modprobe -r --ignore-remove qla2xxx_conf; }
#alias qla2100 qla2xxx
#alias qla2200 qla2xxx
#alias qla2300 qla2xxx
#alias qla2322 qla2xxx
#alias qla2400 qla2xxx
[root@db1back ~]# ls /sys/class/fc_host/host
host2/ host3/
[root@db1back ~]# ls /sys/class/fc_host/host2/
device/            node_name          port_state         statistics/        supported_speeds   tgtid_bind_type
fabric_name        port_id            port_type          subsystem/         symbolic_name      uevent
issue_lip          port_name          speed              supported_classes  system_hostname
[root@db1back ~]# ls /sys/class/fc_host/host2/port_name
/sys/class/fc_host/host2/port_name
[root@db1back ~]# cat  /sys/class/fc_host/host2/port_name
0x5001438018695258
[root@db1back ~]# cat  /sys/class/fc_host/host3/port_name
0x500143801869525a

 

#  hp_rescan   -a

adding legacy  tape devices  to /proc/scsi/device_info

 

#hp_rescan  -l

QLogic  adapters :   


 

[root@db1back ~]# rpm -qa |grep -i qla
qla2xxx-v8.02.23-3
hp_qla2x00src-8.01.07.25.02-1
[root@db1back ~]# rpm -qi qla2xxx-v8.02.23-3
Name : qla2xxx Relocations: (not relocatable)
Version : v8.02.23 Vendor: QLogic Corporation
Release : 3 Build Date: Tue 12 May 2009 11:17:29 AM IRDT
Install Date: Wed 03 Oct 2012 05:52:59 PM IRST Build Host: localhost.localdomain
Group : System Environment/Kernel Source RPM: qla2xxx-v8.02.23-3.src.rpm
Size : 6101913 License: GPL
Signature : (none)
Packager : Ravi Anand. Initial release by Gary Lerhaupt <gary_lerhaupt@dell.com>
Summary : QLogic FC HBA Driver
Description :
This package contains QLogic's driver sources to build and install
the driver modules and SDM library on Kernel version 2.6 and above
[root@db1back ~]# rpm -qi hp_qla2x00src-8.01.07.25.02-1
Name : hp_qla2x00src Relocations: (not relocatable)
Version : 8.01.07.25.02 Vendor: Hewlett-Packard Company
Release : 1 Build Date: Tue 07 Oct 2008 06:05:12 PM IRST
Install Date: Wed 03 Oct 2012 12:06:20 PM IRST Build Host: dolt.usa.hp.com
Group : System Environment/Kernel Source RPM: hp_qla2x00src-8.01.07.25.02-1.src.rpm
Size : 7177627 License: proprietary
Signature : (none)
Packager : Hewlett-Packard Company
URL : http://www.hp.com
Summary : Scripted RPM for HP supported QLogic HBA driver
Description :
This is a scripted RPM to install the HP supported QLogic driver. This RPM
will build the QLogic driver from source during the postinstall section of the
RPM install. To do any subsequent builds you can use the master.sh script in the
/opt/hp/src/hp_qla2x00src directory.

Supported distributions:

* Red Hat Enterprise Linux 5
* Red Hat Enterprise Linux 4
* SUSE Linux Enterprise Server 10
* SUSE Linux Enterprise Server 9

Supported architectures:

* i386
* x86_64
* ia64