douglas_slac Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Aug 2003 Posts: 89
|
Posted: Sat Feb 12, 2005 9:54 pm Post subject: Problem mounting CF card from usb card reader |
|
|
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? |
|