From owner-freebsd-gnome@FreeBSD.ORG Tue Jul 19 20:21:15 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 AFB151065670 for ; Tue, 19 Jul 2011 20:21:15 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 6E21F8FC18 for ; Tue, 19 Jul 2011 20:21:15 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id p6JKLE8E012606; Tue, 19 Jul 2011 16:21:14 -0400 (EDT) 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 p6JKLDF6007398; Tue, 19 Jul 2011 16:21:13 -0400 (EDT) Message-ID: <4E25E739.2020301@freebsd.org> Date: Tue, 19 Jul 2011 16:21:13 -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: 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: Tue, 19 Jul 2011 20:21:15 -0000 On 7/19/11 3:32 PM, Kevin Oberman wrote: > I know HAL is probably on its last legs, but it still frustrates me on > a regular basis. > > As of the current ports (updated yesterday), it works pretty well, but > I am having a couple > of annoying issues. One is with a filesystem that hald does not see. > > First is a geli encrypted UFS system that hald simply does not see. > When I connect the > drive, I see devd reporting: > !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/0.4.0 > !system=DEVFS subsystem=CDEV type=CREATE cdev=ugen0.4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/0.4.1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=usb/0.4.2 > +ugen0.4 at port=2 vendor=0x0bc2 product=0x2300 devclass=0x00 > devsubclass=0x00 sernum="2GH5KM5P " release=0x0130 on ugen0.2 > !system=USB subsystem=DEVICE type=ATTACH ugen=ugen0.4 cdev=ugen0.4 > vendor=0x0bc2 product=0x2300 devclass=0x00 devsubclass=0x00 > sernum="2GH5KM5P " release=0x0130 mode=host port=2 parent=ugen0.2 > !system=USB subsystem=INTERFACE type=ATTACH ugen=ugen0.4 cdev=ugen0.4 > vendor=0x0bc2 product=0x2300 devclass=0x00 devsubclass=0x00 > sernum="2GH5KM5P " release=0x0130 mode=host interface=0 endpoints=2 > intclass=0x08 intsubclass=0x06 intprotocol=0x50 > +umass0 vendor=0x0bc2 product=0x2300 devclass=0x00 devsubclass=0x00 > sernum="2GH5KM5P " release=0x0130 mode=host intclass=0x08 > intsubclass=0x06 intprotocol=0x50 at bus=2 hubaddr=2 port=0 devaddr=4 > interface=0 vendor=0x0bc2 product=0x2300 devclass=0x00 > devsubclass=0x00 sernum="2GH5KM5P " release=0x0130 mode=host > intclass=0x08 intsubclass=0x06 intprotocol=0x50 on uhub3 > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass2 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s2 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s3 > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/MUSICBACKUP > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/MUSIC2BCKUP > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s3.eli > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s3.elid > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4bdb229f7dfac54e > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Auxbak > > Then I attach the geli encrypted slice and devd reports: > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s3.elid > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufsid/4bdb229f7dfac54e > !system=DEVFS subsystem=CDEV type=CREATE cdev=ufs/Auxbak > but lshal only shows: > udi = '/org/freedesktop/Hal/devices/volume_size_533779542016' > block.device = '/dev/da0s3.eli' (string) > [...] > with no 'd' partition and no ufs entry. As a result, it does not get > mounted. I can mount it > manually fine, so there is no FS issue, I've even triggered a > re-taste, but it still is missing. > > I'm probably going to have to build hald with debug to track this > down, but I thought I'd > ask for any suggestions of what to look for or how best to debug it. You need to provide the additional information documented at http://www.freebsd.org/gnome/docs/halfaq.html#q4 . Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome