mount USB storage device

Jennifer jennifer at tevn.com
Tue Jul 8 16:28:58 PDT 2003


Dear FreeBSD hackers,

Though I just started to learn and use FreeBSD less than one year, I started to love it's powers and stability.

However, I have one question need your help here if you get time and willing to have me.
I bought a USB memory chip (64 Mb capacity). It works fine in any windows PC. But I tried to mount it in my FreeBSD4.3 box.
I read some tips from the internet that some people use the following command to mount it as

mkdir /mnt/usb
mount -t msdos /dev/da0s1 /mnt/usb

So I tried this way. First, I insert my memory chip into a USB port on FreeBSD4.3 box.
The dmesg.boot shows :

umassQ: USB Solid State Disk rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 
da0:<DIANMA STORAGE KING\242\362.11>
Removable Direct Access SCSI-2 Device
da0: 650kb/s transfers
da0:63MB (129024 512bye sectors 64H32S/T63C)

Then I tried to mount it as 

mkdir /mnt/usb
mount -t msdos /dev/da0s1 /mnt/usb

But the console shows:

da0:( umass-sim0:0:0:0):READ(06),cbd:800010
da0:( umass-sim0:0:0:0):ILLEGAL REQUEST ASC:20,0
da0:( umass-sim0:0:0:0):Invalid command operation code
da0:reading primary partition table:error reading fsbn0
msdos: /dev/da0s1: input/output error

So it seems the mounting is not successful. So I tried this way:

mount /dev/da0s1 /mnt/usb

This time the console shows: 

da0:reading primary partition table:error reading fsbn0
msdos: /dev/da0s1: input/output error

I know there must some thing wrong with my mounting command, but I do not know what it is. I understand you people are real FreeBSD gurus, but not sure you have time to help in  such trivel thing. Still, I hold my breath to waiting for your reply.

Best regards to FreeBSD Development

FreeBSD user: Jennifer



More information about the freebsd-hackers mailing list