Hal shuts down when computer boots on battery power

Johan Lans johan.lans at apspektakel.com
Tue Sep 30 08:49:43 PDT 2008


Hi
 I'm having problems with hal on my gentoo system. Im running hal 
version 0.5.11-r3
 The computer is an Amilo m1437g. When I boot on AC-power everything 
works perfectly. When I boot  on battery-power, hal shuts  down before 
gnome has finished loading. This is the log prior to the shutdown (only 
log output that matches hal keyword, can post total output if you wish):

Sep 30 17:38:16 snal hald[2862]: 17:38:16.661 [I] osspec.c:241: 
SEQNUM=828, ACTION=add, SUBSYSTEM=uids, DEVPATH=/sys/kernel/uids/108, 
DEVNAME=, IFINDEX=0
Sep 30 17:38:16 snal hald[2862]: 17:38:16.661 [I] device.c:4406: 
add_dev: subsys=uids sysfs_path=/sys/kernel/uids/108 dev= 
parent_dev=0x00000000
Sep 30 17:38:19 snal hald[2862]: 17:38:19.810 [I] osspec.c:241: 
SEQNUM=829, ACTION=add, SUBSYSTEM=module, DEVPATH=/sys/module/ipv6, 
DEVNAME=, IFINDEX=0
Sep 30 17:38:21 snal hald[2862]: 17:38:21.282 [I] device.c:1894: 
Removing locks from ':1.5'
Sep 30 17:38:21 snal hald[2862]: 17:38:21.299 [I] device.c:1894: 
Removing locks from ':1.6'
Sep 30 17:38:25 snal hald[2862]: 17:38:25.564 [I] osspec.c:241: 
SEQNUM=830, ACTION=remove, SUBSYSTEM=uids, DEVPATH=/sys/kernel/uids/108, 
DEVNAME=, IFINDEX=0
Sep 30 17:38:25 snal hald[2862]: 17:38:25.564 [I] device.c:4476: 
remove_dev: subsys=uids sysfs_path=/sys/kernel/uids/108
Sep 30 17:38:25 snal hald[2862]: 17:38:25.565 [W] device.c:4480: Error 
removing device
Sep 30 17:38:25 snal hald[2862]: 17:38:25.898 [I] hald.c:367: Caught 
SIGTERM, initiating shutdown
Sep 30 17:38:30 snal gnome-keyring-daemon[4921]: failed to initialize a 
HAL context: (null)
Sep 30 17:38:30 snal gnome-keyring-daemon[4921]: Scheduling hal init retry
Sep 30 17:39:00 snal gnome-keyring-daemon[4921]: failed to initialize a 
HAL context: (null)
Sep 30 17:39:00 snal gnome-keyring-daemon[4921]: Scheduling hal init retry
Sep 30 17:39:30 snal gnome-keyring-daemon[4921]: failed to initialize a 
HAL context: (null)
Sep 30 17:39:30 snal gnome-keyring-daemon[4921]: Scheduling hal init retry
Sep 30 17:40:00 snal gnome-keyring-daemon[4921]: failed to initialize a 
HAL context: (null)
---
and so on.

Any ideas on a fix to this problem?

/Johan







More information about the hal mailing list