-
Probe ALL LUNs
I am trying to get my SanDisk 2in1 card reader to work. From what I understand the Smartmedia slot ( the one I need) is on LUN 1. Is there a way to enable that additional LUN? I have asked on the Knoppiz mailing list if "Probe Additional LUNs" was selected in the latest versions kernel but got no reply. Any help would be appreciated.
-
Senior Member
registered user
For sure you can do it by selecting "probe multiple LUN's on each device" when configureing a custom kernel. I have also heard of people using various boot params, but I've not had any success that way.
-
Senior Member
registered user
You could try something like this for example:
echo "scsi-add-single-device 1 0 0 1" >
/proc/scsi/scsi
That might get your card reader into the /proc filesystem.
BTW-
Have a look at /usr/src/linux/.config and you'll see this:
Code:
CONFIG_SCSI_MULTI_LUN is not set
VeeDubb is right- you'd need to recompile the kernel. I don't know why it's not set.
-

Originally Posted by
rickenbacherus
You could try something like this for example:
echo "scsi-add-single-device 1 0 0 1" >
/proc/scsi/scsi
That might get your card reader into the /proc filesystem.
BTW-
Have a look at /usr/src/linux/.config and you'll see this:
Code:
CONFIG_SCSI_MULTI_LUN is not set
VeeDubb is right- you'd need to recompile the kernel. I don't know why it's not set.
According to Klaus, on the mailing list, it's not set because then there would be 7 erroneous SCSI drives on the desktop.
-
Senior Member
registered user
Did anyone get this to work? I have a 6in1 USB card reader but only the slot with LUN 0 is recognized.
-
I have not tried it with Knoppix, but it has worked with both RedHat 9 and Mandrake 9.1
in /etc/modules.conf add the line
options scsi_mod max_scsi_luns=12
The only way I know of doing this with Knoppix is with a remaster.
-
Forgot
I forgot that /etc/modules.conf is not to be edited. It is built by the stuff in /etc/modutils
I would add it to the end of /etc/modutils/aliases
# support for SansDisk 5-in-1 reader
options scsi_mod max_scsi_luns=12
-
Senior Member
registered user
Re: Forgot

Originally Posted by
Breetai
I forgot that /etc/modules.conf is not to be edited. It is built by the stuff in /etc/modutils
I would add it to the end of /etc/modutils/aliases
# support for SansDisk 5-in-1 reader
options scsi_mod max_scsi_luns=12
And then run update-modules as root for the changes to take effect on the next reload of the module.
-
Senior Member
registered user
Thanks for the quick reply. Still I can only use one out of four slots of my USB card reader. How can I check whether all LUNs are activated?
cat /proc/scsi/scsi
Code:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: CD-RW CRX140E Rev: 1.0n
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IC Model: USB Storage-CFC Rev: 301b
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 01
Vendor: IC Model: USB Storage-SMC Rev: 301b
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 02
Vendor: IC Model: USB Storage-MMC Rev: 301b
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 03
Vendor: IC Model: USB Storage-MSC Rev: 301b
Type: Direct-Access ANSI SCSI revision: 0
So far, it looks just as before.
But:
scsi_info /dev/sdc
Code:
SCSI_ID="0,0,2"
MODEL="IC USB Storage-MMC"
FW_REV="301b"
That last thing wasn't there before your hint. But still I cannot mount the MMC card:
Code:
mount /dev/sdc1 /mnt/test
mount: /dev/sdc1 is not a valid block device
-
I would try
Code:
mount /dev/sdc3 /mnt/test
The reason being, is I suspect the following is true:
/dev/sdc1 CFC
/dev/sdc2 SMC
/dev/sdc3 MMC
/dev/sdc4 MSC
Similar Threads
-
By DaTasuRgE in forum Hardware & Booting
Replies: 1
Last Post: 10-22-2004, 12:32 AM
-
By RobTuck in forum General Support
Replies: 1
Last Post: 10-06-2003, 04:55 PM
-
By Stonent in forum Hardware & Booting
Replies: 2
Last Post: 05-03-2003, 01:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

NETGEAR ProSafe 5-port Gigabit Switch GS105v5
$9.99

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

Cisco Catalyst 2960-24TT-L 24-Port Fast Ethernet Managed Switch
$39.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$39.99

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.02

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$69.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99