SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.