On Thu, Nov 21, 2002 at 01:51:43PM +0100, Hajo C Jeske wrote: > On Wed, 20 Nov 2002 23:52:44 -0500 > Theo Brinkman <[EMAIL PROTECTED]> wrote:
> > I've just bought a 'CompUSA' 6-in-1 memory card reader (actually a
> > CRW-600). I can use the CF slot no problem as /dev/sda once I've used
> > USB Viewer to configure it, but I can't figure out how to get access to
> > the other slots.
> [ ... ]
> > Can anybody help?
> >
> Hello,
> as I told here a few days ago
> Nin1 - readers do need SCSI-LUNs to mount all slots. [N == 3/5/6]
> The problem is, that all distributors did forget to configure LUNs into kernel.
> I tried RH7.3/8.0 and Mandrake9.0 - always same problem.
> Just at this time
> the one and only solution is to build an own kernel with LUNs.
Did you try using the "max_scsi_luns=N" parameter? Looks like
it should work for both kernel command line and for module parameters.
If CONFIG_SCSI_MULTI_LUN is not defined, that value merely defaults to 1.
If CONFIG_SCSI_MULTI_LUN is defined then it defaults to the SCSI_MAX_LUNS
value (BIG). Specifying the parameter explicity should override the
defaults.
> I did it and it works! :-))
Yeah, I went the custom build as well. But defaulting the
CONFIG_SCSI_MULTI_LUN can cause some problems. Some SCSI drives
don't like it and die. So it probably shouldn't be defined by
default in the distros. Unfortunately.
> RH7.3 - 2.4.18-3 recompiled and a standard 2.4.19 - both are doing their usb-job.
> For a kernel-compilation a developer-station is needed.
> Perhaps someone is offering an allround-kernel with initrd - I hope so.
> I did post the problem to RedHat.
> If a complete kernel-package is offered, it would be easy to install
> vmlinuz and system-map -> boot
> modules -> /lib/modules/ ...
> edit /etc/lilo.conf and save
> do a
> [root]$ lilo
> with grub instead of lilo similar.
> --
> Booted with that kernel
> lsmod
> [ if no usb-storage loaded ]
> modprobe usb-storage
> tail -f /var/log/messages
> [ insert your card-reader ]
> ... and messages tell you what to mount.
>
> As I'm running a SCSI-system
> sda1 == /boot
> sda2 == swap
> sda3 == /
> card-reader's memory-card[s] are recognized as
>
> sdb [ not present card ] [ LUN 0 ]
> sdc [ LUN 1 ] present ]
> sdc1
> mount -t vfat /dev/sdc1 /mnt/mycard
> [ after work do not forget to umount /mnt/mycard ]
> /mnt/mycard - should exist ;-)
> If someone is able to compile a kernel with initrd
> and build instructions for lilo and grub
> I do re-offer space on my webserver including all :
> binaries and sources with /usr/src/linux/.config
> 2.4.18 or 2.4.19 only - no 2.5.** !!
Try just adding the parameters to the boot command line and
the modules options in /etc/modules.conf and see if that solves the
problem without recompiling the kernel.
> I do not know how to build an initrd-kernel
> and got no idea for grub.
> Just now I do have no time left
> to learn initrd and grub and to make tests.
> Sorry about that.
> I'm building only fixed and optimized kernels for my system
> and they will not run with other hardware [ I guess ].
>
> --
>
> mfg Hajo C Jeske
> UNIX-Software-Entwickler, Unix-Administrator,
> Daten-Rettung und Komplett-Einrichtung/Upgrade von Linux-Systemen mit Service und
>Wartung
Mike
--
Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
msg05479/pgp00000.pgp
Description: PGP signature
