[Pkg-utopia-maintainers] Bug#545864: hald need 30 seconds to start

guy.roussin guy.roussin at teledetection.fr
Wed Sep 9 16:49:43 UTC 2009


Package: hal
Version: 0.5.11-8
Severity: normal

Hi,

The hald daemon is very long to start on debian lenny: around 30s !
I try to debug it. This is what i get :
# cat /etc/default/hal
DAEMON_OPTS="--verbose=yes --use-syslog"

Here the first and last lines of /var/log/syslog :
Sep  9 18:17:56 pcz4002 hald[3703]: 18:17:56.650 [I] hald.c:669: hal 0.5.11
Sep  9 18:17:56 pcz4002 hald[3703]: 18:17:56.650 [I] hald.c:678: Will daemonize
Sep  9 18:17:56 pcz4002 hald[3703]: 18:17:56.650 [I] hald.c:679: Becoming a daemon
Sep  9 18:17:56 pcz4002 hald[3704]: 18:17:56.651 [I] hald_dbus.c:5381: local server is listening at unix:abstract=/var/run/hald/dbus-ctbCC8inIC,guid=8cb19e029d57bda5d392f6924aa7d534
(...)
Sep  9 18:18:26 pcz4002 hald[3704]: 18:18:26.662 [E] hald_dbus.c:5747: dbus_bus_get(): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

If i :
# /etc/init.d/hal restart
The restart took around 2 seconds.

# grep hald /var/log/syslog  | grep '\[E\]'

Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.136 [E] acpi.c:758: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
Sep  9 18:41:24 pcz4002 hald-probe-serial: [4517]: 18:41:24.620 [E] probe-serial.c:84: serial port /dev/ttyS0 seems not to exist
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.624 [E] acpi.c:758: Couldn't open /proc/acpi/ac_adapter: Error opening directory '/proc/acpi/ac_adapter': No such file or directory
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.624 [E] acpi.c:758: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.624 [E] acpi.c:758: Couldn't open /proc/acpi/button/sleep: Error opening directory '/proc/acpi/button/sleep': No such file or directory
Sep  9 18:41:24 pcz4002 hald-probe-serial: [4519]: 18:41:24.630 [E] probe-serial.c:84: serial port /dev/ttyS1 seems not to exist
Sep  9 18:41:24 pcz4002 hald-probe-serial: [4520]: 18:41:24.631 [E] probe-serial.c:84: serial port /dev/ttyS2 seems not to exist
Sep  9 18:41:24 pcz4002 hald-probe-serial: [4521]: 18:41:24.633 [E] probe-serial.c:84: serial port /dev/ttyS3 seems not to exist
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.697 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic__Compact_Flash_20060413092100000_0_0 but all addons are already ready!
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.709 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic__SM_xD_Picture_20060413092100000_0_1 but all addons are already ready!
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.720 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic__SD_MMC_20060413092100000_0_2 but all addons are already ready!
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.732 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic__MS_MS_Pro_HG_20060413092100000_0_3 but all addons are already ready!
Sep  9 18:41:24 pcz4002 hald[4497]: 18:41:24.745 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_serial_Generic__SD_MMC_MS_MSPRO_20060413092100000_0_4 but all addons are already ready!
Sep  9 18:41:25 pcz4002 hald[4497]: 18:41:25.074 [E] device.c:1705: In hal_device_inc_num_ready_addons for udi=/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GH40L but all addons are already ready!

I can make more tests and give more logs.

Thank you.

Guy


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser           3.110                  add and remove users and groups
ii  dbus              1.2.1-5+lenny1         simple interprocess messaging syst
ii  hal-info          20080508+git20080601-1 Hardware Abstraction Layer - fdi f
ii  libc6             2.7-18                 GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.1-5+lenny1         simple interprocess messaging syst
ii  libdbus-glib-1-2  0.82-1                 simple interprocess messaging syst
ii  libexpat1         2.0.1-4                XML parsing C library - runtime li
ii  libgcc1           1:4.3.2-1.1            GCC support library
ii  libglib2.0-0      2.16.6-2               The GLib library of C routines
ii  libhal-storage1   0.5.11-8               Hardware Abstraction Layer - share
ii  libhal1           0.5.11-8               Hardware Abstraction Layer - share
ii  libsmbios2        2.0.3.dfsg-1           Provide access to (SM)BIOS informa
ii  libstdc++6        4.3.2-1.1              The GNU Standard C++ Library v3
ii  libusb-0.1-4      2:0.1.12-13            userspace USB programming library
ii  libvolume-id0     0.125-7+lenny3         libvolume_id shared library
ii  lsb-base          3.2-20                 Linux Standard Base 3.2 init scrip
ii  mount             2.13.1.1-1             Tools for mounting and manipulatin
ii  pciutils          1:3.0.0-6              Linux PCI Utilities
ii  pm-utils          1.1.2.4-1              utilities and scripts for power ma
ii  udev              0.125-7+lenny3         /dev/ and hotplug management daemo
ii  usbutils          0.73-10                Linux USB utilities

Versions of packages hal recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
ii  libsmbios-bin               2.0.3.dfsg-1 Provide access to (SM)BIOS informa

Versions of packages hal suggests:
pn  gnome-device-manager          <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list