[Bug 684738] New: TPM modules loaded into kernel prevent suspend and hibernation
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 <host.domain> 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 <host.domain> 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.
https://bugzilla.novell.com/show_bug.cgi?id=684738 https://bugzilla.novell.com/show_bug.cgi?id=684738#c1 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jslaby@novell.com InfoProvider| |jiivee@iki.fi --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2011-04-04 14:23:21 UTC --- (In reply to comment #0)
tpm_tis 00:0a: tpm_transmit: tpm_send: error 4294967234
This means -ETIME. Could you attach /proc/interrupts whether the chips uses irqs? The weird thing is that the two commits which caused suspend regression for tpm_tis got reverted in the recent past. One of them is in 2.6.37.1 already, both are in 2.6.38. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684738 https://bugzilla.novell.com/show_bug.cgi?id=684738#c2 Juha Virtanen <jiivee@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jiivee@iki.fi | --- Comment #2 from Juha Virtanen <jiivee@iki.fi> 2011-05-01 16:01:05 UTC ---
uname -a Linux <host> 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux cat /proc/interrupts CPU0 CPU1 0: 151 11 IO-APIC-edge timer 1: 4030 4023 IO-APIC-edge i8042 8: 4 3 IO-APIC-edge rtc0 9: 32252 32220 IO-APIC-fasteoi acpi 12: 64865 64930 IO-APIC-edge i8042 16: 0 0 IO-APIC-fasteoi uhci_hcd:usb6 17: 0 0 IO-APIC-fasteoi uhci_hcd:usb7 18: 0 0 IO-APIC-fasteoi uhci_hcd:usb8 19: 0 0 IO-APIC-fasteoi ehci_hcd:usb2 20: 0 0 IO-APIC-fasteoi uhci_hcd:usb3 21: 259 258 IO-APIC-fasteoi uhci_hcd:usb4 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb5 23: 30 33 IO-APIC-fasteoi ehci_hcd:usb1 40: 0 0 PCI-MSI-edge PCIe PME 41: 0 0 PCI-MSI-edge PCIe PME 42: 0 0 PCI-MSI-edge PCIe PME 43: 0 0 PCI-MSI-edge PCIe PME 44: 18843 18919 PCI-MSI-edge ahci 45: 78381 78371 PCI-MSI-edge i915 46: 93 116 PCI-MSI-edge eth0 47: 2025 2029 PCI-MSI-edge hda_intel 48: 185792 185445 PCI-MSI-edge iwlagn NMI: 1295 1290 Non-maskable interrupts LOC: 3073205 3036317 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 1295 1290 Performance monitoring interrupts IWI: 0 0 IRQ work interrupts RES: 2086826 2099390 Rescheduling interrupts CAL: 5985 5951 Function call interrupts TLB: 11888 11224 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 26 26 Machine check polls ERR: 1 MIS: 0
-- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684738 https://bugzilla.novell.com/show_bug.cgi?id=684738#c3 --- Comment #3 from Juha Virtanen <jiivee@iki.fi> 2011-05-01 16:14:57 UTC --- I have also run some tests with latest kernel of the Day. It's behaviour is much worse than that of production kernel. I tested only suspend to RAM, I first tested with latest mainstream kernel
uname -a Linux laptop.jiivee.com 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux
Suspend to RAM works only TPM modulules unloaded. Behaviour has not changed. I ran also some tests with latest Kernel of the Day:
uname -a Linux laptop.jiivee.com 2.6.39-rc5-14-desktop #1 SMP PREEMPT 2011-04-27 22:20:02 +0200 i686 i686 i386 GNU/Linux
If TPM modules were loaded, system hung every time regardless if powersave -u were run with X or console, IF TPM modules were unloaded, system hung in most cases, although in one case suspend to RAM workd when I ran it from tty2. See attached file for detailed test results. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684738 https://bugzilla.novell.com/show_bug.cgi?id=684738#c4 --- Comment #4 from Juha Virtanen <jiivee@iki.fi> 2011-05-01 16:16:31 UTC --- Created an attachment (id=427454) --> (http://bugzilla.novell.com/attachment.cgi?id=427454) Detailed test results from suspend to RAM tests -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=684738 https://bugzilla.novell.com/show_bug.cgi?id=684738#c5 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jeffm@suse.com Resolution| |WONTFIX --- Comment #5 from Jeff Mahoney <jeffm@suse.com> 2012-08-02 11:59:28 EDT --- With the coming release of openSUSE 12.2, openSUSE kernel developers are focusing their efforts there. Reports against openSUSE 11.4 and prior will not get the attention needed to resolve them before openSUSE 12.2 is release and openSUSE 11.4 becomes unmaintained. Please re-test with openSUSE 12.1 or openSUSE RC2+ and re-open with an updated Product if you still encounter your issue. We apologize for this issue not getting the attention it deserves but we are focusing our resources in the area where they will have the most impact for our users. We're working hard to make openSUSE 12.2 the best openSUSE release yet! -- 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.
participants (1)
-
bugzilla_noreply@novell.com