Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mounting CF card from usb card reader
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
douglas_slac
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2003
Posts: 89

PostPosted: Sat Feb 12, 2005 9:54 pm    Post subject: Problem mounting CF card from usb card reader Reply with quote

I don't know if this has been brought up before, I tried to search, but I find the search for these forums pretty worse than useless. Anyway, here is something that used to work:

Boot computer, put CF card into the USB2.0 multi-card reader, and do:

mount -t msdos -o umask=002 /dev/sdb1 /mnt/camera

And read file system at /mnt/camera. This might be since I upgraded to the 2.6.10 kernel, I dunno, I upgraded a lot of things this week, I still have the 2.6.9 kernel, I should reboot and see if it is still a problem, but I can't be bothered right now.

Anyway, when I try to mount I get:

Code:

# mount -t msdos -o umask=002 /dev/sdb1 /mnt/camera/
mount: special device /dev/sdb1 does not exist


Sometimes I would see this, so I would rmmod, and modprobe usb-storage again (except now it seems to be called usb_storage?) but no go this time. I checked the dmesg, so see how the device was reported when the card was put in:

Code:

  Vendor: USB2.0    Model: CompactFlashCard  Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sdb at scsi5, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi5, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
SCSI device sdc: 2014992 512-byte hdwr sectors (1032 MB)
sdc: assuming Write Enabled
sdc: assuming drive cache: write through
SCSI device sdc: 2014992 512-byte hdwr sectors (1032 MB)
sdc: assuming Write Enabled
sdc: assuming drive cache: write through
 /dev/scsi/host4/bus0/target0/lun1: p1


So there it is, the card, and it says attached removable device at /dev/sdb, although I don't see it. But if I do:

Code:

# mount -t msdos -o umask=002 /dev/scsi/host4/bus0/target0/lun1/part1 /mnt/camera/


Then I can read the card. What gives? Where did /dev/sdb go? Something funny with 2.6.10? Or did I choose the wrong kernel params at some point?
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Sat Feb 12, 2005 10:42 pm    Post subject: Reply with quote

looks to me like it is at /dev/sdc... not /dev/sdb.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum