Hook overriding its configuration file, and a broken resume report
J Epperson
hal at epperson.homelinux.net
Wed Apr 8 19:18:15 PDT 2009
On Tue, February 10, 2009 22:19, J Epperson wrote:
[trimmed, post is about an HP dv6-1030us]
>
> What happens with this laptop is that suspend appears to work from outside
> appearances, but resume throws continuous scrolling errors on a text
> console screen, and the resume never happens. It's hard to capture the
> error messages in that environment, but they include (all prefixed with
> ata1: or ata2:):
>
[snip]
The only response was that it looked like a kernel bug. I just added to
bugzilla.redhat.com #485171. Note that 99hd-apm-restore.hook appears to
be returning and trying to process "/dev/sdasda".
Comment #10 From W.C. Epperson 2009-04-08 22:07:54 EDT (-) [reply] -------
Hmmm. From /usr/bin/pm-utils-bugreport-info.sh output:
/usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook suspend suspend:
/dev/sdasda:
No such file or directory
Advanced Power Management not supported by device sdasda.
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00
00 24
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 0a 00 00 00
00 24
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
HDIO_DRIVE_CMD(identify) failed: Input/output error
But:
# hal-find-by-capability --capability storage
/org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L633L
/org/freedesktop/Hal/devices/storage_serial_SATA_FUJITSU_MHZ2320K618T8B2V2FV
/org/freedesktop/Hal/devices/storage_serial_Generic__Multi_Card_20071114173400000_0_0
#
udi="/org/freedesktop/Hal/devices/storage_serial_SATA_FUJITSU_MHZ2320K618T8B2V2FV";export
udi
# hal-get-property --udi "${udi}" --key storage.drive_type
disk
# hal-get-property --udi "${udi}" --key block.device
/dev/sda
# hal-get-property --udi "${udi}" --key block.device | sed 's,^/dev/,,'
sda
More information about the hal
mailing list