Re: max_scsi_luns under 2.6 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found a work around, at 
http://www.linux-sxs.org/hardware/flashreaders.html

    *  As root, create and run the following script:

#!/bin/sh
echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 0 1" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 0 2" > /proc/scsi/scsi
echo "scsi add-single-device 0 0 0 3" > /proc/scsi/scsi
cat /proc/scsi/scsi

I modified it to point to scsibus 1 (replaced the leading 0 on each line 
with a 1), and commented out the 4th line, altogether (my reader only has 
3 slots), and it appears to work.

Still, using something like the max_scsi_luns parameter (or whatever that 
parameter is under the 2.6 kernels), the kernel should pick up on the fact 
that there are multiple slots and assign them, accordingly.  If there's a 
correct parameter to use, instead of adding these commands (or a script 
with them) to my rc.local file, I think it would be cleaner.

On Sun, 15 Aug 2004, Mike Burger wrote:

> I've just upgraded my RHL9 workstation to FC2, and I'm noticing that the 
> following line, which worked great with a 2.4 kernel, isn't working so hot 
> with my 2.6.7 kernel:
> 
> options scsi_mod.o max_scsi_luns=255
> 
> Any ideas?  Or do I just need to go back to 
> 
> "options scsi_mod max_scsi_luns=255", removing the .o?
> 
> Thanks.
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux