Bug 58904 - No Multi-Lun support
Summary: No Multi-Lun support
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
(Show other bugs)
Version: 7.2
Hardware: i686 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-27 15:03 UTC by Bill Stephens
Modified: 2007-04-18 16:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-11 21:41:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Bill Stephens 2002-01-27 15:03:23 UTC
Description of Problem:

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

How Reproducible:

Steps to Reproduce:
1. Have a Tape autoloader
2. Install Kernel Errata
3. Try to use a multi Lun SCSI Device

Actual Results:
Only the first lun device is reported

Expected Results:
All LUN devices should be reported and available.

Additional Information:
You don't have the multi-lun option turned on when you compile your stock 
kernels.  If I turn it on in your source config files, rebuild the kernel 
package, install the fixed pakcages, everything works fine.

Comment 1 Arjan van de Ven 2002-01-27 15:10:33 UTC
Multi-lun unfortionatly cannot be turned on by default since quite a few (cheap)
scsi devices break that way. There's 2 things that can be done:

1) add the line
options scsi_mod max_scsi+luns=128
to the /etc/modules.conf file and then regenerate the initrd

2) get me the output of cat /proc/scsi/scsi so that your scsi device can be
added to the whitelist of devices where the kernel DOES scan all luns

Comment 2 Bill Stephens 2002-01-28 12:40:31 UTC
The output from my /proc/scsi/scsi:
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: HP       Model: C1557A           Rev: U709
  Type:   Sequential-Access                ANSI SCSI revision: 02

Couldn't you just:
3. Select CONFIG_SCSI_MULTI_LUN=y in your kernel config?  

Multi LUN's worked in 7.0.  Any reason they stopped?

Comment 3 Bill Stephens 2002-01-28 12:48:05 UTC
Dooh, not enough coffee yet.  I just ready your response why you can't turn it 
back on.  Sounds like a damned if you do damned if you don't scenario.  Either 
way stuff gets broken.

Comment 4 Arjan van de Ven 2002-01-28 12:51:24 UTC
Unfortionatly yes ;(
Thanks for the whitelist entry; I'll add it so it should just work for newer

Comment 5 Arjan van de Ven 2002-02-11 17:26:06 UTC
Added the entry.
Does the option work or should I give more details on how to do it?

Comment 6 Bill Stephens 2002-02-11 18:07:57 UTC
More details please.  I'm not sure what or how to test.

Comment 7 Arjan van de Ven 2002-02-11 18:11:51 UTC
1) add the line
options scsi_mod max_scsi+luns=128
to /etc/modules.conf

2) rm /boot/initrd-2.4.9-21smp.img
3) mkinitrd /boot/initrd-2.4.9-21smp.img 2.4.9-21smp


that ought to do it (assuming the smp kernel)

Comment 8 Bill Stephens 2002-02-11 21:41:40 UTC
That worked fine.  Thanks

Comment 9 Arjan van de Ven 2002-02-11 21:47:31 UTC
Ok, ID added, your machine works.... I'm going to close this as "Fixed Current
release" as that's closest of what it realy is. If you object to closing this
bug, please reopen.

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