erratic mounting of sd card

craig craig.freebsd at online.de
Tue Feb 1 12:58:04 PST 2005


hey all,

i'm trying to mount an sd card plugged into a 4in1-usb-reader and while 
i have had it work once, i cannot repeat that success.

the umass reader is always plugged in and is recognised in dmseg as :

da0 at umass-sim1 bus 1 target 0 lun 0
da0: <GENERIC USB Storage-SMC 009D> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim1 bus 1 target 0 lun 1
da1: <GENERIC USB Storage-CFC 009D> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim1 bus 1 target 0 lun 2
da2: <GENERIC USB Storage-MMC 009D> Removable Direct Access SCSI-0 device
da2: 1.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da3 at umass-sim1 bus 1 target 0 lun 3
da3: <GENERIC USB Storage-MSC 009D> Removable Direct Access SCSI-0 device
da3: 1.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present

i have all the relevant #device defines compiled into my kernel as layed 
out in the handbook.
my first attempt was a very successful

# mount_msdosfs /dev/da2s1 /mnt/sd

i could explore all my recent holiday pics and remember the good snow in 
  the swiss.
but later, when i tried to

# umount /dev/da2s1

the system literally hung (did i do something wrong? i was not using the 
drive at the time!) - each time i did an ls in another terminal, it just 
froze there, until eventually X stopped resonding at all! :(

since then i have not been able to mount again - each time i try, it 
wants to tell me that

mount_msdosfs: /dev/da2s1: No such file or directory

???

i plugged the sd back into the camera and it seems to be in good order - 
so i assume that nothing went wrong with the fs.


where to from here?

any help would be appreciated!


-- 
craig at small-pla.net


More information about the freebsd-questions mailing list