[natty] Suspend fails on thinkpad x301 after upgrade from maverick [SOLVED - Workaround]

Bug #701470 reported by Andreas Brauchli
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.37-12-generic

On natty system suspend fails on my thinkpad x301 after upgrade from maverick (which worked fine)
the kernel package is linux-image-2.6.37-12-generic at version 2.6.37-12.26
relevant dmesg output:

[ 8262.127328] PM: Syncing filesystems ... done.
[ 8262.135635] PM: Preparing system for mem sleep
[ 8262.290993] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 8262.310906] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 8262.330194] PM: Entering mem sleep
[ 8262.330313] Suspending console(s) (use no_console_suspend to debug)
[ 8262.340404] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 8262.345588] sd 0:0:0:0: [sda] Stopping disk
[ 8262.443279] PM: suspend of drv:sd dev:0:0:0:0 complete after 102.880 msecs
[ 8262.443311] PM: suspend of drv:scsi dev:target0:0:0 complete after 102.865 msecs
[ 8262.443350] PM: suspend of drv:scsi dev:host0 complete after 102.794 msecs
[ 8264.360169] tpm_tis 00:0a: tpm_transmit: tpm_send: error -62
[ 8264.360180] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
[ 8264.360185] PM: suspend of drv:tpm_tis dev:00:0a complete after 1992.705 msecs
[ 8264.360189] PM: Device 00:0a failed to suspend: error -62
[ 8264.360192] PM: Some devices failed to suspend
[ 8264.361728] sd 0:0:0:0: [sda] Starting disk
[ 8264.462873] PM: resume of devices complete after 102.675 msecs
[ 8264.463084] PM: resume devices took 0.100 seconds
[ 8264.463170] PM: Finishing wakeup.
[ 8264.463172] Restarting tasks ... done.
[ 8264.522051] video LNXVIDEO:00: Restoring backlight state

it's not clear to me which device failed to suspend (lspci below)
[ 8264.360169] tpm_tis 00:0a: tpm_transmit: tpm_send: error -62
[ 8264.360180] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
[ 8264.360185] PM: suspend of drv:tpm_tis dev:00:0a complete after 1992.705 msecs
[ 8264.360189] PM: Device 00:0a failed to suspend: error -62
the second last line says suspend complete, the last says failed.

blk@thinky:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection

completely reproducible by me, just ask if i can provide further clues.
thanks
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: blk 1401 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0620000 irq 46'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211f,00100000'
   Controls : 12
   Simple ctrls : 7
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6EHT11WW-1.05'
   Mixer name : 'ThinkPad EC 6EHT11WW-1.05'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.04
