Operating System - Linux
1830734 Members
1807 Online
110015 Solutions
New Discussion

Kernel Panic on QLogic Fibre HBA

 
Phil Daws_5
Occasional Advisor

Kernel Panic on QLogic Fibre HBA

Hi,

we are experiencing a problem with one of our DL585 servers where every so often it a failing with a Kernel Panic Exception. On checking the console it reports a stack trace from the qla2300 module when reading a fibre attached tape drive. I have checked on Google and have found some reference to this where people have increased the max queue depth from 16 to 64 which has cured the problem.

What I would like to understand though is whether I have actually enabled this. In my modules.conf I have the following settings :-

options qla2300 ConfigRequired=0 displayConfig=1 ql2xuseextopts=1 ql2xmaxqdepth=64 qlport_down_retry=64 qlogin_retry_count=16 ql2xfailover=1 ql2xlbType=0 ql2xexcludemodel=

I have checked /var/log/messages and I cannot see what options have been loaded to the module but the SCSI devices report :-

Nov 14 22:37:03 skprod2 kernel: scsi(0:0:0:0): Enabled tagged queuing, queue depth 16.
Nov 14 22:37:03 skprod2 kernel: scsi(0:0:1:0): Enabled tagged queuing, queue depth 16.
Nov 14 22:37:03 skprod2 kernel: scsi(0:0:2:0): Enabled tagged queuing, queue depth 16.
Nov 14 22:37:03 skprod2 kernel: scsi(0:0:3:0): Enabled tagged queuing, queue depth 16.
Nov 14 22:37:03 skprod2 kernel: scsi(0:0:3:1): Enabled tagged queuing, queue depth 16.

How can I ensure that the correct options are being loaded? Is there potentially another problem here? The cards check out as working okay.

I am using the following driver http://h18004.www1.hp.com/support/files/server/us/download/23175.html

on cards :-

05:0d.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
Subsystem: QLogic Corp.: Unknown device 0100
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 32
I/O ports at 6000 [size=256]
Memory at f7ef0000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at [disabled] [size=128K]
Capabilities: [44] Power Management version 2
Capabilities: [4c] PCI-X non-bridge device.
Capabilities: [54] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Capabilities: [64] #06 [0080]

06:0e.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev 02)
Subsystem: QLogic Corp.: Unknown device 0100
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 36
I/O ports at 7000 [size=256]
Memory at f7ff0000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at [disabled] [size=128K]
Capabilities: [44] Power Management version 2
Capabilities: [4c] PCI-X non-bridge device.
Capabilities: [54] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Capabilities: [64] #06 [0080]

TIA
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Kernel Panic on QLogic Fibre HBA

Do you have the qlogic gui that ships with the card? It should have a screen for verifying you r settings are working.

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
Phil Daws_5
Occasional Advisor

Re: Kernel Panic on QLogic Fibre HBA

I have used the HPSanSurfer and it all checks out okay.
Alan_152
Honored Contributor

Re: Kernel Panic on QLogic Fibre HBA

What kernel are you running? I have run into situations where the current HBA driver set isn't compatible with some older kernels...