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 01-22-2007, 11:46 AM   #1
akjo
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch LInux
Posts: 10

Rep: Reputation: 0
HAL won't load


Hello all.

After I managed to get X/nvidia running(See thread named NVIDIA Drivers + Slack 11 SMP kernel below) I decided to upgrade XFCE to version 4.4.

Installation went nice thanks to the help of this page(http://turkey.fvdh.net/~hanumizzle/xfce4-review/) and I got it up and running. I had small problems with dbus, that is the libdbus libraries had wrong names, but that was solved by linking. So far so good...

HAL however, is apparently needed for handling virtual devices and when I use USB units and so on, and it refuse to start. Thunar is also complaining about not finding the HAL daemon.

All I get is:

bash-3.1# /etc/rc.d/rc.hal start
Starting HAL daemon: failed
bash-3.1#

and nothing else. Nothing in logs or by using 'dmesg'.

I hope anyone can direct me to where to start search for a possible solution for this.

Thanks in advance.
 
Old 01-22-2007, 11:58 AM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
Has rc.hal been set to be executable? You would do this as follows:

chmod +x /etc/rc.d/rc.hal

Then try to start the HAL daemon and see what happens.

Last edited by swampdog2002; 01-22-2007 at 11:59 AM.
 
Old 01-22-2007, 12:09 PM   #3
akjo
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch LInux
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampdog2002
Has rc.hal been set to be executable? You would do this as follows:

chmod +x /etc/rc.d/rc.hal

Then try to start the HAL daemon and see what happens.
The rc.hal should be executable as its the one I am using to start hal the that scrip who tells me hal wont start, but I checked just in case, and yep its as it should be

Duh.. your post poked my brains though, going to dig through that rc file to see if it drops leads somewhere to what happens.
 
Old 01-22-2007, 12:26 PM   #4
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
Was your implementation of HAL upgraded from the default version in Slackware 11? I know that when these types of applications are upgraded that newer files are placed within the /etc/rc.d directory with the .new extension. I don't know if this is your case, but I have run into this before where the newer version did not work properly, and I had to use the original script and alter it somewhat to work properly.
 
Old 01-22-2007, 12:38 PM   #5
akjo
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch LInux
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampdog2002
Was your implementation of HAL upgraded from the default version in Slackware 11? I know that when these types of applications are upgraded that newer files are placed within the /etc/rc.d directory with the .new extension. I don't know if this is your case, but I have run into this before where the newer version did not work properly, and I had to use the original script and alter it somewhat to work properly.
I downloaded the package hal-0.5.8.1-i486-1kjz.tgz from linuxpackages(link: http://www.linuxpackages.net/pkg_details.php?id=10119) and installed it with installpkg

There's no rc.hal.new in /etc/rc.d to.

I checked the script and got a hint to check in /var/run/hald and it did place a pid file there as it it starts but I still get the Starting HAL daemon: failed message, and its nowhere to be seen in processes.

EDIT...

I also did all check from rc.hal manually up to the part where the script start it:

- /usr/sbin/hald is exececutable
- haldaemon exists in /etc/group and /etc/passwd
- No pid file in /var/run/hald exsists

After that point its just for the daemon to start and it .. fails.

Question:

Is there any other process it might depend on or a process it conflicts with I missed?

Last edited by akjo; 01-22-2007 at 01:01 PM.
 
Old 01-22-2007, 01:15 PM   #6
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
Sorry, I thought that there was a HAL package that came with Slackware 11. I typically install Dropline Gnome shortly after a new installation, and assumed that HAL was already in place prior.

I do recall that dbus and hal need to be started and stopped in a particular order. Offhand, I can't remember which is which. Unfortunately, I am not too versed with the ins and outs of HAL, or with many other aspects of Slackware to boot, to offer any helpful advice in terms of HAL dependencies and such. I know the hal package that comes with Dropline Gnome seems to work w/o problems for me. I would imagine that it could be installed separately from the rest. There doesn't appear to be a Slackbuild at Slackbuilds.org for HAL. Maybe compiling it from source and then installing will heed better results? Sorry I can't offer any more advice to you.

Last edited by swampdog2002; 01-22-2007 at 01:16 PM.
 
Old 01-22-2007, 01:24 PM   #7
akjo
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch LInux
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by swampdog2002
Sorry, I thought that there was a HAL package that came with Slackware 11. I typically install Dropline Gnome shortly after a new installation, and assumed that HAL was already in place prior.

I do recall that dbus and hal need to be started and stopped in a particular order. Offhand, I can't remember which is which. Unfortunately, I am not too versed with the ins and outs of HAL, or with many other aspects of Slackware to boot, to offer any helpful advice in terms of HAL dependencies and such. I know the hal package that comes with Dropline Gnome seems to work w/o problems for me. I would imagine that it could be installed separately from the rest. There doesn't appear to be a Slackbuild at Slackbuilds.org for HAL. Maybe compiling it from source and then installing will heed better results? Sorry I can't offer any more advice to you.
Thanks for taking the time to repond. I am currently checking if the hotplug start up. It seems hal depends on it and udev to be up according to http://gitweb.freedesktop.org/?p=hal...ov_hal_linux26.

Before I updated to the 2.6 kernel my boot process stopped for a while while it searched for more hardware(prolly hotplug) but now it don't do that, it rushes through the boot(/etc/rc.d/rc.hotplug) is executable).


The tinkering goes on
 
Old 01-22-2007, 01:46 PM   #8
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
It sounds as if you may have more problems than hal with your setup. Is udev a dependency for newer releases of hal? I had not used udev prior to Slackware 11, and hal seemed to function properly then. Good luck with tinkering.
 
Old 01-22-2007, 02:04 PM   #9
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
I found that the version of Hal from linuxpackages.net was a waste of time. Try downloading the source and compiling yourself as I had to do. Then make sure that messagebus in running before you try and start Hal
 
Old 01-23-2007, 09:03 AM   #10
akjo
LQ Newbie
 
Registered: Jan 2007
Distribution: Arch LInux
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vdemuth
I found that the version of Hal from linuxpackages.net was a waste of time. Try downloading the source and compiling yourself as I had to do. Then make sure that messagebus in running before you try and start Hal
Thanks.

I poked around and had to verify and get right dists(Some version conflicts) of both HAL and dbus, compiled and tada, all done. Works fine 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
USB/HAL audio problem drivers won't load radmaxntx Linux - Hardware 0 08-29-2006 01:13 PM
Websites load slow, but once they load, any links inside them load fast smurcoch Mandriva 3 02-06-2006 12:47 AM
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
Fedora core 3 HAL locking up the system load UrbanDEV Linux - Software 3 01-08-2005 03:36 AM
Hal gamehack Programming 7 12-16-2004 02:03 AM

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

All times are GMT -5. The time now is 12:36 PM.

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