EcryptfsInUse: Yes
MachineType: LENOVO 2774A29
Package: linux (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-12-generic root=UUID=2e06b239-79a6-451b-99ad-722e75012179 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Regression: Yes
RelatedPackageVersions:
 linux-restricted-modules-2.6.37-12-generic N/A
 linux-backports-modules-2.6.37-12-generic N/A
 linux-firmware 1.45
Reproducible: Yes
Tags: natty kernel-power suspend resume regression-release needs-upstream-testing
Uname: Linux 2.6.37-12-generic x86_64
UserGroups: adm admin audio cdrom dialout fuse haldaemon kqemu kvm lpadmin plugdev sambashare video
WpaSupplicantLog:

dmi.bios.date: 08/10/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6EET52WW (3.12 )
dmi.board.name: 2774A29
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6EET52WW(3.12):bd08/10/2010:svnLENOVO:pn2774A29:pvrThinkPadX301:rvnLENOVO:rn2774A29:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2774A29
dmi.product.version: ThinkPad X301
dmi.sys.vendor: LENOVO

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Andreas,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . However, note you can only test Suspend, not Hibernate, when using a LiveCD. If the issue remains, run the following command from a Terminal (Applications->Accessories->Terminal) it will automatically gather and attach updated debug information to this report.

apport-collect -p linux 701470

Also, please be sure to take a look at https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume . If you can provide any additional information outlined there it would be much appreciated.

Additionally, if you could try to reproduce this with the upstream mainline kernel that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Andreas Brauchli (blk) wrote : AcpiTables.txt

apport information

tags: added: apport-collected kernel-power regression-release resume
description: updated
Revision history for this message
Andreas Brauchli (blk) wrote : AlsaDevices.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : BootDmesg.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : CRDA.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : IwConfig.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : Lspci.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : Lsusb.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : PciMultimedia.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : ProcEnviron.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : ProcModules.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : RfKill.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : UdevDb.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : UdevLog.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : WifiSyslog.txt

apport information

Revision history for this message
Andreas Brauchli (blk) wrote : Re: [natty] Suspend fails on thinkpad x301 after upgrade from maverick

same with upstream kernel
Linux thinky 2.6.37-020637-generic #201101050908 SMP Wed Jan 5 09:09:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[ 66.999277] EXT4-fs (sda1): re-mounted. Opts: discard,nobarrier,errors=remount-ro,commit=0
[ 67.030481] EXT4-fs (sda2): re-mounted. Opts: discard,nobarrier,commit=0
[ 67.990327] e1000e 0000:00:19.0: PCI INT A disabled
[ 68.040100] usb 4-2: USB disconnect, address 2
[ 68.105007] EXT4-fs warning (device sda1): ext4_issue_discard:2619: discard not supported, disabling
[ 68.167538] PM: Syncing filesystems ... done.
[ 68.169431] PM: Preparing system for mem sleep
[ 68.530428] Freezing user space processes ... (elapsed 0.02 seconds) done.
[ 68.560164] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 68.580153] PM: Entering mem sleep
[ 68.580257] Suspending console(s) (use no_console_suspend to debug)
[ 68.580865] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 68.585475] sd 0:0:0:0: [sda] Stopping disk
[ 188.640129] tpm_tis 00:0a: Operation Timed out
[ 188.640140] legacy_suspend(): pnp_bus_suspend+0x0/0x90 returns -62
[ 188.640144] PM: Device 00:0a failed to suspend: error -62
[ 188.640147] PM: Some devices failed to suspend
[ 188.641141] sd 0:0:0:0: [sda] Starting disk
[ 188.872700] PM: resume of devices complete after 232.546 msecs
[ 188.872931] PM: resume devices took 0.230 seconds
[ 188.873011] PM: Finishing wakeup.

tags: removed: needs-kernel-logs needs-upstream-testing
Revision history for this message
Andreas Brauchli (blk) wrote :

also exactly the same on 2.6.38-rc2. uname -a:
Linux thinky 2.6.38-020638rc2-generic #201101220905 SMP Sat Jan 22 09:09:13 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[ 96.358121] EXT4-fs (sda1): re-mounted. Opts: discard,nobarrier,errors=remount-ro,commit=0
[ 96.409713] EXT4-fs (sda2): re-mounted. Opts: discard,nobarrier,commit=0
[ 96.650033] EXT4-fs warning (device sda2): release_blocks_on_commit:2643: discard not supported, disabling
[ 97.490212] usb 4-2: USB disconnect, address 2
[ 97.500287] e1000e 0000:00:19.0: PCI INT A disabled
[ 97.654256] EXT4-fs warning (device sda1): release_blocks_on_commit:2643: discard not supported, disabling
[ 97.695098] PM: Syncing filesystems ... done.
[ 97.696922] PM: Preparing system for mem sleep
[ 98.190258] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 98.210126] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 98.230097] PM: Entering mem sleep
[ 98.230211] Suspending console(s) (use no_console_suspend to debug)
[ 98.230879] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 98.231172] sd 0:0:0:0: [sda] Stopping disk
[ 218.290131] tpm_tis 00:0a: Operation Timed out
[ 218.290142] legacy_suspend(): pnp_bus_suspend+0x0/0x90 returns -62
[ 218.290146] PM: Device 00:0a failed to suspend: error -62
[ 218.290149] PM: Some devices failed to suspend
[ 218.295050] sd 0:0:0:0: [sda] Starting disk
[ 218.522390] PM: resume of devices complete after 232.235 msecs
[ 218.522655] PM: resume devices took 0.230 seconds
[ 218.522687] PM: Finishing wakeup.

Revision history for this message
Andreas Brauchli (blk) wrote :

The problem lies in the TPM kernel module

Here's a discussion, workaround solution as well as a patch:
http://us.generation-nt.com/answer/regression-suspend-fails-because-tpm-modules-help-201235252.html

The permanent workaround on ubuntu is (as root)
# echo "options tpm_tis itpm=1" > /etc/modprobe.d/tpm-tis.conf

summary: [natty] Suspend fails on thinkpad x301 after upgrade from maverick
+ [SOLVED - Workaround]
Revision history for this message
Géza Búza (medve) wrote :

This bug affects the latest kernel on Maverick too. However the above workaround does the trick.

#lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

#uname -a
Linux BGT9400 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

Dmesd log attached.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.