Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2011 23:59:57 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Kevin Oberman <kob6558@gmail.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: HAL issues
Message-ID:  <4E34D33D.4090501@freebsd.org>
In-Reply-To: <CAN6yY1uBXmgeR7Vr5BMx%2BB8VFDRoKh5H6AYAwcg4oiYYbHL6uA@mail.gmail.com>
References:  <CAN6yY1v%2BQSZfjsx11NO-ZC9pYPAgCGrxsJFfP_FGA-7qrWr%2Beg@mail.gmail.com> <4E25E739.2020301@freebsd.org> <CAN6yY1vm3_fviB1KzBAGZn=akXBD6rPeEGwpeu_8OS7V4cis7w@mail.gmail.com> <4E277870.8010506@freebsd.org> <CAN6yY1srFGCysNj7D9Vg4xxmB9LGW3gEKfPQFUA7GmD-RavM=A@mail.gmail.com> <CAN6yY1t9dpCofRhH3JS2LSoQpwr6=4T1Ob_Ra6X7M=_8RaBStg@mail.gmail.com> <CAN6yY1uBXmgeR7Vr5BMx%2BB8VFDRoKh5H6AYAwcg4oiYYbHL6uA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/27/11 6:45 PM, Kevin Oberman wrote:
> On Sun, Jul 24, 2011 at 4:44 PM, Kevin Oberman <kob6558@gmail.com> wrote:
>> On Wed, Jul 20, 2011 at 10:18 PM, Kevin Oberman <kob6558@gmail.com> wrote:
>>> On Wed, Jul 20, 2011 at 5:53 PM, Joe Marcus Clarke <marcus@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E34D33D.4090501>