Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182500 - starting hal-0.5.9-r1 goes on infinitely with "device_info.c:983: Unhandled rule (0)!"
Summary: starting hal-0.5.9-r1 goes on infinitely with "device_info.c:983: Unhandled r...
Status: RESOLVED DUPLICATE of bug 172830
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 19:19 UTC by Simon Siemonsma
Modified: 2007-06-19 19:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of hald --daemon=no --verbose=yes (typescript,51.64 KB, text/plain)
2007-06-18 19:20 UTC, Simon Siemonsma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Siemonsma 2007-06-18 19:19:32 UTC
The startup procedure hangs for quit some time when trying to start hal. In the end if fails (marks the line with "!!")
Not starting hal automatically but by hand unveiled the attached data.

Reproducible: Always

Steps to Reproduce:
1./etc/init.d/dbus start
2.hald --daemon=no --verbose=yes
3.

Actual Results:  
See the attachment


After masking hal 0.5.9-r1 and downgrading to hal -0.5.7-r3 everything works fine again.
A recompile of the linux-headers and glibc didn't help.
removing of an fdi file originating from gphoto2 also didn't help.

Some people also mentioned this the forum:
http://forums.gentoo.org/viewtopic-t-561490-highlight-.html?sid=ff7f695793b558b95f1e077596b98439
http://forums.gentoo.org/viewtopic-p-4041518.html?sid=b07b4ad00644192db8da7fc5372e239b
Comment 1 Simon Siemonsma 2007-06-18 19:20:35 UTC
Created attachment 122434 [details]
output of hald --daemon=no --verbose=yes
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-18 20:09:25 UTC
reopen with emerge --info and lshal output attached. Thanks.
Comment 3 Bjorn Fahller 2007-06-18 21:23:40 UTC
Not being the orinigator, I can't say for sure this is the same problem, but:

hallucinator ~ # emerge --info
Portage 2.1.2.7 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-50
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 18 Jun 2007 16:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US en_GB sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac alsa apm arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dga directfb dri dts dvd dxr3 eds emacs emboss encode fbcon flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 hal iconv imlib isdnlog jpeg kde kerberos libg++ libwww mad madwifi midi mikmod mmap mmx motif mp3 mpeg mplayer mudflap ncurses nls ogg opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 quicktime readline reflection sasl sdl session spell spl ssl svga tcpd theora truetype truetype-fonts type1-fonts usb vidix vorbis win32codecs wireless x86 xml xorg xv xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB sv" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

hallucinator ~ # lshal
Could not initialise connection to hald.
Normally this means the HAL daemon (hald) is not running or not ready.


I guess the daemon doesn't get far enough to respond to anything. It just keeps spitting out its "device_info.c:983: Unhandled rule (0)!"

Tried to reopen, but not being the originator I'm not allowed to do that.

   _
/Bjorn
Comment 4 Bjorn Fahller 2007-06-18 21:25:05 UTC
Forgot to mention it, but only way to stop hald from it's tight infinite loop is kill -9.
   _
/Bjorn
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-06-18 21:38:54 UTC
Also, do you have media-gfx/gphoto2 installed? If yes, unmerge it and try again.
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2007-06-18 21:43:54 UTC
Did you update your config with etc-update?
Comment 7 Bjorn Fahller 2007-06-18 23:32:15 UTC
Yes I ran etc-update, and accepted all defaults, since I never changed the originals.

No gphoto2 installed.

I just downgraded to 0.5.7.1-r5, and it works fine. I'll upgrade again to try whatever your next suggestion might be.
   _
/Bjorn
Comment 8 Martin Skou Andersen 2007-06-19 07:16:21 UTC
I can confirm this behavior.

After an "emerge -uDN world" hal is going crazy. I updated config-files with "etc-update".

Running "hald --daemon=no --verbose=yes" returns the following output:
22:51:11.809 [I] hald.c:533: hal 0.5.9
22:51:11.809 [I] hald.c:598: Will not daemonize
22:51:11.809 [I] hald_dbus.c:4807: local server is listening at unix:abstract=/var/run/hald/dbus-73GJbfcqps,guid=4ccb09331085f687a93c27004676f03f
--- snip --- a lot of devices being registered ---
22:51:12.197 [D] hald_dbus.c:1550: udi=/org/freedesktop/Hal/devices/computer, key=smbios.chassis.manufacturer
[11702]: 22:51:12.198 [D] probe-smbios.c:99: Copying system.chassis.type -> smbios.chassis.type
22:51:12.198 [D] hald_dbus.c:1550: udi=/org/freedesktop/Hal/devices/computer, key=smbios.chassis.type
/usr/libexec/hald-probe-smbios exited
22:51:12.198 [W] device_info.c:983: Unhandled rule (0)!

