Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2006 14:23:26 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "manphiz@gmail.com" <manphiz@gmail.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Possible missing file in hal installation
Message-ID:  <1167593006.52924.1.camel@shumai.marcuscom.com>
In-Reply-To: <4597FD9B.7060704@gmail.com>
References:  <4597FD9B.7060704@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-lFMD6UU/0CB8zr9l78Pi
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2007-01-01 at 02:12 +0800, manphiz@gmail.com wrote:
> I've been frustrating by the hal problem which is probably due to lack=20
> of hald-addon-acpi or similar stuff. here's the output from the commands:
>=20
> -----BEGIN PASTE-----
>=20
> # hald --daemon=3Dno --verbose=3Dyes
> 00:36:17.136 [I] hald.c:469: hal 0.5.8
> 00:36:17.136 [I] hald.c:534: Will not daemonize
> 00:36:17.136 [I] hald_dbus.c:3238: local server is listening at=20
> unix:path=3D/var/run/hald/dbus-tc8Wy2La5k,guid=3Dad4c24e578b961e09af77c00=
4597e701
> 00:36:17.146 [I] hald_runner.c:116: Runner has pid 64356
> Runner started - allowed paths are=20
> '/usr/local/libexec:/usr/local/libexec/hal/scripts:/usr/local/bin'
> 00:36:17.167 [I] hf-usb.c:575: unable to open /dev/usb: Device busy
> Run started hald-probe-smbios (10000) (0)
> !  full path is '/usr/local/libexec/hald-probe-smbios', program_dir is=20
> '/usr/local/libexec'
> 00:36:17.248 [I] hald_dbus.c:3197: 64355: Got a connection
> 00:36:17.248 [I] hald_dbus.c:3198: dbus_connection_get_is_connected =3D 1
> 00:36:17.252 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.bios.vendor
> hald-probe-smbios info: Setting smbios.bios.vendor=3D'Phoenix'
> 00:36:17.252 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.bios.version
> hald-probe-smbios info: Setting smbios.bios.version=3D'G.W-0F05'
> 00:36:17.253 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.bios.release_da=
te
> hald-probe-smbios info: Setting smbios.bios.release_date=3D'03/08/2004'
> 00:36:17.253 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.system.manufact=
urer
> hald-probe-smbios info: Setting smbios.system.manufacturer=3D'GREATWALL'
> 00:36:17.254 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.system.product
> hald-probe-smbios info: Setting smbios.system.product=3D'M620DC'
> 00:36:17.254 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.system.version
> hald-probe-smbios info: Setting smbios.system.version=3D'G.W-0F05'
> 00:36:17.254 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.system.serial
> hald-probe-smbios info: Setting smbios.system.serial=3D'20011221'
> 00:36:17.255 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.system.uuid
> hald-probe-smbios info: Setting=20
> smbios.system.uuid=3D'436F6F70-6572-5370-7572-5F424F415244'
> 00:36:17.255 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.chassis.manufac=
turer
> hald-probe-smbios info: Setting smbios.chassis.manufacturer=3D'GREATWALL'
> 00:36:17.256 [D] hald_dbus.c:1194:=20
> udi=3D/org/freedesktop/Hal/devices/computer, key=3Dsmbios.chassis.type
> hald-probe-smbios info: Setting smbios.chassis.type=3D'Other'
> /usr/local/libexec/hald-probe-smbios exited
> 00:36:17.257 [I] hald_dbus.c:3175: Client to local_server was disconnecte=
d
> 00:36:17.257 [I] hald_dbus.c:3185: unregistered
> 00:36:17.271 [I] device_info.c:1427: *** Matched file=20
> /usr/local/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi
> 00:36:17.272 [I] device_info.c:1427: *** Matched file=20
> /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
> 00:36:17.272 [I] util.c:972: Add callouts for=20
> udi=3D/org/freedesktop/Hal/devices/computer
> Run started hal-system-storage-cleanup-mountpoints (10000) (0)
> !  full path is=20
> '/usr/local/libexec/hal/scripts/hal-system-storage-cleanup-mountpoints',=20
> program_dir is '/usr/local/libexec/hal/scripts'
> /usr/local/libexec/hal/scripts/hal-system-storage-cleanup-mountpoints exi=
ted
> 00:36:17.301 [I] hald.c:82: Added device to GDL;=20
> udi=3D/org/freedesktop/Hal/devices/computer
> Run started hald-addon-acpi (0) (0)
> !  full path is 'hald-addon-acpi', program_dir is '(null)'
> 00:36:17.323 [I] hald.c:95: Started addon hald-addon-acpi for udi=20
> /org/freedesktop/Hal/devices/computer
>=20
> -----END PASTE-----
>=20
> then it got stuck and CPU ran up to 100%. Evidence shows it is very=20
> likely related to the missing of hald-addon-acpi.
>=20
> Here's some system information maybe helpful:
>=20
> -----BEGIN PASTE-----
>=20
> $ uname -a
> FreeBSD localhost. 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sun Dec 31=20
> 19:42:43 CST 2006     root@localhost.:/usr/obj/usr/src/sys/GENERIC  i386
>=20
> $ pkg_info | grep hal-0.5.8
> hal-0.5.8.20061224  Hardware Abstraction Layer for simplifying device acc=
ess
>=20
> $ /usr/bin/env
> DESKTOP_STARTUP_ID=3D
> SHELL=3D/usr/local/bin/bash
> TERM=3Dxterm
> CLICOLOR=3DYES
> GTK_RC_FILES=3D/usr/local/etc/gtk/gtkrc:/home/manphiz/.gtkrc-1.2-gnome2
> WINDOWID=3D18888129
> USER=3Dmanphiz
> GNOME_KEYRING_SOCKET=3D/var/tmp/keyring-BXcAW6/socket
> SESSION_MANAGER=3Dlocal/localhost.:/tmp/.ICE-unix/52216
> FTP_PASSIVE_MODE=3DYES
> PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca=
l/bin:/usr/X11R6/bin:/home/manphiz/bin
> MAIL=3D/var/mail/manphiz
> BLOCKSIZE=3DK
> PWD=3D/home/manphiz
> XMODIFIERS=3D@im=3Dfcitx
> LANG=3Den_US.UTF-8
> HOME=3D/home/manphiz
> SHLVL=3D2
> GNOME_DESKTOP_SESSION_ID=3DDefault
> LOGNAME=3Dmanphiz
> DBUS_SESSION_BUS_ADDRESS=3Dunix:path=3D/var/tmp/dbus-RoAXiZNHSv,guid=3Dfb=
2bbd6083c53125a2981d004597f8a1
> LC_CTYPE=3Dzh_CN.UTF-8
> DISPLAY=3D:0.0
> COLORTERM=3Dgnome-terminal
> XAUTHORITY=3D/home/manphiz/.Xauthority
> _=3D/usr/bin/env
>=20
> -----END PASTE-----
>=20
> Also, from discussion on ##freebsd at freenode, hald-addon-acpi is=20
> considered to be linux-stuff, so maybe stale configuration is=20
> responsible too. It is also interesting that there are other people who=20
> also got hald-addon-acpi missing but hald still functions correctly, so=20
> maybe something else is indeed the problem.

You should try ktracing hald to see what it's doing.  Or recompile it
with debugging symbols, then use gdb to break into it and find out where
in the code it's looping.  The latter would be the most helpful.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-lFMD6UU/0CB8zr9l78Pi
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFmA4ub2iPiv4Uz4cRAhcEAJ0UR6L90eYT8dKNtxvoXsdF2ckkuACgqcxK
raTB9sk34C/xzAWut354M9c=
=AOka
-----END PGP SIGNATURE-----

--=-lFMD6UU/0CB8zr9l78Pi--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1167593006.52924.1.camel>