linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TPM chip prevents machine from suspending
@ 2011-03-28 14:08 Jeff Layton
  2011-03-28 17:25 ` Stefan Berger
  0 siblings, 1 reply; 22+ messages in thread
From: Jeff Layton @ 2011-03-28 14:08 UTC (permalink / raw)
  To: linux-kernel, tpmdd-devel

My wife's machine apparently has a TPM chip in it. Since I upgraded it
to Fedora 14, it fails to suspend consistently. On the first attempt to
suspend it, it works fine. Once it has woken back up however, it will
not suspend again. Here's the dmesg log from such an attempt:

[  202.460967] PM: Syncing filesystems ... done.
[  202.464818] PM: Preparing system for mem sleep
[  202.485968] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  202.497079] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[  202.508067] PM: Entering mem sleep
[  202.508086] Suspending console(s) (use no_console_suspend to debug)
[  202.508451] sd 3:0:0:0: [sdb] Synchronizing SCSI cache
[  202.508562] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[  202.508616] sd 3:0:0:0: [sdb] Stopping disk
[  202.511956] parport_pc 00:0b: disabled
[  202.512127] serial 00:09: disabled
[  202.512134] serial 00:09: wake-up capability disabled by ACPI
[  202.536058] legacy_suspend(): pnp_bus_suspend+0x0/0x82 returns 38
[  202.536061] PM: Device 00:02 failed to suspend: error 38
[  202.997517] sd 2:0:0:0: [sda] Stopping disk
[  202.997806] PM: Some devices failed to suspend
[  202.998085] sd 2:0:0:0: [sda] Starting disk
[  202.998144] sd 3:0:0:0: [sdb] Starting disk
[  202.998614] serial 00:09: activated
[  202.999158] parport_pc 00:0b: activated
[  204.543094] PM: resume of devices complete after 1545.282 msecs
[  204.543268] PM: Finishing wakeup.
[  204.543270] Restarting tasks ... done.

...error 38 is ENOSYS, and the 00:02 is this:

# cat /sys/bus/pnp/devices/00\:02/id 
IFX0102
PNP0c31

That appears to be an Infineon TPM chip:

# modinfo tpm_infineon
filename:       /lib/modules/2.6.38.2-8.fc15.x86_64/kernel/drivers/char/tpm/tpm_infineon.ko
license:        GPL
version:        1.9.2
description:    Driver for Infineon TPM SLD 9630 TT 1.1 / SLB 9635 TT 1.2
author:         Marcel Selhorst <m.selhorst@sirrix.com>
srcversion:     01A807F04E1D1EC617254C4
alias:          acpi*:IFX0102:*
alias:          pnp:dIFX0102*
alias:          acpi*:IFX0101:*
alias:          pnp:dIFX0101*
depends:        
vermagic:       2.6.38.2-8.fc15.x86_64 SMP mod_unload 

Perhaps it's not being reset correctly on the initial wakeup? I've seen
some other emails about similar problems that were fixed a few releases
ago, but I can reproduce the above behavior with kernels as late as
2.6.38.2. Specifically, the above log is from the most recent kernel I
could find in Fedora koji:

     2.6.38.2-8.fc15.x86_64

Let me know if you need other info or need me to test patches.

Thanks,
-- 
Jeff Layton <jlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-05-03 15:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28 14:08 TPM chip prevents machine from suspending Jeff Layton
2011-03-28 17:25 ` Stefan Berger
2011-03-28 18:12   ` Jeff Layton
2011-03-28 19:45     ` Jeff Layton
2011-03-28 19:57       ` Sisir Koppaka
2011-03-28 20:16         ` Jeff Layton
2011-03-28 20:32           ` Sisir Koppaka
2011-03-28 23:10       ` Stefan Berger
2011-03-29  0:19         ` Stefan Berger
2011-03-29 12:08         ` Jeff Layton
2011-03-29 12:25           ` Stefan Berger
2011-03-29 12:30             ` Jeff Layton
2011-03-29 14:30             ` Rajiv Andrade
2011-03-29 15:03               ` Stefan Berger
2011-03-30 19:43                 ` [tpmdd-devel] " Eric Paris
2012-01-21 17:01         ` [Sony Vaio TX3] TPM chip prevents machine from suspending a second time Jonathan Nieder
2012-01-23 20:52           ` Stefan Berger
2012-01-29 10:49             ` John Hughes
2012-01-29 18:22               ` Stefan Berger
2012-01-30  9:10                 ` John Hughes
2012-02-26 15:44                   ` Jonathan Nieder
2012-05-03 15:34                     ` John Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).