Announcement

Collapse
No announcement yet.

HAL does not start???

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HAL does not start???

    Hi,

    HAL (hardware abstraction layer) does not start when I boot my computer. Anybody understand why this is?

    I have to restart it manually every time, then restart X (CTRL+ALT+backspace). Then it works...

    How can I do this automatically?

    I was told to try this;
    Code:
      sudo update-rc.d hal defaults 24 16
    It just gave me this;
    Code:
    System startup links for /etc/init.d/hal already exist.


    Please help an otherwise happy newbie!

    #2
    Re: HAL does not start

    Hmm...first you can check the startup links:
    Code:
    ls -la /etc/rc*.d/*hal /etc/init.d/hal
    Should return something like:

    -rwxr-xr-x 1 root root 2091 2008-10-06 17:38 /etc/init.d/hal
    lrwxrwxrwx 1 root root 13 2008-05-28 11:28 /etc/rc1.d/K16hal -> ../init.d/hal
    lrwxrwxrwx 1 root root 13 2008-05-28 11:28 /etc/rc2.d/S24hal -> ../init.d/hal
    lrwxrwxrwx 1 root root 13 2008-05-28 11:28 /etc/rc3.d/S24hal -> ../init.d/hal
    lrwxrwxrwx 1 root root 13 2008-05-28 11:28 /etc/rc4.d/S24hal -> ../init.d/hal
    lrwxrwxrwx 1 root root 13 2008-05-28 11:28 /etc/rc5.d/S24hal -> ../init.d/hal

    Comment


      #3
      Re: HAL does not start

      It gave me this;

      -rwxr-xr-x 1 root root 2301 2008-05-06 13:28 /etc/init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-14 16:54 /etc/rc0.d/K50hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-14 16:55 /etc/rc0.d/S50hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2008-12-17 17:04 /etc/rc1.d/K16hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-14 16:54 /etc/rc1.d/K50hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-17 09:42 /etc/rc2.d/S50hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2008-12-17 17:04 /etc/rc3.d/S24hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2008-12-17 17:04 /etc/rc4.d/S24hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2008-12-17 17:04 /etc/rc5.d/S24hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-14 16:54 /etc/rc6.d/K50hal -> ../init.d/hal
      lrwxrwxrwx 1 root root 13 2009-01-14 16:54 /etc/rc6.d/S50hal -> ../init.d/hal


      I have started HAL manually before I did this, should I do it when HAL hasn't started?

      Comment


        #4
        Re: HAL does not start

        Originally posted by daata
        I have started HAL manually before I did this, should I do it when HAL hasn't started?
        That doesn't matter (you'll get the same results)...these rcX.d links control how the startup scripts are run during boot up, and it looks like on your setup hal's script is run rather late (S50) on the default runlevel (rc2.d). There are also some unnecessary start/kill links in there. Though not necessarily the cause of your problem, I'd first fix that.

        Run:
        Code:
        sudo mv /etc/rc2.d/S50hal /etc/rc2.d/S24hal && sudo rm /etc/rc?.d/?50hal
        (that should fix the start link and remove the unnecessary ones)

        Report back if you still have issues after that.

        Comment

        Working...
        X