From owner-freebsd-gnome@FreeBSD.ORG Sun Jul 31 04:00:07 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 2A44A1065670 for ; Sun, 31 Jul 2011 04:00:07 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-sj.cisco.com (firebird.cisco.com [171.68.227.73]) by mx1.freebsd.org (Postfix) with ESMTP id F28E48FC0C for ; Sun, 31 Jul 2011 04:00:06 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-sj.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id p6V405K8026795; Sat, 30 Jul 2011 21:00:05 -0700 (PDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id p6V3xwvu023295; Sat, 30 Jul 2011 23:59:58 -0400 (EDT) Message-ID: <4E34D33D.4090501@freebsd.org> Date: Sat, 30 Jul 2011 23:59:57 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Kevin Oberman References: <4E25E739.2020301@freebsd.org> <4E277870.8010506@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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, 31 Jul 2011 04:00:07 -0000 On 7/27/11 6:45 PM, Kevin Oberman wrote: > On Sun, Jul 24, 2011 at 4:44 PM, Kevin Oberman wrote: >> 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 > > Joe, > > It's taken a while, but here is verbose output from hald showing the problems. > Seems like I need to trigger a re-taste to get hald to proceed, but there are > still issues with the contents of /media/.hal-mtab. > > The attached log is annotated to explain what is triggering the output. > > Hope this helps! Let me know if other information would help. Try http://www.marcuscom.com/downloads/patch-hald_freebsd_hf-storage.c Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome