On Fri, 25 Jun 2004, William Hooper wrote:
Since it is a multi-card reader, it is probably a multi-lun device. Try adding "options scsi_mod max_luns=5" (replacing 5 with the number of slots) in your /etc/modprobe.conf.
you stud. i just did this manually with:
# modprobe scsi_mod max_luns=5 (i guess i could have used 3 here)
then connected the reader with a FAT-formatted CF card already in it, and got:
==================================================================
Jun 25 14:17:30 localhost kernel: SCSI subsystem initialized
Jun 25 14:19:20 localhost kernel: usb 1-1: USB disconnect, address 9
Jun 25 14:19:26 localhost kernel: usb 1-1: new full speed USB device using address 10
Jun 25 14:19:27 localhost kernel: Initializing USB Mass Storage driver...
Jun 25 14:19:27 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jun 25 14:19:27 localhost kernel: Vendor: Lexar Model: Media Inc. SM/xD Rev: 009E
Jun 25 14:19:27 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 25 14:19:27 localhost kernel: Vendor: Lexar Model: Media Inc. CF Rev: 009E
Jun 25 14:19:27 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 25 14:19:27 localhost kernel: Vendor: Lexar Model: Media Inc. SD/MS Rev: 009E
Jun 25 14:19:27 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 25 14:19:27 localhost kernel: usbcore: registered new driver usb-storage
Jun 25 14:19:27 localhost kernel: USB Mass Storage support registered.
Jun 25 14:19:27 localhost kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jun 25 14:19:27 localhost kernel: SCSI device sdb: 125184 512-byte hdwr sectors (64 MB)
Jun 25 14:19:27 localhost kernel: sdb: assuming Write Enabled
Jun 25 14:19:27 localhost kernel: sdb: assuming drive cache: write through
Jun 25 14:19:27 localhost kernel: sdb: sdb1 <-- THERE WE GO!
Jun 25 14:19:27 localhost kernel: Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
Jun 25 14:19:27 localhost kernel: Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
...
=================================================================
and mounted /dev/sdb1 just fine. boy, wouldn't it have been great if this had been in a wiki somewhere? :-P
If that works, put an RFE in bugzilla to get your device added to the whitelist.
yeah ... bugzilla ... RFE ... whitelist ... ok, i'll figure that out.
rday
p.s. is there some way to list the options with which a module was loaded? "lsmod" shows me scsi_mod, but i don't see an easy way of listing that it was loaded with a given max_luns value of 5. perhaps something under /proc?