LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2008, 10:12 AM   #1
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Rep: Reputation: 16
hald dies immediately on 12.1


Hi,

I recently did a fresh install of slackware 12.1, and tried plugging in an external harddisk expecting kde to pop up a window. I am part of the floppy, audio, cdrom and plugdev groups as per reccommendation of 'adduser'. rc.hald, rc.messagebus and rc.udev are executable. However, no pop up window appears. I have checked kde control center and media notifier daemon and KDED media manager are running. 'udevmonitor' and the syslog show that plugged in usb devices are detected and I can mount these manually.

After some research I found that '/etc/rc.d/rc.hald stop' returns '/etc/rc.d/rc.hald: line 25: kill: (4773) - No such process'. In fact, hald --daemon=yes seems to die immediately. Some helper services are still active, and each restart an extra instance of each is found with 'ps aux | grep hald':
Quote:
root 4785 0.0 0.0 2744 984 ? S 16:58 0:00 hald-addon-usb-csr: listening on 'MX1000 Laser Mouse'
root 4786 0.0 0.1 3184 1096 ? S 16:58 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1
82 4790 0.0 0.0 2212 936 ? S 16:58 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 4811 0.0 0.0 3184 1004 ? S 16:58 0:00 hald-addon-storage: no polling because /dev/sdg is locked via HAL
root 4813 0.0 0.0 3184 1004 ? S 16:58 0:00 hald-addon-storage: no polling because /dev/sdh is locked via HAL
root 4837 0.0 0.0 2744 984 ? S 16:59 0:00 hald-addon-usb-csr: listening on 'MX1000 Laser Mouse'
root 4838 0.0 0.1 3184 1100 ? S 16:59 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1
82 4842 0.0 0.0 2212 936 ? S 16:59 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 4863 0.0 0.0 3184 1004 ? S 16:59 0:00 hald-addon-storage: no polling because /dev/sdg is locked via HAL
root 4865 0.0 0.0 3184 1008 ? S 16:59 0:00 hald-addon-storage: no polling because /dev/sdh is locked via HAL
root 4889 0.0 0.0 2744 984 ? S 16:59 0:00 hald-addon-usb-csr: listening on 'MX1000 Laser Mouse'
root 4890 0.0 0.1 3184 1092 ? S 16:59 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1
82 4894 0.0 0.0 2212 936 ? S 16:59 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 4915 0.0 0.0 3184 1008 ? S 16:59 0:00 hald-addon-storage: no polling because /dev/sdg is locked via HAL
root 4917 0.0 0.0 3184 1004 ? S 16:59 0:00 hald-addon-storage: no polling because /dev/sdh is locked via HAL
root 4941 0.0 0.0 2744 980 ? S 17:00 0:00 hald-addon-usb-csr: listening on 'MX1000 Laser Mouse'
root 4942 0.0 0.1 3184 1096 ? S 17:00 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1
82 4946 0.0 0.0 2212 936 ? S 17:00 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 4967 0.0 0.0 3184 1008 ? S 17:00 0:00 hald-addon-storage: no polling because /dev/sdg is locked via HAL
root 4969 0.0 0.0 3184 1008 ? S 17:00 0:00 hald-addon-storage: no polling because /dev/sdh is locked via HAL
root 4993 0.0 0.0 2744 984 ? S 17:00 0:00 hald-addon-usb-csr: listening on 'MX1000 Laser Mouse'
root 4994 0.0 0.1 3184 1092 ? S 17:00 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1
82 4998 0.0 0.0 2212 932 ? S 17:00 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 5019 0.0 0.0 3184 1008 ? S 17:00 0:00 hald-addon-storage: no polling because /dev/sdg is locked via HAL
root 5021 0.0 0.0 3184 1008 ? S 17:00 0:00 hald-addon-storage: no polling because /dev/sdh is locked via HAL
root 5027 0.0 0.0 2056 640 pts/2 R+ 17:01 0:00 grep hald
User 82 seems to be the haldaemon. There is no '/usr/sbin/hald --daemon=yes' while on a laptop with 12.1 and no problems this does show up and restart of hald doesn't spew an error message.

Running 'hald --daemon=no yields:
Quote:
Runner started - allowed paths are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
Run started hald-probe-smbios (10000) (0)
! full path is '/usr/libexec/hald-probe-smbios', program_dir is '/usr/libexec'

