From owner-freebsd-gnome@FreeBSD.ORG Sun Jul 24 23:44:53 2011 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECFA41065674; Sun, 24 Jul 2011 23:44:53 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBB88FC12; Sun, 24 Jul 2011 23:44:53 +0000 (UTC) Received: by gwb15 with SMTP id 15so2791757gwb.13 for ; Sun, 24 Jul 2011 16:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=T0a6pFb48HZbApVM6SKFBf00bEvqbGG23+unsTF8sY0=; b=Udvyagn8nAD3GQ7zK1qolxYCHLtNBog2q4SuJpQrOTVhIBE82FO5zYAgvTMgM9v7AA thRttGKQExVMN53iCxFlyn0sTbH0beI5bbDIvtLrYu86It8VdVdO1yybZNzKy5ZThmrb HvO2iymwKVW3jMKYclrVyESLX21bHMxxJyNJU= MIME-Version: 1.0 Received: by 10.151.109.8 with SMTP id l8mr4111797ybm.27.1311551092760; Sun, 24 Jul 2011 16:44:52 -0700 (PDT) Received: by 10.151.27.21 with HTTP; Sun, 24 Jul 2011 16:44:52 -0700 (PDT) In-Reply-To: References: <4E25E739.2020301@freebsd.org> <4E277870.8010506@freebsd.org> Date: Sun, 24 Jul 2011 16:44:52 -0700 Message-ID: From: Kevin Oberman To: Joe Marcus Clarke Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-gnome@freebsd.org Subject: Re: HAL issues 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: Sun, 24 Jul 2011 23:44:54 -0000 On Wed, Jul 20, 2011 at 10:18 PM, Kevin Oberman wrote: > On Wed, Jul 20, 2011 at 5:53 PM, Joe Marcus Clarke wrote: >> >> Give this patch a shot. >> >> http://www.marcuscom.com/downloads/patch-hald_freebsd_hf-storage.c > > Thanks, Joe. That did it. All three file systems now mount as they should. > Please feel free to commit. I'm sure that others have hit this, too, although > it is a rather odd case. > -- > R. Kevin Oberman, Network Engineer - Retired > E-mail: kob6558@gmail.com > OK. It looks like a race condition of some sort. I'll send the verbose hald log with annotations shortly, but I can confirm that the version I was running after applying your patch and the one in ports are identical. If I plug in the disk and start Gnome, all is well. (Yea!) If I unmount the disk file systems, unplug the disk, and plug it back in, nothing happens, though hald does log a lot and clearly sees the insertion. Then I do an 'fsck_msdosfs /dev/da0s2' and both drives mount, but I have two errors, one my favorite "unknown error" and the other that the first FS can't be mounted. But it is. Both are mounted, but I can't unmount the first FS (da0s1) because no entry was made in /media/.hal-mtab for that FS. The other one unmountes fine and, if I manually add an entry for the first FS, it unmounts, as well, but reports failure because it says that it could not delete the directory (/media/MUSICBACKUP). It also does not seem to delete the entry from /media/.hal-mtab. I will shortly annotate the verbose output from hald and send it off, but I don't have time ATM. -- R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com