mounting usb on fbsd6beta4...

Jeff D. Hamann jeff.hamann at forestinformatics.com
Fri Sep 16 16:39:54 PDT 2005


Okay, I thought I give mounting my usb so I inserted it one of the usb 
ports. There are 8 total on this machine; six are actually wired to a port. 
I'm not removing it as it reboots my system and I'm determined to get this 
thing to work!

Sep 17 16:24:46 bobby kernel: umass0: vendor 0x090a product 0x1001, rev 
1.10/1.00, addr 2
Sep 17 16:24:46 bobby kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Sep 17 16:24:46 bobby kernel: da0: <STORIX AXIS 1.00> Removable Direct 
Access SCSI-0 device
Sep 17 16:24:46 bobby kernel: da0: 1.000MB/s transfers
Sep 17 16:24:46 bobby kernel: da0: 250MB (512000 512 byte sectors: 64H 32S/T 
250C)
Sep 17 16:24:46 bobby kernel: da1 at umass-sim0 bus 0 target 0 lun 1
Sep 17 16:24:46 bobby kernel: da1: <STORIX AXIS 1.00> Removable Direct 
Access SCSI-0 device
Sep 17 16:24:46 bobby kernel: da1: 1.000MB/s transfers
Sep 17 16:24:46 bobby kernel: da1: 250MB (512000 512 byte sectors: 64H 32S/T 
250C)
Sep 17 16:24:46 bobby kernel: (da0:umass-sim0:0:0:0): Synchronize cache 
failed, status == 0x4, scsi status == 0x0
bobby#

I don't recall having any da* devices in my /dev so I've included all the 
listed devices in /dev

which are:

bobby# ls -la /dev
total 4
dr-xr-xr-x   4 root     wheel          512 Dec 31  1969 .
drwxr-xr-x  22 root     wheel          512 Sep 17 14:27 ..
crw-r-----   1 root     operator   10,  89 Sep 17 14:26 acd0
crw-r--r--   1 root     wheel      10,  19 Sep 17 14:26 acpi
crw-r-----   1 root     operator   10,  88 Sep 17 14:26 ad0
crw-r-----   1 root     operator   10,  90 Sep 17 14:26 ad0s1
crw-r-----   1 root     operator   10,  91 Sep 17 07:26 ad0s1a
crw-r-----   1 root     operator   10,  92 Sep 17 07:26 ad0s1b
crw-r-----   1 root     operator   10,  93 Sep 17 14:26 ad0s1c
crw-r-----   1 root     operator   10,  94 Sep 17 07:26 ad0s1d
crw-r-----   1 root     operator   10,  95 Sep 17 07:26 ad0s1e
crw-r-----   1 root     operator   10,  80 Sep 17 07:26 ad0s1f
crw-------   1 root     operator   10,  18 Sep 17 14:26 ata
crw-------   1 root     wheel      10,  43 Sep 17 14:26 atkbd0
crw-rw-rw-   1 root     wheel      10,  46 Sep 17 14:26 bpsm0
crw-------   1 root     wheel      10,   4 Sep 17 16:24 console
crw-------   1 root     wheel      10,  64 Sep 17 14:26 consolectl
crw-rw-rw-   1 root     wheel      10,   5 Sep 17 14:26 ctty
crw-rw----   1 uucp     dialer     10,  34 Sep 17 14:26 cuad0
crw-rw----   1 uucp     dialer     10,  35 Sep 17 14:26 cuad0.init
crw-rw----   1 uucp     dialer     10,  36 Sep 17 14:26 cuad0.lock
crw-rw----   1 uucp     dialer     10,  56 Sep 17 14:26 cuad1
crw-rw----   1 uucp     dialer     10,  57 Sep 17 14:26 cuad1.init
crw-rw----   1 uucp     dialer     10,  58 Sep 17 14:26 cuad1.lock
crw-------   1 root     wheel      10,  13 Sep 17 14:26 devctl
cr--------   1 root     wheel      10,  69 Sep 17 14:26 devstat
lrwxr-xr-x   1 root     wheel           11 Sep 17 07:26 dumpdev -> 
/dev/ad0s1b
dr-xr-xr-x   2 root     wheel          512 Dec 31  1969 fd
crw-r-----   1 root     operator   10,  71 Sep 17 14:26 fd0
crw-------   1 root     wheel      10,   6 Sep 17 14:26 fido
crw-r-----   1 root     operator   10,  12 Sep 17 14:26 geom.ctl
crw-------   1 root     wheel      10,  16 Sep 17 14:26 io
lrwxr-xr-x   1 root     wheel            6 Dec 31  1969 kbd0 -> atkbd0
crw-------   1 root     wheel      10,   0 Sep 17 14:26 klog
crw-r-----   1 root     kmem       10,  31 Sep 17 14:26 kmem
lrwxr-xr-x   1 root     wheel           12 Sep 17 14:27 log -> /var/run/log
crw-------   1 root     wheel      10,  61 Sep 17 14:26 lpt0
crw-------   1 root     wheel      10,  62 Sep 17 14:26 lpt0.ctl
crw-------   1 root     wheel      10,  68 Sep 17 14:26 mdctl
crw-r-----   1 root     kmem       10,  30 Sep 17 14:26 mem
dr-xr-xr-x   2 root     wheel          512 Dec 31  1969 net
lrwxr-xr-x   1 root     wheel            7 Dec 31  1969 net1 -> net/rl0
lrwxr-xr-x   1 root     wheel            9 Dec 31  1969 net2 -> net/plip0
lrwxr-xr-x   1 root     wheel            7 Dec 31  1969 net3 -> net/lo0
crw-------   1 root     wheel      10,  11 Sep 17 14:26 network
crw-------   1 root     wheel      10,  65 Sep 17 14:26 nfs4
crw-------   1 root     kmem       10,   7 Sep 17 14:26 nfslock
crw-rw-rw-   1 root     wheel      10,  14 Sep 17 16:22 null
crw-------   1 root     operator   10,  83 Sep 17 14:26 pass0
crw-------   1 root     operator   10,  84 Sep 17 14:26 pass1
crw-r--r--   1 root     wheel      10,   1 Sep 17 14:26 pci
crw-------   1 root     wheel      10,  63 Sep 17 14:26 ppi0
crw-rw-rw-   1 root     wheel      10,  45 Sep 17 14:26 psm0
crw-rw-rw-   1 root     wheel      10,  81 Sep 17 16:27 ptyp0
crw-rw-rw-   1 root     wheel      10,   2 Sep 17 07:26 random
lrwxr-xr-x   1 root     wheel            4 Dec 31  1969 stderr -> fd/2
lrwxr-xr-x   1 root     wheel            4 Dec 31  1969 stdin -> fd/0
lrwxr-xr-x   1 root     wheel            4 Dec 31  1969 stdout -> fd/1
crw-------   1 root     wheel      10,  17 Sep 17 14:26 sysmouse
crw-------   1 root     wheel      10,  47 Sep 17 14:26 ttyd0
crw-------   1 root     wheel      10,  32 Sep 17 14:26 ttyd0.init
crw-------   1 root     wheel      10,  33 Sep 17 14:26 ttyd0.lock
crw-------   1 root     wheel      10,  37 Sep 17 14:26 ttyd1
crw-------   1 root     wheel      10,  38 Sep 17 14:26 ttyd1.init
crw-------   1 root     wheel      10,  39 Sep 17 14:26 ttyd1.lock
crw--w----   1 hamannj  tty        10,  82 Sep 17 16:27 ttyp0
crw-------   1 root     wheel      10,  48 Sep 17 14:27 ttyv0
crw-------   1 root     wheel      10,  49 Sep 17 14:27 ttyv1
crw-------   1 root     wheel      10,  50 Sep 17 14:27 ttyv2
crw-------   1 root     wheel      10,  51 Sep 17 14:27 ttyv3
crw-------   1 root     wheel      10,  52 Sep 17 14:27 ttyv4
crw-------   1 root     wheel      10,  53 Sep 17 14:27 ttyv5
crw-------   1 root     wheel      10,  54 Sep 17 14:27 ttyv6
crw-------   1 root     wheel      10,  55 Sep 17 14:27 ttyv7
crw-------   1 root     wheel      10,  72 Sep 17 14:26 ttyv8
crw-------   1 root     wheel      10,  73 Sep 17 14:26 ttyv9
crw-------   1 root     wheel      10,  74 Sep 17 14:26 ttyva
crw-------   1 root     wheel      10,  75 Sep 17 14:26 ttyvb
crw-------   1 root     wheel      10,  76 Sep 17 14:26 ttyvc
crw-------   1 root     wheel      10,  77 Sep 17 14:26 ttyvd
crw-------   1 root     wheel      10,  78 Sep 17 14:26 ttyve
crw-------   1 root     wheel      10,  79 Sep 17 14:26 ttyvf
lrwxr-xr-x   1 root     wheel            6 Dec 31  1969 urandom -> random
crw-rw----   1 root     operator   10,  21 Sep 17 14:26 usb
crw-rw----   1 root     operator   10,  20 Sep 17 14:26 usb0
crw-rw----   1 root     operator   10,  22 Sep 17 14:26 usb1
crw-rw----   1 root     operator   10,  23 Sep 17 14:26 usb2
crw-rw----   1 root     operator   10,  40 Sep 17 14:26 usb3
crw-------   1 root     operator   10,  70 Sep 17 14:26 xpt0
crw-rw-rw-   1 root     wheel      10,  15 Sep 17 14:26 zero
bobby#

and I know that normally to mount drives, I need to type:

bobby# mount -v -t msdos /dev/something-something-something /mnt/usb

I've tried using the usb0,1,2,3 devices with no success but since I don't 
see any da*, I'm not sure how to mount this thing. It's a msdos (fat) 
formatted drive and it's been used most everywhere. I've tried mounting 
almost every combination of the following:

bobby# mount -v -t msdos /dev/da0s1 /mnt/usb
mount_msdosfs: /dev/da0s1: No such file or directory
bobby# mount -v -t msdos /dev/usb0s1 /mnt/usb
mount_msdosfs: /dev/usb0s1: No such file or directory
bobby# mount -v -t msdos /dev/usb0 /mnt/usb
mount_msdosfs: /dev/usb0: Block device required
bobby#

and just can't get it to go. This is really getting me down on the beta6 
stuff. Will I have this kind of trouble when I attempt to use a usb keyboard 
and mouse? can I use a wireless usb kb and mouse? should I even try or would 
spending the $ be a waste?

Whoa..... After about six minutes the following popped up on my screen...I 
checked the /var/log/messages file and found...

Sep 17 16:30:21 bobby kernel: Opened disk da0 -> 5
Sep 17 16:35:47 bobby kernel: Opened disk da0 -> 5

so,

bobby# mount -v -t msdos /dev/da0 /mnt/usb
mount_msdosfs: /dev/da0: Device busy

argh.....


Jeff.



---
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
541-754-1428
jeff.hamann at forestinformatics.com
www.forestinformatics.com



More information about the freebsd-questions mailing list