From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 7 05:14:28 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 E9DCB106566C; Sun, 7 Aug 2011 05:14:27 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 93FD78FC08; Sun, 7 Aug 2011 05:14:27 +0000 (UTC) Received: by gxk28 with SMTP id 28so209124gxk.13 for ; Sat, 06 Aug 2011 22:14:26 -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:content-transfer-encoding; bh=GdRLpfk73bRT+ifgSEsumzaL5vZkESEXahvQGIi1Bek=; b=ibzRN7cMOxu03y7bIW+BF+6HWD7aTCIyYchPcK/qpJea4XXq3rlOXR8fc28FQhqnmA XrLRtPsUVrUeZFAkjEWIP+FAG2xE+Y8zG/junjEkTR3yAoUj7D7I4QDIbdVWEn5a17T3 IvjHrZn3JlYZii2IeNvnjBLLVQ1GzM/KtX8Tc= MIME-Version: 1.0 Received: by 10.150.96.1 with SMTP id t1mr4586981ybb.297.1312694066831; Sat, 06 Aug 2011 22:14:26 -0700 (PDT) Received: by 10.150.97.3 with HTTP; Sat, 6 Aug 2011 22:14:26 -0700 (PDT) In-Reply-To: <4E3E18DE.8080001@freebsd.org> References: <4E25E739.2020301@freebsd.org> <4E277870.8010506@freebsd.org> <4E34D33D.4090501@freebsd.org> <4E3E18DE.8080001@freebsd.org> Date: Sat, 6 Aug 2011 22:14:26 -0700 Message-ID: From: Kevin Oberman To: Joe Marcus Clarke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, 07 Aug 2011 05:14:28 -0000 On Sat, Aug 6, 2011 at 9:47 PM, Joe Marcus Clarke wrot= e: > On 8/3/11 6:15 PM, Kevin Oberman wrote: >> On Sun, Jul 31, 2011 at 10:37 PM, Kevin Oberman wrot= e: >>> On Sat, Jul 30, 2011 at 8:59 PM, Joe Marcus Clarke = wrote: >>>> On 7/27/11 6:45 PM, Kevin Oberman wrote: >>>>> 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 t= here are >>>>> still issues with the contents of /media/.hal-mtab. >>>>> >>>>> The attached log is annotated to explain what is triggering the outpu= t. >>>>> >>>>> Hope this helps! Let me know if other information would help. >>>> >>>> Try http://www.marcuscom.com/downloads/patch-hald_freebsd_hf-storage.c >>>> >>>> Joe >>> >>> No difference that I can see. When I plug the disk in, nothing >>> happens. lshal only reports da0. If I do a geli attach of da0s3, all >>> three file systems mount. All is as it should be. If I unmount all of >>> them and disconnect/re-connect, nothing mounts, again. If I >>> fsck_msdosfs /dev/da0s2, it mounts all three filesystems, but the file >>> system on da0s1 is not added to .hal-mtab, so I have to edit the file >>> to unmount it. >>> >>> All of this is exactly what was happening prior to the latest patch. >>> The annotated hald verbose output is attached, though it may or may >>> not be useful. >>> >>> If I get a bit of time, I'll build hald for debugging an see if I can >>> find out what is happening. I've read enough of the code that I may be >>> able to figure out what is needed. I assume that you don't have any >>> disks configured to do this. >> >> Joe, >> >> Any clues about how to debug hald? >> >> I built hald with WITH_DEBUG and can start it in gdb, but I let it do >> its initial >> run and then interrupt and set break-points only to get: >> Continuing. >> *** [DIE] hald_runner.c:runner_died():204 : Runner died >> >> Program exited with code 01. >> >> Is there a way to avoid this or am I going to be stuck with debug via >> print statements? :-( > > I never use WITH_DEBUG. =A0I think I was able to debug hald, but it's bee= n > a while. =A0I would build with "-g -O -pipe" and set STRIP=3D . > > I don't see what could be causing the problem you're seeing. =A0I suppose > there may be a problem seeing all of the file systems on the disk. =A0I > don't have a removable disk with multiple file systems, and I don't use > geli. =A0You might be better off using printf's to look at the hf-storage > code at the time the disk attaches. =A0Walk through the code paths there. Thanks, Joe. I'll give it a try when I get a bit of time. Oddly, being reti= red doesn't seem to mean I have more free time than I had when working. :-( --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com