LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-03-2006, 12:32 AM   #1
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 157Reputation: 157
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.
 
Old 08-03-2006, 01:42 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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?)
 
Old 08-03-2006, 08:01 AM   #3
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 157Reputation: 157
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
 
Old 06-26-2008, 03:53 AM   #4
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 157Reputation: 157
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting from a Compact Flash card FLLinux Linux - Newbie 16 06-10-2006 01:49 PM
Recoving compact flash card phantompgr Linux - Hardware 4 08-03-2005 06:14 PM
Mounting a Compact Flash Card Kyl3 Slackware 3 05-26-2004 07:48 PM
Help Please. How do I mount a parallel port compact flash reader ??? ThorsHammer1111 Linux - Hardware 1 08-13-2003 12:44 PM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 09:56 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration