HAL issues

Kevin Oberman kob6558 at gmail.com
Tue Jul 19 20:03:55 UTC 2011


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.
-- 
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6558 at gmail.com


More information about the freebsd-gnome mailing list