Click to See Complete Forum and Search --> : USB Problems - SanDisk ImageMate


nipper
06-07-2003, 10:26 PM
I'm having some problems mounting my USB SanDisk ImageMate flash card reader. I've done Googls searches and read the Linux USB sub-system document but still can't seem to get it going.

When I try and mount the device, I get the following:

# modprobe usb-storage
# mount -t vfat /dev/sda1 /mnt/flash
mount: /dev/sda1 is not a valid block device

Based on my searches, this seems to be a common problem, but I can't seem to find a good answer. I've tried sda4, etc., but still the same thing.

The output of # cat /proc/scsi/scsi is:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SanDisk Model: Imagemate CF-MCF Rev: 0101
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: IDE-CD Model: R/RW 4x4x24 Rev: 1.08
Type: CD-ROM ANSI SCSI revision: 02

The output of lsmod is:
Module Size Used by Not tainted
binfmt_misc 7272 1
i810_audio 27528 2 (autoclean)
ac97_codec 13544 0 (autoclean) [i810_audio]
soundcore 6276 2 (autoclean) [i810_audio]
r128 87288 16
agpgart 46752 3
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
nfsd 79024 8 (autoclean)
lockd 57680 1 (autoclean) [nfsd]
sunrpc 80412 1 (autoclean) [nfsd lockd]
autofs 12948 0 (autoclean) (unused)
sis900 16524 1
ipt_REJECT 3896 6 (autoclean)
iptable_filter 2380 1 (autoclean)
ip_tables 14648 2 [ipt_REJECT iptable_filter]
sg 35980 0 (autoclean)
sr_mod 17912 0 (autoclean)
ide-scsi 11984 0
scsi_mod 106200 3 [sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-uhci 25868 0 (unused)
ehci-hcd 19592 0 (unused)
usb-ohci 21160 0 (unused)
usbcore 77696 1 [hid usb-uhci ehci-hcd usb-ohci]
ext3 69984 2
jbd 51220 2 [ext3]

Is there anything obvious I'm missing? Can anyone offer any insight? Sorry for the long post...

nipper
06-08-2003, 04:32 PM
I checked the /var/log/messages and found this piece in it:

Jun 8 13:55:40 tana kernel: sda: Write Protect is off
Jun 8 13:55:40 tana kernel: sda: I/O error: dev 08:00, sector 0
Jun 8 13:55:40 tana kernel: I/O error: dev 08:00, sector 0
Jun 8 13:55:40 tana kernel: unable to read partition table
Jun 8 13:55:41 tana devlabel: devlabel service started/restarted
Jun 8 13:55:53 tana kernel: sda : READ CAPACITY failed.
Jun 8 13:55:53 tana kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 8 13:55:53 tana kernel: Info fld=0x0, Current sd00:00: sense key Not Ready
Jun 8 13:55:53 tana kernel: Additional sense indicates Medium not present
Jun 8 13:55:53 tana kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jun 8 13:55:53 tana kernel: sda: Write Protect is off
Jun 8 13:55:53 tana kernel: sda: I/O error: dev 08:00, sector 0
Jun 8 13:55:53 tana kernel: I/O error: dev 08:00, sector 0
Jun 8 13:55:53 tana kernel: unable to read partition table
Jun 8 13:55:59 tana kernel: sda : READ CAPACITY failed.
Jun 8 13:55:59 tana kernel: sda : status = 1, message = 00, host = 0, driver = 08

Any ideas anyone?

nipper
06-11-2003, 12:41 PM
Well, I'm trying to work this out on my own, but I keep hitting snags...

If I mount using usbdevfs, rather than vfat, it mounts -something-, but not the cardreader where I can read the Memory Stick.

It just gives a few directories of nothing or what looks like device files.

Anyone? Please?

michaelk
06-11-2003, 01:50 PM
You do have a flash card in the reader when trying to mount?

nipper
06-11-2003, 02:34 PM
I have the Memory Stick card in, but not a CompactFlash card (don't have one). It's a dual reader for both CompactFlash and MemoryStick.

Do I have to indicate which medium to read?