From owner-freebsd-gnome@FreeBSD.ORG Wed Aug 3 22:15:10 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 111331065673; Wed, 3 Aug 2011 22:15:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id B04818FC0C; Wed, 3 Aug 2011 22:15:09 +0000 (UTC) Received: by gyf3 with SMTP id 3so948588gyf.13 for ; Wed, 03 Aug 2011 15:15:09 -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=dq5Dm/YK5vuua2JRWkmE7i5pNN4Ar0SArzx5noQydEI=; b=roNOP3bwK9zXojkvHbG+gRnmwhOqo3ZVGrHGUSl03I+JexEHWNUf0lNQNA8bymxDI3 5pTcJcJ0DBxhVRpoP1PlgZ+uglBWhtZa/ZPTY+Hs5jVY1nj7i5T/2NOmeClrbukbPwYh 7v/H/3+zX0C1NzxzGmnznWpKQxKTCD/0r7sI8= MIME-Version: 1.0 Received: by 10.151.39.11 with SMTP id r11mr1254529ybj.411.1312409708978; Wed, 03 Aug 2011 15:15:08 -0700 (PDT) Received: by 10.150.97.3 with HTTP; Wed, 3 Aug 2011 15:15:08 -0700 (PDT) In-Reply-To: References: <4E25E739.2020301@freebsd.org> <4E277870.8010506@freebsd.org> <4E34D33D.4090501@freebsd.org> Date: Wed, 3 Aug 2011 15:15:08 -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: Wed, 03 Aug 2011 22:15:10 -0000 On Sun, Jul 31, 2011 at 10:37 PM, Kevin Oberman wrote: > 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 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 > > 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? :-( -- R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com