Dual+ card reader question.

Susan Macchia susan
Mon May 17 11:47:29 PDT 2004


Remember what I see w/ cdrecord -scanbus:
$ cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jrg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'DMI     ' 'MultiFlash      ' '3.00' Removable Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'YAMAHA  ' 'CRW2100E        ' '1.0N' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


After running the script below as root:
#!/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
cat /proc/scsi/scsi

I see:
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: DMI      Model: MultiFlash       Rev: 3.00
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
  Vendor: DMI      Model: MultiFlash       Rev: 3.00
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: YAMAHA   Model: CRW2100E         Rev: 1.0N
  Type:   CD-ROM                           ANSI SCSI revision: 02


Ok, so now that I have the device and Lun's "set up" I find I am having trouble
mounting the mmc.  How would I know which device the individual LUN should be
mounted under.  

/dev/sda1 --> CF card and mounts fine

$ mount /dev/sdb1 /mnt/mmc
mount: /dev/sdb1 is not a valid block device

OR

$ mount /dev/sda2 /mnt/mmc
mount: /dev/sda1 is not a valid block device

Any ideas what I need to do next?  Any help is appreciated and when I finally
get this working I will write up an SxS.

TIA

=====
_____________________________
Susan Macchia
mailto:susan at smacchia.net
_____________________________

- Running Linux - because life is too short for reboots...


More information about the Linux-users mailing list