Bug 61132

Summary: hampton b2: qlogic drivers only detect one volume
Product: [Retired] Red Hat Linux Reporter: Wendy Hung <wendyh>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-25 19:54:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/proc/scsi/scsi from machine with qla2300 and attached storage (host scsi2) none

Description Wendy Hung 2002-03-13 23:46:44 UTC
The qla2200 and qla2300 drivers included in the Hampton Beta2 are only 
detecting one volume when loaded, but the enclosures 
we are using are set up with multiple volumes (one has two volumes 
and the other has three).

Comment 1 Wendy Hung 2002-03-22 17:46:52 UTC
Also seen in Pensacola Beta2.

Fix is to enable the "probe all LUNs on each SCSI device" option 
(CONFIG_SCSI_MULTI_LUN) and recompile the kernel. This option is not enabled by 
default in Red Hat (apparently it can cause problems in some cases).
However, this may be an issue for support since the user must
perform a kernel compilation.




Comment 2 Arjan van de Ven 2002-03-22 18:04:52 UTC
I think you have been slightly misinformed. That option is ALSO a runtime
option. In addition the scsi layer has a whitelist of good devices where it
ALWAYS will scan all luns. If you can get me the output of "cat /proc/scsi/scsi"
on a machine with the "offending" device I can add the scsi device to this
whitelist.

Comment 3 Don Smith 2002-03-22 21:29:26 UTC
Created attachment 49766 [details]
/proc/scsi/scsi from machine with qla2300 and attached storage (host scsi2)

Comment 4 Don Smith 2002-03-22 21:31:25 UTC
How do you enable the runtime option for multiple LUNs?

Comment 5 Arjan van de Ven 2002-03-22 22:21:52 UTC
Thanks for the ident; I've added it to my trees.
How to do it at runtime:
add

options scsi_mod max_scsi_luns=128

to the /etc/modules.conf file and then recreate the initrd (or remove and
install the kernel). see "man initrd" for info on how to recreate an initrd
simple.

Comment 6 Wendy Hung 2002-03-25 19:51:15 UTC
Will this ident be included in the whitelist for Hampton Beta4?
Pensacola?  or will the runtime option have to be used?

Comment 7 Arjan van de Ven 2002-03-25 19:54:20 UTC
It's in pensacola already and on my list of id's to add for hampton.
(there's a few more and I rather do them in one go; saves time ;)

Comment 8 Arjan van de Ven 2002-03-28 10:30:56 UTC
Ok should be fixed.

Comment 9 Wendy Hung 2002-04-09 18:41:50 UTC
Not fixed in beta 4 - still had to add the scsi_mod options to see all LUNs.  
Will there be another beta drop available before the Gold Masters cut?


Comment 10 Arjan van de Ven 2002-04-09 18:47:35 UTC
Ah bah. typo.
Will be fixed in the 2.4.18-0.19 kernel which will be in rawhide tomorrow


Comment 11 Wendy Hung 2002-04-11 15:56:41 UTC
Can you confirm that the device is in the whitelist in Pensacola-re0328 (2.4.9-
26.53beta kernel)?  I've gotten reports that the user still must add the 
scsi_mod options to see all LUNs.

Comment 12 Arjan van de Ven 2002-04-11 15:59:05 UTC
pensacola is a whole different beast; will look into