(process:8516): GLib-CRITICAL **: g_hash_table_foreach_remove: assertion `hash_t
able != NULL' failed
/usr/libexec/hald-probe-smbios exited
Run started hald-addon-usb-csr (0) (0)
! full path is '/usr/libexec/hald-addon-usb-csr', program_dir is '/usr/libexec'

** (process:8516): CRITICAL **: hal_property_get_string: assertion `prop->type =
= HAL_PROPERTY_TYPE_STRING' failed
Run started hald-addon-input (0) (0)
! full path is '/usr/libexec/hald-addon-input', program_dir is '/usr/libexec'
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
Run started hal-storage-cleanup-all-mountpoints (10000) (0)
! full path is '/usr/libexec/hal-storage-cleanup-all-mountpoints', program_dir
is '/usr/libexec'
in hal-storage-cleanup-all-mountpoints
hal_mtab = ''
/usr/libexec/hal-storage-cleanup-all-mountpoints exited
Run started hald-addon-cpufreq (0) (0)
! full path is '/usr/libexec/hald-addon-cpufreq', program_dir is '/usr/libexec'
23:00:45.474 [W] addon-cpufreq.c:1323: CPUFreq not supported. Exiting...
/usr/libexec/hald-addon-cpufreq exited
Run started hald-addon-acpi (0) (0)
! full path is '/usr/libexec/hald-addon-acpi', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
23:00:45.494 [D] addon-input.c:372: /org/freedesktop/Hal/devices/computer_logica
ldev_input_1: Listening on /dev/input/event3
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
/usr/libexec/hald-probe-storage exited
23:00:45.510 [D] addon-input.c:372: /org/freedesktop/Hal/devices/computer_logica
ldev_input_0: Listening on /dev/input/event2
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
23:00:45.526 [D] addon-input.c:372: /org/freedesktop/Hal/devices/platform_i8042_
i8042_KBD_port_logicaldev_input: Listening on /dev/input/event1
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec'
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-volume (10000) (0)
! full path is '/usr/libexec/hald-probe-volume', program_dir is '/usr/libexec'
/usr/libexec/hald-probe-volume exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec
woohoo
/usr/libexec/hald-probe-storage exited
Run started hald-probe-storage (10000) (0)
! full path is '/usr/libexec/hald-probe-storage', program_dir is '/usr/libexec
woohoo
/usr/libexec/hald-probe-storage exited
*** [DIE] hald_runner.c:runner_died():202 : Runner died
I have tried reinstalling all hal* and dbus* packages to no avail. Anybody have a clue/idea how I can get the beautiful popups from kde back?

Last edited by cor67393; 08-11-2008 at 04:03 PM. Reason: Misquoted the hald --daemon=no log
 
Old 08-12-2008, 02:59 AM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
To get the popups back, you need to run HAL. However, as we can see, HAL dies on your computer after starting. A search in Google for the error message you get gives 5 results, one of them being your post. If you remove the line number, the number of results raises a little bit, but only to 51 results. This would be a very uncommon problem. Maybe it's not even a HAL bug, but a kernel bug or faulty hardware.

My 2 cents.

However, check the results. Specifically, a guy here at LQ.org straced the problem back to a missing library, so check your system.

http://www.google.com/search?hl=en&q...ed&btnG=Search

Last edited by rg3; 08-12-2008 at 03:01 AM.
 
Old 08-12-2008, 09:40 AM   #3
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Original Poster
Rep: Reputation: 16
In the end the solution ended up being more simple than that. Out of laziness to investigate (and understand) gdb and strace, I reinstalled 12.1. At the first boot, everything was fine with hald. However, before the second boot I removed the dvdrom drive I used to install and attached a harddisk instead. Hald started to die like before.

Rebooting and removing the harddisk, or attaching the cdrom had no effect. Booting with hald and messagebus disabled had and starting them a boot later had no effect either. Child processes which remained after each try of starting hald were killed with:
Quote:
pkill hald
I then started to look into what rc.udev does. After executing:
Quote:
/etc/rc.d/rc.udev force-reload
I could start hald succesfully again. It is working as expected now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
if qemu dies, my mouse dies with it eantoranz Linux - Software 3 11-02-2007 10:30 PM
hald underscorelinux Linux - Software 0 10-07-2005 09:12 AM
Network dies almost immediately (FC3) tbthorpe Linux - Wireless Networking 3 09-23-2005 05:09 PM
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 11:54 AM
MySQL server dies immediately upon startup... CrazyPilot Linux - Software 2 03-22-2005 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration