1752806 Members
5410 Online
108789 Solutions
New Discussion юеВ

rx6600 Linux HBA problem

 
SOLVED
Go to solution
MartyB
Frequent Advisor

rx6600 Linux HBA problem

Hello, I am testing RHEL4U5 on one of our rx6600 systems attached to a DMX, but I'm having trouble getting the system to see the presented LUN. I've already asked our DMX admin to double check all zoning/presentation setttings. I have been able to get the SCSI layer to see it:

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: DV-28E-N Rev: C.6C
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 03 Lun: 00
Vendor: HP Model: DG072ABAB3 Rev: HPD5
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: HP Model: DG072ABAB3 Rev: HPD5
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: EMC Model: SYMMETRIX Rev: 5771
Type: RAID ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: EMC Model: SYMMETRIX Rev: 5771
Type: RAID ANSI SCSI revision: 02

But I can't get a device assigned. I'm thinking it may be the driver, but I'm not sure. Any ideas? Here's some other info that may be relevant:

/var/log/messages:

Feb 29 18:22:51 host kernel: ACPI: PCI Interrupt 0000:0f:01.0[A] -> GSI 49 (level, low) -> IRQ 53
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Found an ISP2422, irq 53, iobase 0xc0000000b0040000
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Configuring PCI space...
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Configure NVRAM parameters...
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Verifying loaded RISC code...
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Allocated (1061 KB) for firmware dump...
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Waiting for LIP to complete...
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: LIP reset occured (f7f7).
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0: Cable is unplugged...
Feb 29 18:22:51 host kernel: scsi2 : qla2xxx
Feb 29 18:22:51 host kernel: qla2400 0000:0f:01.0:
Feb 29 18:22:51 host kernel: QLogic Fibre Channel HBA Driver: 8.01.04-d8
Feb 29 18:22:51 host kernel: QLogic HP AB378-60101 -
Feb 29 18:22:51 host kernel: ISP2422: PCI-X Mode 2 (133 MHz) @ 0000:0f:01.0 hdma+, host#=2, fw=4.00.23 [IP]
Feb 29 18:22:51 host kernel: ACPI: PCI Interrupt 0000:23:01.0[A] -> GSI 93 (level, low) -> IRQ 57
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Found an ISP2422, irq 57, iobase 0xc0000000f0040000
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Configuring PCI space...
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Configure NVRAM parameters...
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Verifying loaded RISC code...
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Allocated (1061 KB) for firmware dump...
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Waiting for LIP to complete...
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: LIP reset occured (f7f7).
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0: Cable is unplugged...
Feb 29 18:22:51 host kernel: scsi3 : qla2xxx
Feb 29 18:22:51 host kernel: qla2400 0000:23:01.0:
Feb 29 18:22:51 host kernel: QLogic Fibre Channel HBA Driver: 8.01.04-d8
Feb 29 18:22:51 host kernel: QLogic HP AB378-60101 -
Feb 29 18:22:52 host kernel: ISP2422: PCI-X Mode 2 (133 MHz) @ 0000:23:01.0 hdma+, host#=3, fw=4.00.23 [IP]
Feb 29 18:22:52 host kernel: device-mapper: 4.5.5-ioctl (2006-12-01) initialised: dm-devel@redhat.com


Thanks!
16 REPLIES 16
Ivan Ferreira
Honored Contributor
Solution

Re: rx6600 Linux HBA problem

If you already rebooted the server, then I had similar problems with a Solaris Host. After I changed a value in the HBA using QLogic SanSurfer, the LUNs where visible.

I don't remember exactly the value, but was something related to "publish any lun visible to host" instead of only those with persistend binding configured.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
MartyB
Frequent Advisor

Re: rx6600 Linux HBA problem

Thanks for the reply Ivan! I think this is what you're talking about, and I believe I already have the correct option enabled:

1: Present targets that are persistently bound plus
any new target(s) (Current)
2: Present targets that are persistently bound Only
3: Bind by World Wide Port Name (Current)
4: Bind by Port ID
5: Commit Changes for this HBA
6: Return to HBA Selection Menu

If you're referring to something else, please let me know!
skt_skt
Honored Contributor

Re: rx6600 Linux HBA problem

post "/etc/modprobe.conf"
skt_skt
Honored Contributor

Re: rx6600 Linux HBA problem

options qla2xxx ConfigRequired=0 ql2xfailover=0

ql2xfailover=0 is to facilitate HBA failover using the qlogic driver. ConfigRequired=0 says all the LUNS discovered in this system will be presented to the OS.
If this value is set to 1, only those LUNS specified in /etc/qla2xxx.conf will be visibile to the OS
MartyB
Frequent Advisor

Re: rx6600 Linux HBA problem

Santhosh, thanks for the tip! It appears my modprobe.conf is good, but here it is in case I'm missing something:

# cat /etc/modprobe.conf
alias scsi_hostadapter usb-storage
alias eth0 e1000
alias eth1 e1000
alias scsi_hostadapter2 mptbase
alias scsi_hostadapter3 mptscsi
alias scsi_hostadapter4 mptspi
alias scsi_hostadapter5 mptsas
alias scsi_hostadapter6 mptscsih
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
options scsi_mod max_luns=255
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; }
options qla2xxx ql2xfailover=0 ConfigRequired=0
alias scsi_hostadapter1 qla2xxx_conf
alias scsi_hostadapter7 qla2xxx
alias scsi_hostadapter8 qla2400
skt_skt
Honored Contributor

Re: rx6600 Linux HBA problem

we dont use the install and remove entry

root [/etc]cat modprobe.conf
alias eth0 tg3
alias eth1 tg3
alias scsi_hostadapter qla2xxx
alias scsi_hostadapter1 ips
alias scsi_hostadapter2 ata_piix
alias scsi_hostadapter3 qla2400
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
options scsi_mod max_luns=256
options qla2xxx ql2xfailover=0 ConfigRequired=0 ql2xprocessrscn=1
###BEGINPP
include /etc/modprobe.conf.pp
###ENDPP
MartyB
Frequent Advisor

Re: rx6600 Linux HBA problem

I went ahead and commented them out (and rebooted) hoping it'd help, but I'm still dead in the water.

Any other ideas out there??
skt_skt
Honored Contributor

Re: rx6600 Linux HBA problem

did u rebuld the initrd image(keep a backup)after the change in the modprobe.conf.

mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`After the initrd is rebuilt, reboot the system for the changes to take effect.
MartyB
Frequent Advisor

Re: rx6600 Linux HBA problem

Sorry for the late reply on this. Yes, when I installed the QLogic driver, it automatically rebuilt the initrd for me. Any other things I can try / look at?

Thanks!