← Back to team overview

kernel-packages team mailing list archive

[Bug 1068839] Re: Module tpm_infineon prevents kernel suspend

 

** Changed in: linux (Ubuntu)
       Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1068839

Title:
  Module tpm_infineon prevents kernel suspend

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  version_signature: Ubuntu 3.5.0-17.28-generic 3.5.5

  WORKAROUND: Immediately prior to suspending:
  modprobe -r tpm_infineon

  part of kernel log when it's not working:
  Oct 19 15:46:37 loki kernel: [ 2145.963934] PM: Syncing filesystems ... done.
  Oct 19 15:46:37 loki kernel: [ 2146.491439] PM: Preparing system for mem sleep
  Oct 19 15:46:42 loki kernel: [ 2146.500216] Freezing user space processes ... (elapsed 0.01 seconds) done.
  Oct 19 15:46:42 loki kernel: [ 2146.516247] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
  Oct 19 15:46:42 loki kernel: [ 2146.532168] PM: Entering mem sleep
  Oct 19 15:46:42 loki kernel: [ 2146.532438] Suspending console(s) (use no_console_suspend to debug)
  Oct 19 15:46:42 loki kernel: [ 2146.576414] sd 2:0:1:0: >[sda] Synchronizing SCSI cache
  Oct 19 15:46:42 loki kernel: [ 2146.577467] tpm_inf_pnp 00:03: >saving TPM state
  Oct 19 15:46:42 loki kernel: [ 2146.595089] tpm_inf_pnp 00:03: >Timeout while clearing FIFO
  Oct 19 15:46:42 loki kernel: [ 2146.595092] tpm_inf_pnp 00:03: >error while saving TPM state
  Oct 19 15:46:42 loki kernel: [ 2146.595103] legacy_suspend(): pnp_bus_suspend+0x0/0x70 returns -5
  Oct 19 15:46:42 loki kernel: [ 2146.595123] PM: Device 00:03 failed to suspend: error -5
  Oct 19 15:46:42 loki kernel: [ 2146.813354] sd 2:0:1:0: >[sda] Stopping disk
  Oct 19 15:46:42 loki kernel: [ 2146.948595] PM: suspend of drv:sd dev:2:0:1:0 complete after 372.190 msecs
  Oct 19 15:46:42 loki kernel: [ 2146.948642] PM: Some devices failed to suspend
  Oct 19 15:46:42 loki kernel: [ 2146.951168] sd 2:0:1:0: >[sda] Starting disk

  log information when tpm_infineon is loaded:
  Oct 19 16:01:35 loki kernel: [ 3044.447305] tpm_inf_pnp 00:03: >Found TPM with ID IFX0101
  Oct 19 16:01:35 loki kernel: [ 3044.447375] tpm_inf_pnp 00:03: >TPM found: config base 0x4e, data base 0x4700, chip version 0x000b, vendor id 0x15d1 (Infineon), product id 0x000b (SLB 9635 TT 1.2)

  part of successful suspend behavior after "modprobe -r tpm_infineon":
  Oct 19 16:10:58 loki kernel: [ 3603.184426] PM: Syncing filesystems ... done.
  Oct 19 16:10:58 loki kernel: [ 3603.194924] PM: Preparing system for mem sleep
  Oct 19 16:12:32 loki kernel: [ 3603.211750] Freezing user space processes ... (elapsed 0.01 seconds) done.
  Oct 19 16:12:32 loki kernel: [ 3603.228207] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
  Oct 19 16:12:32 loki kernel: [ 3603.244163] PM: Entering mem sleep
  Oct 19 16:12:32 loki kernel: [ 3603.244428] Suspending console(s) (use no_console_suspend to debug)
  Oct 19 16:12:32 loki kernel: [ 3603.248241] sd 2:0:1:0: >[sda] Synchronizing SCSI cache
  Oct 19 16:12:32 loki kernel: [ 3603.249462] ata_piix 0000:00:1f.1: >power state changed by ACPI to D3
  Oct 19 16:12:32 loki kernel: [ 3603.249691] pciehp 0000:00:1c.0:pcie04: >pciehp_suspend ENTRY
  Oct 19 16:12:32 loki kernel: [ 3603.264125] pciehp 0000:00:1c.1:pcie04: >pciehp_suspend ENTRY
  Oct 19 16:12:32 loki kernel: [ 3603.368026] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 118.325 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.368177] sd 2:0:1:0: >[sda] Stopping disk
  Oct 19 16:12:32 loki kernel: [ 3603.506384] PM: suspend of drv:sd dev:2:0:1:0 complete after 258.143 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.506405] PM: suspend of drv:scsi dev:target2:0:1 complete after 258.068 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.506413] PM: suspend of drv:scsi dev:host2 complete after 257.796 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.506450] PM: suspend of drv: dev:ata3 complete after 257.767 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.520041] PM: suspend of drv:ata_piix dev:0000:00:1f.2 complete after 270.699 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.600043] PM: suspend of drv:radeon dev:0000:01:00.0 complete after 350.769 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.600065] PM: suspend of drv:pcieport dev:0000:00:01.0 complete after 350.332 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.600088] PM: suspend of drv: dev:pci0000:00 complete after 350.294 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.600104] PM: suspend of devices complete after 355.380 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.600106] PM: suspend devices took 0.356 seconds
  Oct 19 16:12:32 loki kernel: [ 3603.600357] PM: late suspend of devices complete after 0.248 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.756255] ehci_hcd 0000:00:1d.7: >wake-up capability enabled by ACPI
  Oct 19 16:12:32 loki kernel: [ 3603.772096] uhci_hcd 0000:00:1d.3: >wake-up capability enabled by ACPI
  Oct 19 16:12:32 loki kernel: [ 3603.772144] uhci_hcd 0000:00:1d.2: >wake-up capability enabled by ACPI
  Oct 19 16:12:32 loki kernel: [ 3603.772191] uhci_hcd 0000:00:1d.1: >wake-up capability enabled by ACPI
  Oct 19 16:12:32 loki kernel: [ 3603.772238] uhci_hcd 0000:00:1d.0: >wake-up capability enabled by ACPI
  Oct 19 16:12:32 loki kernel: [ 3603.772495] PM: noirq suspend of devices complete after 172.135 msecs
  Oct 19 16:12:32 loki kernel: [ 3603.772712] ACPI: Preparing to enter system sleep state S3
  Oct 19 16:12:32 loki kernel: [ 3603.784067] PM: Saving platform NVS memory
  Oct 19 16:12:32 loki kernel: [ 3603.788633] Disabling non-boot CPUs ...
  Oct 19 16:12:32 loki kernel: [ 3603.892063] CPU 1 is now offline
  Oct 19 16:12:32 loki kernel: [ 3603.892562] Extended CMOS year: 2000
  Oct 19 16:12:32 loki kernel: [ 3603.892562] ACPI: Low-level resume complete
  Oct 19 16:12:32 loki kernel: [ 3603.892562] PM: Restoring platform NVS memory
  Oct 19 16:12:32 loki kernel: [ 3603.892562] Extended CMOS year: 2000
  Oct 19 16:12:32 loki kernel: [ 3603.892562] Enabling non-boot CPUs ...
  Oct 19 16:12:32 loki kernel: [ 3603.892562] Booting Node 0 Processor 1 APIC 0x1
  Oct 19 16:12:32 loki kernel: [ 3603.790078] Initializing CPU#1
  Oct 19 16:12:32 loki kernel: [ 3603.790078] Disabled fast string operations
  Oct 19 16:12:32 loki kernel: [ 3603.908074] CPU1 is up
  Oct 19 16:12:32 loki kernel: [ 3603.910256] ACPI: Waking up from system sleep state S3

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: linux-image-3.5.0-17-generic 3.5.0-17.28
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic i686
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lynn       1733 F.... pulseaudio
  Date: Fri Oct 19 15:41:36 2012
  HibernationDevice: RESUME=UUID=454dacf6-85a8-45b8-a82c-8f5b1f3ac322
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  MachineType: Apple Computer, Inc. iMac4,1
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=5e9d9a37-0bc2-4691-ad20-b1ed266ded69 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.5.0-17-generic N/A
   linux-backports-modules-3.5.0-17-generic  N/A
   linux-firmware                            1.95
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/12/06
  dmi.bios.vendor: Apple Computer, Inc.
  dmi.bios.version: IM41.88Z.0055.B08.0610121350
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F42787C8
  dmi.board.vendor: Apple Computer, Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag
  dmi.chassis.type: 13
  dmi.chassis.vendor: Apple Computer, Inc.
  dmi.chassis.version: Mac-F42787C8
  dmi.modalias: dmi:bvnAppleComputer,Inc.:bvrIM41.88Z.0055.B08.0610121350:bd10/12/06:svnAppleComputer,Inc.:pniMac4,1:pvr1.0:rvnAppleComputer,Inc.:rnMac-F42787C8:rvrPVT:cvnAppleComputer,Inc.:ct13:cvrMac-F42787C8:
  dmi.product.name: iMac4,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Computer, Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1068839/+subscriptions