Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269304 - hald/acpid error on boot with battery and button
Summary: hald/acpid error on boot with battery and button
Status: RESOLVED DUPLICATE of bug 269334
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 20:32 UTC by Raimund
Modified: 2009-05-11 08:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raimund 2009-05-10 20:32:04 UTC
+++ This bug was initially created as a clone of Bug #228155 +++

Hi,

it's the first time for me reporting a bug, so please be patient with me ;-)
I'm using

sys-apps/hal-0.5.12_rc1-r3  USE="X acpi consolekit crypt policykit -apm -debug -dell -disk-partition -doc -laptop (-selinux)"

on 2.6.29-gentoo-r1 (x86_64)

and starting hal results in

# /usr/sbin/hald --daemon=no

** (process:21597): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed

** (process:21597): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed

** (process:21597): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed
device udi = /org/freedesktop/Hal/devices/temp/118
  serial.originating_device = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  serial.device = '/dev/ttyS1'  (string)
  serial.port = 1  0x1  (int)
  serial.type = 'platform'  (string)
  linux.sysfs_path = '/sys/devices/platform/serial8250/tty/ttyS1'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  info.category = 'serial'  (string)
  info.product = 'Platform Device (serial8250)'  (string)
  info.subsystem = 'tty'  (string)
  linux.device_file = '/dev/ttyS1'  (string)
  linux.hotplug_type = 2  0x2  (int)
  linux.subsystem = 'tty'  (string)

device udi = /org/freedesktop/Hal/devices/temp/119
  serial.originating_device = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  serial.device = '/dev/ttyS2'  (string)
  serial.port = 2  0x2  (int)
  serial.type = 'platform'  (string)
  linux.sysfs_path = '/sys/devices/platform/serial8250/tty/ttyS2'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  info.category = 'serial'  (string)
  info.product = 'Platform Device (serial8250)'  (string)
  info.subsystem = 'tty'  (string)
  linux.device_file = '/dev/ttyS2'  (string)
  linux.hotplug_type = 2  0x2  (int)
  linux.subsystem = 'tty'  (string)

device udi = /org/freedesktop/Hal/devices/temp/120
  serial.originating_device = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  serial.device = '/dev/ttyS3'  (string)
  serial.port = 3  0x3  (int)
  serial.type = 'platform'  (string)
  linux.sysfs_path = '/sys/devices/platform/serial8250/tty/ttyS3'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_serial8250'  (string)
  info.category = 'serial'  (string)
  info.product = 'Platform Device (serial8250)'  (string)
  info.subsystem = 'tty'  (string)
  linux.device_file = '/dev/ttyS3'  (string)
  linux.hotplug_type = 2  0x2  (int)
  linux.subsystem = 'tty'  (string)

device udi = /org/freedesktop/Hal/devices/temp/97
  hiddev.device = '/dev/usb/hiddev0'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5.2/2-5.2:1.1/usb/hiddev0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if1'  (string)
  info.category = 'hiddev'  (string)
  info.product = 'Logitech USB Receiver'  (string)
  info.subsystem = 'usb'  (string)
  linux.device_file = '/dev/usb/hiddev0'  (string)
  hiddev.product = 'Logitech USB Receiver'  (string)
  linux.hotplug_type = 2  0x2  (int)
  linux.subsystem = 'usb'  (string)

*** [DIE] hald_runner.c:runner_died():202 : Runner died

As I'm not sure I should really post the complete --verbose=yes log (it's 2.6MB!!) I will try to present the most peculiar things:

# grep -i error hald-log
21:37:35.598 [E] acpi.c:762: Couldn't open /proc/acpi/battery: Error opening directory '/proc/acpi/battery': No such file or directory
21:37:35.598 [E] acpi.c:762: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
21:37:35.823 [E] acpi.c:762: Couldn't open /proc/acpi/battery: Error opening directory '/proc/acpi/battery': No such file or directory
21:37:35.823 [E] acpi.c:762: Couldn't open /proc/acpi/fan: Error opening directory '/proc/acpi/fan': No such file or directory
21:37:35.823 [E] acpi.c:762: Couldn't open /proc/acpi/ac_adapter: Error opening directory '/proc/acpi/ac_adapter': No such file or directory
21:37:35.823 [E] acpi.c:762: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
21:37:35.823 [E] acpi.c:762: Couldn't open /proc/acpi/button/sleep: Error opening directory '/proc/acpi/button/sleep': No such file or directory
21:37:35.842 [E] hald_runner.c:671: Error running 'hald-addon-storage': org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received

# grep -i fail hal-verbose.log 
** (process:21388): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed
** (process:21388): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed
** (process:21388): CRITICAL **: hal_property_get_string: assertion `prop->type == HAL_PROPERTY_TYPE_STRING' failed
21:37:35.827 [I] device.c:4653: device removed due to prober fail
21:37:35.828 [I] device.c:4653: device removed due to prober fail
21:37:35.828 [I] device.c:4653: device removed due to prober fail
21:37:35.836 [I] device.c:4653: device removed due to prober fail

# grep -i warn hal-verbose.log
(no output)

So as my Computer is not a Laptop, I didn't enable battery in the kernel, the directory /proc/acpi/button contains only a directory 'power', 'fan' doesn't exist either.

I'm not sure if this is really the critical point or if the best hint is the message

hald_runner.c:671: Error running 'hald-addon-storage': org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received

which I can't do anything with it.
The mentioned bug 228155 states the acpi issue is solved, but why does it still log them as an error? If hal tries to open those files and takes those opening failures just as an information, going on without major problems, IMHO those opening failures should be stated as information or warning only, not as an error.


So any help is greatly appreciated.
Thank you in advance

Raimund
Comment 1 Raimund 2009-05-11 08:02:20 UTC
Ups, this bug was listed twice. Must be a bug ;-) Sorry for that.

*** This bug has been marked as a duplicate of bug 269334 ***