With the last line looping endlessly.


~ # emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.18-suspend2-r1 i686)
=================================================================
System uname: 2.6.18-suspend2-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 18 Jun 2007 19:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.intergenia.de http://mirror.uni-c.dk/pub/gentoo/ http://gentoo.tiscali.nl/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="da en_GB en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/auto/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 asf beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus directfb djvu dmi doc dri dvd dvdr dvdread dvi emacs emboss encode esd evo exif fam fbcon fbsplash ffmpeg firefox flac fortran gcj gd gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java jpeg jpeg2k kerberos latex ldap libg++ logrotate mad math midi mikmod mng mono mozdevelop mozilla mp3 mpeg msn mudflap musicbrainz mysql nautilus ncurses new-login nls nptl nptlonly nsplugin ogg opengl openmp oss pam pam_console pcre pdf perl png postscript pppd python qt3 qt3support qt4 quicktime readline real reflection rtsp samba sdl session spell spl ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs x264 x86 xine xml xmlreader xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

~ # lshal 
Could not initialise connection to hald.
Normally this means the HAL daemon (hald) is not running or not ready.

/Skou
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-06-19 10:17:38 UTC
Eh...
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2007-06-19 15:06:23 UTC
Do you have gphoto2 installed?
Comment 11 Martin Skou Andersen 2007-06-19 16:01:45 UTC
(In reply to comment #10)
> Do you have gphoto2 installed?

No, but libgphoto2 is installed.


~ # eix gphoto
* media-gfx/gphoto2
     Available versions:  2.1.4 2.1.5 ~2.1.6 2.2.0 ~2.3.1
     Homepage:            http://www.gphoto.org/
     Description:         free, redistributable digital camera software application

[I] media-libs/libgphoto2
     Available versions:  2.2.1-r1 ~2.3.1-r2 ~2.3.1-r3 ~2.3.1-r4
     Installed versions:  2.2.1-r1(01:05:38 30/05/07)(doc exif hal nls)
     Homepage:            http://www.gphoto.org/
     Description:         Library that implements support for numerous digital cameras

Found 2 matches.

/Skou
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2007-06-19 16:07:03 UTC
That's what I meant. Sorry. Try uninstalling libgphoto2 and trying HAL again. If that fixes it, then this bug is a dup of bug #172830.
Comment 13 Martin Skou Andersen 2007-06-19 17:01:05 UTC
(In reply to comment #12)
> That's what I meant. Sorry. Try uninstalling libgphoto2 and trying HAL again.
> If that fixes it, then this bug is a dup of bug #172830.

Removing "libgphoto2" does indeed fix the problem.

/Skou
Comment 14 Bjorn Fahller 2007-06-19 17:06:38 UTC
bf@hallucinator ~/devel/dispatcher $ sudo emerge -s libgphoto2
Password:
Searching...
[ Results for search key : libgphoto2 ]
[ Applications found : 1 ]

*  media-libs/libgphoto2
      Latest version available: 2.2.1-r1
      Latest version installed: [ Not Installed ]
      Size of files: 4,369 kB
      Homepage:      http://www.gphoto.org/
      Description:   Library that implements support for numerous digital cameras
      License:       GPL-2

Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2007-06-19 18:05:55 UTC
(In reply to comment #14)

The only thing I can tell you is that you have something installing a bad rule file in /usr/share/hal/fdi/ or /etc/hal/fdi. Find it.
Comment 16 Simon Siemonsma 2007-06-19 19:35:22 UTC
(In reply to comment #2)
> reopen with emerge --info and lshal output attached. Thanks.
> 

After all it seems it had to do something with gphoto2.
Looks like I didn't test well enough before.
The problem disappered when I deleted the dfi file.
Just hope this will not get me into other problems.

Simon
Comment 17 Doug Goldstein (RETIRED) gentoo-dev 2007-06-19 19:45:51 UTC

*** This bug has been marked as a duplicate of bug 172830 ***