From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Description of problem: I have a usb flash reader with 4 slots (SD, SM, CF, MS), but only SD slot is recognized. Version-Release number of selected component (if applicable): kernel-2.6.5-1.358 How reproducible: Always Steps to Reproduce: 1.plug in reader 2.cat /proc/scsi/scsi 3. Actual Results: Attached devices: Host: scsi4 Channel: 00 Id: 00 Lun: 00 Vendor: Generic Model: USB SD Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Expected Results: all 4 devices should show up, not just SD slot Additional info: This seems to be due to the following standard kernel setting from config-2.6.5-1.358: # CONFIG_SCSI_MULTI_LUN is not set Setting this and recompiling the kernel should fix it.
you can also modprobe the scsi_mod module with the parameter 'max_luns=4' which should work. I'll also add your device to the whitelist so that in a future update kernel you won't need to add this.
Thanks, yes adding the line options scsi_mod max_luns=4 to /etc/modprobe.conf fixed it. Now cat /proc/scsi/scsi shows: Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: Generic Model: USB SD Reader Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 01 Vendor: Generic Model: USB CF Reader Rev: 1.01 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 02 Vendor: Generic Model: USB SM Reader Rev: 1.02 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 00 Lun: 03 Vendor: Generic Model: USB MS Reader Rev: 1.03 Type: Direct-Access ANSI SCSI revision: 02
I have a comsol 4 slot card reader P: Vendor=07cc ProdID=0300 Rev= 0.05 S: Manufacturer= Ltd S: Product=Winter Ver1.3 S: SerialNumber=058150594954 the CF slot is the only one that works with the ship kernel. If I recompile with CONFIG_SCSI_MULTI_LUN=y then the SD slot (at least) also works. Is this similar?
Yes, that seems to be same issue.
John, if you attach the dmesg output, we can add your device to the whitelist.
Created attachment 101142 [details] dmesg for Comsol 4 slot usb reader with CF and SD cards in dmesg attached. This is 2.6.7-rc1-mm1 (root@wattle) (gcc version 3.3.3 20040412 on fc2, with CONFIG_SCSI_MULTI_LUN=y (for UDF reasons) but usb card reader behaviour seemed the same on 2.6.5
added to whitelist for the next build.