From owner-freebsd-gnome@FreeBSD.ORG Sat Feb 20 18:57:51 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52868106568D for ; Sat, 20 Feb 2010 18:57:51 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 008148FC0A for ; Sat, 20 Feb 2010 18:57:50 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.4/8.14.4) with ESMTP id o1KIwLCb049480; Sat, 20 Feb 2010 13:58:22 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kevin Oberman In-Reply-To: <20100216173658.AE7821CC09@ptavv.es.net> References: <20100216173658.AE7821CC09@ptavv.es.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-WfrtMiYnqcZg99izxHAf" Organization: MarcusCom, Inc. Date: Sat, 20 Feb 2010 13:57:52 -0500 Message-ID: <1266692272.98965.43.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,FH_DATE_PAST_20XX, NO_RELAYS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: gnome@freebsd.org Subject: Re: Problems with gnome-mount and UFS volumes X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2010 18:57:51 -0000 --=-WfrtMiYnqcZg99izxHAf Content-Type: multipart/mixed; boundary="=-VMifXRDN+vVzRQkRc4GT" --=-VMifXRDN+vVzRQkRc4GT Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Tue, 2010-02-16 at 09:36 -0800, Kevin Oberman wrote: > > From: Joe Marcus Clarke > > Date: Tue, 16 Feb 2010 02:04:02 -0500 > >=20 > > On Mon, 2010-02-08 at 15:56 -0800, Kevin Oberman wrote: > > > I use a UFS formatted USB disk for my VirtualBox container. When I pl= ug > > > it in, gnome-mount mounts it fine, but I can never unmount it. It > > > unmounts fine, but remounts again immediately. No errors (and I would= not > > > expect any). I remember when this was a problem for MSDOSFS disks, bu= t > > > some magic was done to prevent this. It does not seem to work for UFS= , > > > though. > > >=20 > > > Is there a reasonable way to prevent this from happening? I'd really = like > > > t be able to unplug this disk when I shut down the VirtualBox contain= er. > > >=20 > > > Running the latest versions of all of the gnome ports and hald. > > >=20 > > > I would normally attach lshal output, but, since everything runs clea= nly > > > and without error, I don't know that it is needed. If so, let me know= . > >=20 > > How is the device remounted? That is, when the device gets remounted, > > what does the output of mount(8) look like? >=20 > Here is the sequence of events I see: >=20 > 1. Plug in disk > 2. HAL reports the error "org.freedesktop.Hal.UnknownError. An unknown > error occurred" I get two pop-ups with this, si I assume it is failing > twice. > 2a. The device is mounted. (I assume this is a problem with trying to > mount the multiple different instances of the device in /dev, /dev/ufs= , > and /dev/ufsid). > 3. mount(8) shows: > /dev/ufs/WindowsVBd on /media/WindowsVB (ufs, local,nosuid, soft-updat= es) > 4. Request umount of device > 5. Device unmounts correctly > 6. Device immediately re-mounts as in 2 and 2a, including errors > 7. mount now shows: > /dev/ufs/WindowsVBd on /media/WindowsVB_ (ufs, local, nosuid, soft-upd= ates) >=20 > The only difference is the '_' added to the mount point as the prior > mount point was not deleted when the disk was unmounted.=20 >=20 > The things I wonder about is confusion due to the three /dev entries, > two of which start with '/dev/ufs' and the 'd' appended to the /dev/ufs > name due to the fact that it is the 'd' partition of the slice. Use the attached script to watch devd events when you insert, mount, and unmount this volume. Post the results. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-VMifXRDN+vVzRQkRc4GT-- --=-WfrtMiYnqcZg99izxHAf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAkuAMK4ACgkQb2iPiv4Uz4f6sQCgoHnmH1zLs2PUva7hlWGZrz6G aHQAoK8iIJ1hnSRWBM6Hg5TEpiZTHtmx =9djS -----END PGP SIGNATURE----- --=-WfrtMiYnqcZg99izxHAf--