You are not logged in.

#1 2009-04-28 11:49:48

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

HAL hangs on boot

So, when I turn on my computer HAL takes a good 15-20 seconds to start, which has doubled my start time, but if I restart it in terminal now it is done in a second. I have updated HAL and the problem still occurs.

Any ideas?

Offline

#2 2009-04-28 12:18:58

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: HAL hangs on boot

You can start HAL in the background by using @hal instead of hal (add an @ before the command). Hope that helps!

Offline

#3 2009-04-28 14:25:12

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: HAL hangs on boot

Wilco wrote:

You can start hal in the background by using @hal instead of hal (add an @ before the command). Hope that helps!

No good advice in most configurations. Hal is expected to properly set the hardware up, where the other daemons have to rely on. Thus it must be allowed to finish its operations before others try to access those devices.

This can (and did here) lead to a system standstill. Just never background hal. And have it started as early as possible, immediately after syslog-ng (also not backgrounded).

DAEMONS=(syslog-ng hal ... <other-daemons> ...)

To know or not to know ...
... the questions remain forever.

Offline

#4 2009-04-28 15:13:52

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: HAL hangs on boot

Well, before I did try backgrounding HAL, and then I just need to wait the 20 seconds before I can type in slim.

I had this: DAEMONS=(syslog-ng @network @btnx @mpd hal !netfs crond slim)
and I changed it to this: DAEMONS=(syslog-ng hal @network @btnx @mpd !netfs crond slim)

Maybe that will help, I will restart and try right now.

Offline

#5 2009-04-28 15:51:18

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: HAL hangs on boot

It might be dbus and not hal itself that is hanging. (One of the reasons for why I think starting dbus explicitly before hal is better than letting hal start it impicitly)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2009-04-28 16:03:43

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: HAL hangs on boot

Ok, the phone rang as I was rebooting, but I am 95% sure that it started fast. It defiantly didn't take 20 seconds like normal.

Offline

#7 2009-04-29 11:41:06

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: HAL hangs on boot

So I turned on my comp this morning and it went back to the normal 20 seconds.

Offline

#8 2009-04-30 11:36:04

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: HAL hangs on boot

Mr.Elendig wrote:

It might be dbus and not hal itself that is hanging. (One of the reasons for why I think starting dbus explicitly before hal is better than letting hal start it impicitly)

Sorry I missed this, but on startup DBus does start before Hal.

Offline

Board footer

Powered by FluxBB