You probably need to mount /dev/sdc1. On Sat, 7 Dec 2002, Duane A. Damiano wrote:
> Well, I guess I must, partially, take back what I said about the > SanDisk 6 in 1 card reader not working with linux. > > In response to my previous posting, I was advised to RTFM (actually, > the USB FAQ). The FAQ question about multi-purpose storage devices > was the key to making my system recognize the different slots of the > SanDisk reader. > > I still cannot mount my SM card, which is plugged into the SanDisk, as > a file system. But, I am able to read the card using mtools! > > The following information relates to my attempt to mount the device. > I would appreciate any advice on how to overcome this problem. > > If you don't care about my problems and just want to see how I used > mtools to read from the SanDisk device, skip down to the > "------------" line. > > > Here's what my /proc/scsi/scsi looks like: > > [swing dadamia]$ cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: SONY Model: CD-RW CRX175E2 Rev: S002 > Type: CD-ROM ANSI SCSI revision: 02 > Host: scsi1 Channel: 00 Id: 00 Lun: 00 > Vendor: SanDisk Model: ImageMate 6 in 1 Rev: 0.0> > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi1 Channel: 00 Id: 00 Lun: 01 > Vendor: SanDisk Model: ImageMate 6 in 1 Rev: 0.0> > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi1 Channel: 00 Id: 00 Lun: 02 > Vendor: SanDisk Model: ImageMate 6 in 1 Rev: 0.0> > Type: Direct-Access ANSI SCSI revision: 02 > Host: scsi1 Channel: 00 Id: 00 Lun: 03 > Vendor: SanDisk Model: ImageMate 6 in 1 Rev: 0.0> > Type: Direct-Access ANSI SCSI revision: 02 > [swing dadamia]$ > > When I plug the SanDisk device into my USB hub (with my SM memory card > already in it), here's what I see in my /var/log/messages file: > > > Dec 7 17:56:55 swing kernel: hub.c: USB new device connect on bus2/2/1, > assigned device number 7 > Dec 7 17:56:58 swing kernel: usb_control/bulk_msg: timeout > Dec 7 17:56:58 swing kernel: usb.c: error getting string descriptor 0 > (error=-110) > Dec 7 17:57:00 swing /etc/hotplug/usb.agent: Setup usb-storage for USB > product 781/621/5 > Dec 7 17:57:00 swing /etc/hotplug/usb.agent: missing kernel or user mode > driver usb-storage > > > Why am I seeing that last line? According to lsmod, usb-storage is > loaded? > > > When I try to mount, I get: > > [swing dadamia]# mount -t vfat /dev/sdc /mnt/sandisk > mount: wrong fs type, bad option, bad superblock on /dev/sdc, > or too many mounted file systems > [swing dadamia]# > > > And, the following appears in /var/log/messages: > > Dec 7 18:00:29 swing kernel: FAT: bogus logical sector size 0 > Dec 7 18:00:29 swing kernel: VFS: Can't find a valid FAT filesystem on > dev 08:20. > > > I know that /dev/sdc is the right device, because all the other > choices (sda, sdb, and sdd) report "No medium found". Also, "tar -rf > /dev/sdc" makes the correct LED blink on the SanDisk unit. > > > The SmartMedia card I am using is from an Olympus D-520 digital camera. > > Anyone have any more ideas? > > > ----------------------------------------------------------- > > Here's how I am using mtools to read the SanDisk. > > First, make a file in your home directory called .mtoolsrc like the > following: > > [swing dadamia]$ cat .mtoolsrc > drive s: > file="/dev/sdc" > partition=1 > mtools_skip_check=1 > > [swing dadamia]$ > > You can use a different drive letter, if you want. Also, the "sdc" > applies to the slot that the SM card goes into. If you are using a > different slot, you'll need a different device (sda, sdb, sdc, or > sdd). Now, you can use mdir, mcopy, etc. to talk to the SanDisk. > > Examples: > > [swing dadamia]$ mdir s: > Volume in drive S has no label > Directory for S:/ > > DCIM <DIR> 12-07-2002 21:03 > 1 file 0 bytes > 13 746 176 bytes free > > [swing dadamia]$ mdir s:DCIM > Volume in drive S has no label > Directory for S:/DCIM > > . <DIR> 12-07-2002 21:03 > .. <DIR> 12-07-2002 21:03 > 100OLYMP <DIR> 12-07-2002 21:03 > 3 files 0 bytes > 13 746 176 bytes free > > [swing dadamia]$ mdir s:DCIM/100OLYMP > Volume in drive S has no label > Directory for S:/DCIM/100OLYMP > > . <DIR> 12-07-2002 21:03 > .. <DIR> 12-07-2002 21:03 > PC070001 JPG 422883 12-07-2002 21:03 > 3 files 422 883 bytes > 13 746 176 bytes free > > [swing dadamia]$ mcopy s:DCIM/100OLYMP/PC070001.jpg . > [swing dadamia]$ > > [swing dadamia]$ minfo s: > device information: > =================== > filename="/dev/sdc" > sectors per track: 16 > heads: 4 > cylinders: 500 > > mformat command line: mformat -t 500 -h 4 -s 16 -H 41 s: > > bootsector information > ====================== > banner:"F1b3.01 " > sector size: 512 bytes > cluster size: 32 sectors > reserved (boot) sectors: 1 > fats: 2 > max available root directory slots: 256 > small size: 31959 sectors > media descriptor byte: 0xf8 > sectors per fat: 3 > sectors per track: 16 > heads: 4 > hidden sectors: 41 > big size: 0 sectors > physical drive id: 0x0 > reserved=0x0 > dos4=0x0 > serial number: 00000000 > disk label=" " > disk type="FAT12 " > [swing dadamia]$ > > > Duane > > --------------------------------------------------------- > Duane A. Damiano [EMAIL PROTECTED] > P. O. Box 22429 Phone: 410-685-6221 > Baltimore MD 21203-4429 U.S.A. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
