Centos5.2ベースの1CDlinuxがVmware2.0上で走らすと時々HAL daemonがFAILEDする
haldのhelp確認
# hald --help
usage : hald [--daemon=yes|no] [--verbose=yes|no] [--help]
--daemon=yes|no Become a daemon
--verbose=yes|no Print out debug (overrides HALD_VERBOSE)
--retain-privileges Retain privileges (for debugging)
--use-syslog Print out debug messages to syslog instead of stderr.
Use this option to get debug messages if HAL runs as
daemon.
--help Show this information and exit
--version Output version information and exit
The HAL daemon detects devices present in the system and provides the
org.freedesktop.Hal service through the system-wide message bus provided
by D-BUS.
For more information visit http://freedesktop.org/Software/hal
# /usr/sbin/hald --daemon=yes --verbose=yes --use-syslog
verboseとuse-syslogオプションをつけてログを確認
# cat /var/log/messages |grep hald
Jan 27 21:20:08 (none) hald[5736]: 21:20:08.537 [I] hald.c:479: hal 0.5.8.1
Jan 27 21:20:08 (none) hald[5736]: 21:20:08.538 [I] hald.c:488: Will daemonize
Jan 27 21:20:08 (none) hald[5736]: 21:20:08.538 [I] hald.c:489: Becoming a daemon
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.540 [I] hald_dbus.c:4058: local server is listening at unix:abstract=/var/run/hald/dbus-k9j6uFwiDc,guid=f8fb7e4944b12ba5098add6c08282400
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.548 [I] hald_runner.c:220: Runner has pid 5738
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.554 [I] osspec.c:625: Synthesizing sysfs events...
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.561 [I] coldplug.c:120: dev_root is /dev
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.592 [I] coldplug.c:252: found in udevdb '/sys/class/graphics/fb0' '/dev/fb0'
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.593 [I] coldplug.c:274: found device_file /dev/ttyS2 for sysfs_path /sys/class/tty/ttyS2
Jan 27 21:20:08 (none) hald[5737]: 21:20:08.593 [I] coldplug.c:274: found device_file /dev/ttyS3 for sysfs_path /sys/class/tty/ttyS3
・
中略
・
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.238 [W] blockdev.c:1127: Not adding device object
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.238 [I] hotplug.c:172: /sys/block/ram15 is a block device (subsystem)
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [I] blockdev.c:613: block_add: sysfs_path=/sys/block/ram15 dev=/dev/ram15 is_part=0, parent=0x00000000
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [I] blockdev.c:661: Looking in /sys/block/ram15/slaves
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [I] blockdev.c:709: Done looking in /sys/block/ram15/slaves
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [I] blockdev.c:715: Ignoring hotplug event - no parent
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [W] blockdev.c:1127: Not adding device object
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.239 [I] hotplug.c:172: /sys/block/hda is a block device (subsystem)
Jan 27 21:20:10 (none) hald[5737]: 21:20:10.240 [I] blockdev.c:613: block_add: sysfs_path=/sys/block/hda dev=/dev/hda is_part=0, parent=0x0808ec60
ログを確認するが何や分からん、結局実機で立ち上げたけど問題無いみたいなのであきらめ