[Comm] hald problems after upgrading to last branch 4.0

Eugene Prokopiev =?iso-8859-1?q?enp_=CE=C1_altlinux=2Eorg?=
Ср Янв 9 13:30:27 MSK 2008


Здравствуйте!

Обновился до последного бранча 4.0 и увидел, что haldaemon стартовать
не желает. Подробнее он говорит об этом так:

# hald --daemon=no --verbose=yes
...
13:17:41.077 [I] osspec.c:874: hal_util_find_known_parent:
'/sys/class/tty/ttyS0'->'/sys/devices/pnp0/00:08'
13:17:41.077 [I] device.c:3887: add_dev: subsys=tty
sysfs_path=/sys/class/tty/ttyS0 dev=/dev/ttyS0 parent_dev=0x080d94d0
Run started hald-probe-serial (10000) (0)
!  full path is '/usr/libexec/hal/hald-probe-serial', program_dir is
'/usr/libexec/hal'
[5177]: 13:17:41.079 [D] probe-serial.c:70: Checking if /dev/ttyS0 is
actually present
/usr/libexec/hal/hald-probe-serial exited
13:17:41.080 [I] osspec.c:429: Synthesizing powermgmt events...
13:17:41.080 [E] acpi.c:758: Couldn't open /proc/acpi/battery: Error
opening directory '/proc/acpi/battery': No such file or directory
13:17:41.080 [E] acpi.c:758: Couldn't open /proc/acpi/processor: Error
opening directory '/proc/acpi/processor': No such file or directory
13:17:41.080 [E] acpi.c:758: Couldn't open /proc/acpi/fan: Error
opening directory '/proc/acpi/fan': No such file or directory
13:17:41.080 [E] acpi.c:758: Couldn't open /proc/acpi/ac_adapter:
Error opening directory '/proc/acpi/ac_adapter': No such file or
directory
13:17:41.080 [I] acpi.c:729: Processing /proc/acpi/button/lid/LID
13:17:41.080 [I] acpi.c:729: Processing /proc/acpi/button/power/PWRB
13:17:41.080 [I] acpi.c:729: Processing /proc/acpi/button/power/PWRF
13:17:41.080 [E] acpi.c:758: Couldn't open /proc/acpi/button/sleep:
Error opening directory '/proc/acpi/button/sleep': No such file or
directory
13:17:41.081 [I] acpi.c:837: Processing sonypi display
13:17:41.081 [I] osspec.c:431: ACPI capabilities found
13:17:41.081 [I] osspec.c:439: Done synthesizing events
*** [DIE] device_info.c:rules_match_and_merge_device():1089 : Rule is
NULL on jump
[root на enp-mobile ~]# 13:17:41.083 [D] addon-input.c:486: An error
occured, exiting cleanly
/usr/libexec/hal/hald-addon-input exited

/proc/acpi/battery и прочих файлов и правда нет, я подгрузил, что
сумел (хотя почему я должен это делать?):

# modprobe battery
# modprobe processor
# modprobe fan
# modprobe ac_adapter
FATAL: Module ac_adapter not found.
# modprobe sleep
FATAL: Module sleep not found.

Получил:

13:20:35.535 [I] osspec.c:429: Synthesizing powermgmt events...
13:20:35.535 [I] acpi.c:729: Processing /proc/acpi/battery/CMB2
13:20:35.536 [I] acpi.c:729: Processing /proc/acpi/battery/CMB1
13:20:35.536 [I] acpi.c:729: Processing /proc/acpi/processor/CPU0
13:20:35.536 [E] acpi.c:758: Couldn't open /proc/acpi/ac_adapter:
Error opening directory '/proc/acpi/ac_adapter': No such file or
directory
13:20:35.536 [I] acpi.c:729: Processing /proc/acpi/button/lid/LID
13:20:35.536 [I] acpi.c:729: Processing /proc/acpi/button/power/PWRB
13:20:35.536 [I] acpi.c:729: Processing /proc/acpi/button/power/PWRF
13:20:35.536 [E] acpi.c:758: Couldn't open /proc/acpi/button/sleep:
Error opening directory '/proc/acpi/button/sleep': No such file or
directory
13:20:35.536 [I] acpi.c:837: Processing sonypi display
13:20:35.536 [I] osspec.c:431: ACPI capabilities found
13:20:35.536 [I] osspec.c:439: Done synthesizing events
*** [DIE] device_info.c:rules_match_and_merge_device():1089 : Rule is
NULL on jump
[root на enp-mobile ~]# 13:20:35.538 [D] addon-input.c:486: An error
occured, exiting cleanly
/usr/libexec/hal/hald-addon-input exited

Впрочем, как я понял, основная проблема - это "Rule is NULL on jump".
Что за Rule и отчего оно стало NULL, куда смотреть?

-- 
С уважением,
Прокопьев Евгений


Подробная информация о списке рассылки community