Ref.: Debian bug #623514 - http://bugs.debian.org/623514
Hibernation fails on my Lenovo T500 laptop. More specifically, the machine
does not resume but just starts normally. The following message shows up
before the computer shuts down:
legacy_resume(): pnp_bus_resume+0x0/0x65 returns -19
PM: Device 00:0a failed to thaw: error -19
The problem is not new, I never managed to hibernate this machine.
Several (unsuccessful) attempts to narrow the issue have been made on the
Debian side, see the bug log referenced above.
To summarize the Debian report:
$ grep 00:0a dmesg-boot-after-hibernate
[ 0.354312] pnp 00:0a: [mem 0xfed40000-0xfed44fff]
[ 0.354354] pnp 00:0a: Plug and Play ACPI device, IDs PNP0c31 (active)
[ 8.884071] tpm_tis 00:0a: 1.2 TPM (device-id 0x1020, rev-id 6)
[ 8.884074] tpm_tis 00:0a: Intel iTPM workaround enabled
Kernel is Debian 3.0.0-1, which is pretty close to v3.0 (and doesn't include most fixes from 3.0-stable). Denis walked through steps 1(a) and (b) of basic-pm-debugging.txt. Out of the 'reboot', 'platform' and 'shutdown' hibernation modes, none worked. Out of the five test modes, all worked fine. Booting with init=/bin/bash did not avoid trouble. Unloading the tpm and tpm_tis modules before hibernating did not avoid trouble, either. Booting with break=top (which tells initramfs-tools to stop after mounting /sys, /proc, /dev, /dev/pts, and /run), loading the ahci and sd_mod modules, running "swapon /dev/sda5", and then hibernating did not produce a usable hibernation image, either.
The next step according to basic-pm-debugging.txt is to rebuild with a smaller configuration. Any hints for drivers to exclude? Other ideas?
Denis, if you can send a photo of the legacy_resume() message, that would be helpful, too (so we can see how far down it is on the screen and if there is anything above it).
(In reply to comment #1)
> Kernel is Debian 3.0.0-1, which is pretty close to v3.0 (and doesn't include
> most fixes from 3.0-stable).
I also tested 3.0.0-3 which shows the same behaviour.
> Denis, if you can send a photo of the legacy_resume() message, that would be
> helpful, too (so we can see how far down it is on the screen and if there is
> anything above it).
There's nothing appearing above this message (the console on which it appears is blank) and there's nothing in logs neither, AFAICT.
Created attachment 70822 [details]
dmesg from hibernation test in 'core' mode
Attached ouptut from dmesg after an hibernation test in 'core' mode.
# echo core > /sys/power/pm_test
# echo platform > /sys/power/disk
# echo disk > /sys/power/state
From the successful 'core' hibernation test:
| [ 53.729763] legacy_resume(): pnp_bus_resume+0x0/0x6b returns -19
| [ 53.729770] PM: Device 00:0a failed to restore: error -19
Thanks, good to know (so looks like these messages are a red herring).
After the hibernate problem is figured out, let's find out what caused
that message and fix it so the next person's not distracted. :)
| ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20110413/evregion-478)
| ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPC_.EC__.LPMD] (Node ffff8800b7efe790), AE_BAD_PARAMETER (20110413/psparse-536)
| ACPI Error: Method parse/execution failed [\_PR_.CPU0._PPC] (Node ffff8800b789f3f8), AE_BAD_PARAMETER (20110413/psparse-536)
| ACPI Error: Method parse/execution failed [\_PR_.CPU1._PPC] (Node ffff8800b789f290), AE_BAD_PARAMETER (20110413/psparse-536)
| ACPI Exception: AE_BAD_PARAMETER, Evaluating _PPC (20110413/processor_perflib-140)
Any idea what these are about?
Does the problem still exist in the latest kernel?
(In reply to comment #6)
> Does the problem still exist in the latest kernel?
Thanks, Denis. What kernel version is that (as reported by "cat /proc/version")?
Please attach "acpidump" output.
Created attachment 72113 [details]
Linux version 3.2.1, built this morning.
Do you still have this problem? Thanks.
(In reply to comment #11)
> Do you still have this problem? Thanks.
Unfortunately, I don't have the computer anymore.
please feel free to re-open it if anyone can reproduce the problem.