Bug 102482 - usb-storeage hang when CONFIG_SCSI_MULTI_LUN selected
Summary: usb-storeage hang when CONFIG_SCSI_MULTI_LUN selected
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: ia64
OS: Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-08-15 19:35 UTC by ChenLi Tien
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2003-08-25 15:46:46 UTC

Attachments (Terms of Use)

Description ChenLi Tien 2003-08-15 19:35:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ia64; en-US; rv:1.4) Gecko/20030709

Description of problem:
This bug found on both IA64 and i386 platform.

I install the usb-storage for a 6-in-1 card reader, if CONFIG_SCSI_MULTI_LUN not
selected, then only one SCSI device can run but it work. If
CONFIG_SCSI_MULTI_LUN selected, then the system hang up after the driver loaded,
the driver initialization seems completed.

I already try the official linux kernel 2.4.21 without this problem.
Already tried RedHat kernel 2.4.21-1.1931.2.349.2.2.ent and
2.4.21-1931.2.389.ent, both failed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Use 'make menuconfig' to turn on CONFIG_SCSI_MULTI_LUN
2.Select USB storage driver as module.
3.Build new driver and new kernel
4.Use new driver and kernel.
5.After loading driver, system will hang, if not, it will after mounting a file
system of the card

Actual Results:  System hang, need power down or reset

Expected Results:  card should be mounted as usual

Additional info:

Use PQI 7-in-1 card reader, this is a standard usb storage type device and can
work with out-of-box usb-storage driver.

Comment 1 Arjan van de Ven 2003-08-15 19:37:56 UTC
I don't understand why you recompile the kernel for something that is a module

Comment 2 Matt Wilson 2003-08-15 20:08:46 UTC
Can you reproduce the same hang by using the correct method for multi-lun setups?

   - When using RAID storage configured with Logical Unit Numbers (LUNs)
     greater than zero, it is necessary to enable LUN support by adding
     the following entry to the /etc/modules.conf file:
     options scsi_mod max_scsi_luns=255
     After modifying modules.conf, it is necessary to rebuild the initial
     ramdisk using `mkinitrd`.  Refer to The Official Red Hat Linux
     Customization Guide for more information about creating the ramdisk
     image with mkinitrd.

Comment 3 ChenLi Tien 2003-08-25 15:46:46 UTC
It disappear after I use up2date to change kernel. I think I made a mistake that
build old kernel with RAM disk as a module, as it is needed in initrd.

Note You need to log in before you can comment on or make changes to this bug.