Date: Sun, 24 Jul 2011 16:44:52 -0700 From: Kevin Oberman <kob6558@gmail.com> To: Joe Marcus Clarke <marcus@freebsd.org> Cc: freebsd-gnome@freebsd.org Subject: Re: HAL issues Message-ID: <CAN6yY1t9dpCofRhH3JS2LSoQpwr6=4T1Ob_Ra6X7M=_8RaBStg@mail.gmail.com> In-Reply-To: <CAN6yY1srFGCysNj7D9Vg4xxmB9LGW3gEKfPQFUA7GmD-RavM=A@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1t9dpCofRhH3JS2LSoQpwr6=4T1Ob_Ra6X7M=_8RaBStg>