From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 20:31:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F43716A4CE for ; Thu, 28 Apr 2005 20:31:50 +0000 (GMT) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C7B43D49 for ; Thu, 28 Apr 2005 20:31:49 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) j3SKVmVb089469 for ; Thu, 28 Apr 2005 22:31:48 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 49BD86204; Thu, 28 Apr 2005 22:31:48 +0200 (CEST) Date: Thu, 28 Apr 2005 22:31:48 +0200 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050428203148.GA62064@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org References: <200504281835.57378.v.demartino2@virgilio.it> <20050428165257.GA60809@slackbox.xs4all.nl> <200504281958.49138.v.demartino2@virgilio.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <200504281958.49138.v.demartino2@virgilio.it> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: usbd.conf not mounting usb mass storage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 20:31:50 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 28, 2005 at 07:58:49PM +0000, Vittorio wrote: > > > prtcl=3D0x0000 device names: umass0 > > > usbd: Found action 'SWISSBIT' for Twist, SWISSBIT at umass0 > > > usbd: Executing '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' > > > mount_msdosfs: /dev/da0: No such file or directory > > > usbd: '/sbin/mount_msdosfs /dev/da0 /mnt/swissbit' returned 71 > > > > It takes a while for the mapping from umass to da to be established. Try > > adding '/bin/sleep 1; ' to the front of the attach command. > > > > Your usbd.conf relies on two assumptions that might not be true. The > > umass0 device is not necessarily the swissbit device, and umass0 does > > not automatically map to da0. > > > > Roland >=20 > Didn't know. I was misled by the fact that I saw my SWISSBIT mass storage= =20 > mapped as umass[0-2]+ and ** acordingly ** da[0-2]+: 0 to 0, 1 to 1 and 2= to=20 > 2. That is probably because you have no SCSI disks. They also use the da driver. If you had one, it would be da0, and umass0 would probably map to da1. > By the way, there's another question relating to mapping. > As I said to mount the SWISSBIT I use for instance=20 > "/sbin/mount_msdosfs /dev/da0 /mnt/swissbit" whilst to mount my Eutron us= b=20 > mass storage mapped as umass0 -> da0 I have to issue: > "/sbin/mount_msdosfs /dev/da0s1 /mnt/eutron" > Why is that, I mean da0 -> da0s1? The devices are partitioned differently. If you run 'gpt show /dev/daX', where X denotes the numbers of the two devices, you'll see the differences. Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCcUg0EnfvsMMhpyURAn/dAJ44qrSWxEFnWNI/iN5aT7eloKWzNQCaA6g0 F0o6Zi6VltVxq2oUBoKhLn4= =3V/9 -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--