LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-02-2006, 11:32 PM   #1
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
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, 12:42 AM   #2
b0uncer
LQ 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, 07:01 AM   #3
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Original Poster
Rep: Reputation: 174Reputation: 174
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, 02:53 AM   #4
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

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



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 12:49 PM
Recoving compact flash card phantompgr Linux - Hardware 4 08-03-2005 05:14 PM
Mounting a Compact Flash Card Kyl3 Slackware 3 05-26-2004 06:48 PM
Help Please. How do I mount a parallel port compact flash reader ??? ThorsHammer1111 Linux - Hardware 1 08-13-2003 11:44 AM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration