From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 16 23:39:54 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B31116A41F; Fri, 16 Sep 2005 23:39:54 +0000 (GMT) (envelope-from jeff.hamann@forestinformatics.com) Received: from stimpy.forestinformatics.com (cvo-cr1-200-239.peak.org [69.59.200.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD40143D45; Fri, 16 Sep 2005 23:39:53 +0000 (GMT) (envelope-from jeff.hamann@forestinformatics.com) Received: from rodan ([192.168.0.14]) by stimpy.forestinformatics.com (8.12.9/8.12.9) with SMTP id j8GNdjMc096866; Fri, 16 Sep 2005 16:39:45 -0700 (PDT) (envelope-from jeff.hamann@forestinformatics.com) Message-ID: <001101c5bb17$e969e3c0$0a00a8c0@rodan> From: "Jeff D. Hamann" To: , Date: Fri, 16 Sep 2005 16:39:36 -0700 Organization: Forest Informatics, Inc. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on stimpy.forestinformatics.com Cc: Subject: mounting usb on fbsd6beta4... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jeff D. Hamann" List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 23:39:54 -0000 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: 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: 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@forestinformatics.com www.forestinformatics.com