LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Unable to mount compact flash card (https://www.linuxquestions.org/questions/linux-hardware-18/unable-to-mount-compact-flash-card-470291/)

Z038 08-02-2006 11:32 PM

Unable to mount compact flash card
 
I'm unable to mount my compact flash card. I insert my compact flash card in my CF reader. I plug the reader into a USB port.

dmesg | tail shows
Code:

sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 2014992 512-byte hdwr sectors (1032 MB)
sdc: Write Protect is off
sdc: Mode Sense: 02 00 00 00
sdc: assuming drive cache: write through
 sdc: sdc1
sd 7:0:0:0: Attached scsi removable disk sdc
sd 7:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete

But when I try to mount it
Code:

# mount -t vfat /dev/sdc1 /mnt/cf
mount: special device /dev/sdc1 does not exist

/sbin/lsusb says
Code:

Bus 005 Device 002: ID 03f0:0117 Hewlett-Packard
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 006: ID 05e3:0760 Genesys Logic, Inc. Card Reader
Bus 001 Device 004: ID 04b8:011e Seiko Epson Corp. Perfection 1660 Photo
Bus 001 Device 001: ID 0000:0000

This is Slackware nearly current with kernel 2.6.15.3

I know I've successfully mounted a CF card in this reader in the past. I don't understand what the message issued by the mount command is telling me.

b0uncer 08-03-2006 12:42 AM

Probably that it's not sdc1 but something else, like sdc2 or sdc6 or sdc9 or..well you got the idea. You could
Code:

ls /dev/sdc*
and see which sdcN (where N is a number) devices are there, and try those. If no sdc devices are present, it's called something else (sg?)

Z038 08-03-2006 07:01 AM

OK, I tried the mount command for all my sdc* and sg* devices and got the same problem. I have

Code:

/dev/sdc10  /dev/sdc12  /dev/sdc14  /dev/sdc2  /dev/sdc4  /dev/sdc6  /dev/sdc8
/dev/sdc11  /dev/sdc13  /dev/sdc15  /dev/sdc3  /dev/sdc5  /dev/sdc7  /dev/sdc9

and

Code:

/dev/sg0  /dev/sg13  /dev/sg3  /dev/sg8  /dev/sgd  /dev/sgi  /dev/sgn
/dev/sg1  /dev/sg14  /dev/sg4  /dev/sg9  /dev/sge  /dev/sgj  /dev/sgo
/dev/sg10  /dev/sg15  /dev/sg5  /dev/sga  /dev/sgf  /dev/sgk  /dev/sgp
/dev/sg11  /dev/sg16  /dev/sg6  /dev/sgb  /dev/sgg  /dev/sgl  /dev/sgq
/dev/sg12  /dev/sg2  /dev/sg7  /dev/sgc  /dev/sgh  /dev/sgm

and I get the same error on each one, but it's different from the original error that I got for /dev/sdc1. For example

Code:

# mount -t vfat /dev/sdc10 /mnt/cf
mount: /dev/sdc10 is not a valid block device


Z038 06-26-2008 02:53 AM

After all this time, this problem happened to me again, but this time I figured out what was wrong. My USB CF card reader had a bent pin, so the CF card wasn't seating all the way in and making contact on every lead. I straightened the bent pin and then the device mounted normally.


All times are GMT -5. The time now is 09:36 AM.