max_scsi_luns under 2.6 kernel
Mike Burger
mburger at bubbanfriends.org
Wed Aug 18 11:35:20 UTC 2004
I found a better option.
It seems that the correct option has been changed from max_scsi_luns to
max_luns.
I put that in, finally remembered to mkinitrd, and now it works like it
did, before.
On Mon, 16 Aug 2004, Mike Burger wrote:
> 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 at bubbanfriends.org
with a message of:
subscribe
More information about the redhat-list
mailing list