Summary: | sys-apps/hal-0.5.10 - hald startup takes long time | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Imre Péntek <pentek.imre> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
dmesg output hald startup log snippet dmsg part with HALD_VERBOSE=true Current Kernel Config (2.6.27-gentoo-r8 output of emerge --info |
Description
Imre Péntek
2007-12-31 17:14:57 UTC
Without info like emerge --info output, HAL version or relevant part of dmesg, nothing we could debug or fix. I now use hal-0.5.10 Created attachment 141617 [details]
emerge --info
Created attachment 141619 [details]
dmesg output
I replaced my kernel, and noticed that the same applies for sys-kernel/genkernel-3.4.9 with default config Linux boborjan 2.6.23-gentoo-r5 #1 SMP Wed Jan 23 13:52:24 CET 2008 x86_64 Mobile AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux After that, I also replaced my hal several times, and found that same applies for the following hal versions: boborjan ~ # grep hal /etc/portage/package.mask =sys-apps/hal-0.5.10 =sys-apps/hal-0.5.9.1-r3 =sys-apps/hal-0.5.9.1-r2 =sys-apps/hal-0.5.9.1-r1 =sys-apps/hal-0.5.9-r1 boborjan ~ # but sys-apps/hal-0.5.7.1-r5 starts up quickly. Created attachment 143720 [details]
hald startup log snippet
HALD_VERBOSE="yes"
/var/log/messages snippet
disabling battery module solves the issue.
This happens to me when dbus is not ready fast enough. Inserting a "sleep 3" in /etc/init.d/dbus after the line starting dbus fixes this for me. I'll post a separate bug for this because it only hit me after switching to baselayout-2 and parallel_startup=yes. I noticed far ago, that the bug isn't present when my kernel doesn't have battery.o (or something like that). Otherwise, dmesg will say my battery voltage is less than the half of the design voltage. btw my battery is in very bad shape if usable at all. I must say that I am completely unable to reproduce the HAL/d-bus parallel start interaction on a dual quad-core Opteron 2254 system with 32GB RAM (if that isn't fast enough, I'm not sure what is...) If this is still an issue with HAL 0.5.11-r7, could you please open a (new) bug and assign it directly to me. Sorry for the lack of response to your bug report. Created attachment 192635 [details]
dmsg part with HALD_VERBOSE=true
Just a short snippet from /var/log/messages to prove the delay
Created attachment 192636 [details]
Current Kernel Config (2.6.27-gentoo-r8
Created attachment 192637 [details]
output of emerge --info
(In reply to comment #9) > If this is still an issue with HAL 0.5.11-r7, could you please open a (new) bug > and assign it directly to me. Sorry for the lack of response to your bug > report. > Since updating to kernel 2.6.27-gentoo-r8 and hald 0.5.11-r8 I am seeing this kind of delays (30-60 seconds) too. Boot sequence prints "Starting Hardware Abstraction layer..." and just waits. After ~60s it resumes work as expected. I added a log snippet, my kernel config and emerge --info. If you have any additional questions, just ask me. |