TPM breaks resume from suspend

Bug #1971567 reported by aerobat
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading Lenovo Thinkpad X260 from 21.10 to 22.04, following error shows at boot:

[ 4.830657] tpm tpm0: Operation Timed out
[ 11.654699] tpm tpm0: Operation Timed out
[ 11.654718] tpm_crb: probe of MSFT0101:00 failed with error -62

Notable consequence is that the laptop will not resume from suspend any more, even with the power button pressed.

After disabling TPM ("Security Chip" in Lenovo BIOS) completely, everything works normal.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-27-generic 5.15.0-27.28
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: martin 2147 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed May 4 13:15:17 2022
InstallationDate: Installed on 2022-03-06 (59 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: LENOVO 20F5S0V400
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-27-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
SourcePackage: linux
UpgradeStatus: Upgraded to jammy on 2022-04-24 (10 days ago)
dmi.bios.date: 02/23/2022
dmi.bios.release: 1.49
dmi.bios.vendor: LENOVO
dmi.bios.version: R02ET76W (1.49 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20F5S0V400
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.16
dmi.modalias: dmi:bvnLENOVO:bvrR02ET76W(1.49):bd02/23/2022:br1.49:efr1.16:svnLENOVO:pn20F5S0V400:pvrThinkPadX260:rvnLENOVO:rn20F5S0V400:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20F5_BU_Think_FM_ThinkPadX260:
dmi.product.family: ThinkPad X260
dmi.product.name: 20F5S0V400
dmi.product.sku: LENOVO_MT_20F5_BU_Think_FM_ThinkPad X260
dmi.product.version: ThinkPad X260
dmi.sys.vendor: LENOVO

Revision history for this message
aerobat (austrianized) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
aerobat (austrianized) wrote : Re: TPM breaks resume from standby

Tried latest mainline kernel (amd64/linux-image-unsigned-5.18.0-051800rc5-generic_5.18.0-051800rc5.202205011831_amd64.deb) - bug persists.

aerobat (austrianized)
summary: - TPM breaks resume from standby
+ TPM breaks resume from suspend
description: updated
tags: added: suspend-resume
Revision history for this message
zob (zob) wrote :

I see a similar issue on Lenovo Thinkpad P50. If TPM/Security Chip is on in BIOS, I cannot turn off the computer in the normal way. I seems to shot down and screen becomes black, but it is still running (hot) and power led is on. I can then turn if off by pressing power button for 5 seconds. I didn't see this issue before upgrading from 20.04 to 22.04.

OS: Ubuntu 22.04 LTS x86_64
Host: 20EQS0PQ00 ThinkPad P50
Kernel: 5.15.0-27-generic
Uptime: 40 mins
Packages: 2992 (dpkg), 45 (snap)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: GNOME
WM: Mutter
WM Theme: Adwaita
Theme: Yaru [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-6820HQ (8) @ 3.600GHz
GPU: NVIDIA Quadro M1000M
GPU: Intel HD Graphics 530
Memory: 3257MiB / 23740MiB

Revision history for this message
Nicolas (ngrzesitchak) wrote :

Have the same behaviour on my Lenovo Thinkpad T460s (20FAS0FD07) running 5.15.0-33-generic:
1. laptop can't get out of suspend
2. boot is longer than with 21.10 due to the time out of TPM

[ 0.027286] ACPI: Reserving TPM2 table memory at [mem 0xcfff8000-0xcfff8033]
[ 5.122778] tpm tpm0: Operation Timed out
[ 11.946910] tpm tpm0: Operation Timed out
[ 11.946942] tpm_crb: probe of MSFT0101:00 failed with error -62
[ 12.023475] ima: No TPM chip found, activating TPM-bypass!

(^^ extract of "demsg | grep -i tpm")

Thanks,
Nicolas

Revision history for this message
aerobat (austrianized) wrote :

Switched to Linux Mint for unrelated reasons and noticed that the bug is gone.
Linux Mint Cinnamon 21.1 with kernel 5.15.0-56-generic.
Chances are that the bug is resolved in mainstream Ubuntu as well. Will check when I find the time.

$dmesg | grep -i tpm
[ 0.000000] efi: SMBIOS=0xd6e24000 ACPI=0xd7ffd000 ACPI 2.0=0xd7ffd014 ESRT=0xd6cb3000 MOKvar=0xd0735000 RNG=0xd6cb4a98 TPMEventLog=0xc9c7e018
[ 0.000000] TPM Final Events table not present
[ 0.022627] ACPI: SSDT 0x00000000D7FFA000 0004B7 (v02 LENOVO Tpm2Tabl 00001000 INTL 20141107)
[ 0.022639] ACPI: TPM2 0x00000000D7FF8000 000034 (v03 LENOVO TP-R02 00001490 PTEC 00000002)
[ 0.022779] ACPI: Reserving TPM2 table memory at [mem 0xd7ff8000-0xd7ff8033]

Revision history for this message
alberto (alberto-spinazze) wrote :

Have same issue on my lenovo x1 carbon 4th, model 20FCS0CB00.
I did some check and it seems related to kernel, because until 6.7.6 everything is fine, but from 6.7.7 issue start.
Thanks
Alberto

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.