https://bugzilla.novell.com/show_bug.cgi?id=684738
https://bugzilla.novell.com/show_bug.cgi?id=684738#c0
Summary: TPM modules loaded into kernel prevent suspend and
hibernation
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: i686
OS/Version: openSUSE 11.4
Status: NEW
Severity: Major
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: jiivee@iki.fi
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101
Firefox/4.0
I upgraded my Lenovo x200s from openSUSE 11.1 to 11.4 (x686) and after upgrade
laptop is unable to suspend to RAM or hibernate to disk if TPM modules are
loaded into kernel. I have never used TPM, thus I can say that my laptop's TPM
module is virgin.
I tested suspend to ram and hibernation also from command line using powersave
-u and powersave -U, respectively.
$ uname -a
Linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10
+0100 i686 i686 i386 GNU/Linux
Excerpt from /var/log/warn:
Mar 28 20:46:01 laptop kernel: [89081.781029] Freezing remaining freezable
tasks ... (elapsed 0.01 seconds) done.
Mar 28 20:46:01 laptop kernel: [89081.792110] Suspending console(s) (use
no_console_suspend to debug)
Mar 28 20:46:01 laptop kernel: [89083.816016] tpm_tis 00:0a: tpm_transmit:
tpm_send: error 4294967234
Mar 28 20:46:01 laptop kernel: [89083.816023] legacy_suspend():
pnp_bus_suspend+0x0/0x80 returns -62
Mar 28 20:46:01 laptop kernel: [89083.816026] PM: Device 00:0a failed to
suspend: error -62
Mar 28 20:46:01 laptop kernel: [89083.816028] PM: Some devices failed to
suspend
Mar 28 20:46:01 laptop kernel: [89085.064683] Restarting tasks ... done.
Workaround:
# rmmod tpm_tis
# rmmod tpm
Then suspend to ram and suspend to disk start to work.
This very same bug is also present in Kernel of the Day:
$ uname -a
Linux 2.6.38-30-desktop #1 SMP PREEMPT 2011-03-30 23:50:41 +0200
i686 i686 i386 GNU/Linux
Reproducible: Always
Steps to Reproduce:
1. request suspend to ram (through GUI or do as root powersave -u)
Actual Results:
Machine starts to suspend, but fails to do so and resumes to userspace.
Expected Results:
Machine starts to suspend and suspends gracefully.
Work around is to unload tpm modules from kernel. Then suspen and hibernation
work as expected.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.