(In reply to Ferry Toth from comment #45) > @jarko just tested with v5.8-rc1, result is the same as 5.1 - 5.6: crashes > on resume to boot screen, but setting tpm_tis.interrupts=0 resolves the > situation. > > Note the original reporter has a brainwashed chromebook Asus C302, I have a > brainwashed chromebook Acer 720P. In both cases tpm_tis.interrupts=0 solves > the problem. > > Other reporters may be experiencing unrelated issues. > > I had no time to bisect further today, will do tomorrow evening. and see if > I can confirm [a3fbfae82b4cb3ff9928e29f34c64d0507cad874]: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ > ?id=a3fbfae82b4cb3ff9928e29f34c64d0507cad874
I found something truly weird based on your dmesg outputs: % git --no-pager grep IFX0102 drivers/char/tpm drivers/char/tpm/tpm_infineon.c: {"IFX0102", 0}, drivers/char/tpm/tpm_tis.c: {"IFX0102", 0}, /* Infineon */ I.e. tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16) tpm tpm0: tpm_try_transmit: send(): error -5 tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts tpm_tis tpm_tis: Could not get TPM timeouts and durations tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16) tpm tpm0: tpm_try_transmit: send(): error -5 tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts tpm_tis 00:08: Could not get TPM timeouts and durations ima: No TPM chip found, activating TPM-bypass! tpm_inf_pnp 00:08: Found TPM with ID IFX0102 The HID is associated with two drivers and the last log entry tells that tpm_inf_pnp was successfully initialized. Given that tpm_tis showed problems already in the in v4.15, it would clue that tpm_tis driver should not include IFX0102. Looking at Author: Kylene Jo Hall <kjh...@us.ibm.com> Date: Sat Apr 22 02:39:52 2006 -0700 [PATCH] tpm: add HID module parameter I recently found that not all BIOS manufacturers are using the specified generic PNP id in their TPM ACPI table entry. I have added the vendor specific IDs that I know about and added a module parameter that a user can specify another HID to the probe list if their device isn't being found by the default list. Signed-off-by: Kylene Hall <kjh...@us.ibm.com> Signed-off-by: Andrew Morton <a...@osdl.org> Signed-off-by: Linus Torvalds <torva...@osdl.org> and % git --no-pager grep ATM1200 drivers/char/tpm drivers/char/tpm/tpm_tis.c: {"ATM1200", 0}, /* Atmel */ % git --no-pager grep BCM0101 drivers/char/tpm drivers/char/tpm/tpm_tis.c: {"BCM0101", 0}, /* Broadcom */ % git --no-pager grep NSC1200 drivers/char/tpm drivers/char/tpm/tpm_tis.c: {"NSC1200", 0}, /* National */ It looks like that that the author was not aware that tpm_infineon.c already was implemented for IFX0102. The errors come from non-TCG compatible TPM implemenation tried to be used with the TCG TIS driver. I'm not sure (yet) if this a full resolution of this bug but it is obviously something that should be first fixed before making any fast conclusions on further actions. If the issue still persists after fixing this, then it is easier to debug because the bug scoped down to the tpm_infineon driver. -- 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/1848771 Title: Reboot after resume from suspend (deep) Status in linux package in Ubuntu: Incomplete Status in ubuntu-release-upgrader package in Ubuntu: Invalid Bug description: After upgrading to Kubuntu Eoan (19.10) yesterday, my laptop crashes after resume from suspending. This is regardless the way of suspending (closing lid, selecting suspend from sddm, systemctl suspend). The journal shows: ferry@chromium:~$ journalctl -b -1 -e .. sddm[1106]: Message received from greeter: Suspend NetworkManager[836]: <info> manager: sleep: sleep requested (sleeping: no enabled: yes) NetworkManager[836]: <info> device (60:73:BC:BA:B8:68): state change: disconnected -> unmanaged (reason ' NetworkManager[836]: <info> device (60:73:BC:23:8F:3E): state change: disconnected -> unmanaged (reason ' NetworkManager[836]: <info> device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sle NetworkManager[836]: <info> manager: NetworkManager state is now ASLEEP systemd[1]: Reached target Sleep. systemd[1]: Starting Suspend... systemd-sleep[1238]: Suspending system... kernel: PM: suspend entry (deep) On resume (keypress, open lid) resume starts but immediately crashes and reboots. The laptop is an Acer 720p Chromebook with Chromium replaced and working fine with Kubuntu since 5 years or so. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: ubuntu-release-upgrader-core 1:19.10.15 ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1 Uname: Linux 5.3.0-18-generic x86_64 ApportVersion: 2.20.11-0ubuntu8 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Fri Oct 18 18:45:53 2019 InstallationDate: Installed on 2017-07-13 (826 days ago) InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to eoan on 2019-10-17 (0 days ago) VarLogDistupgradeTermlog: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848771/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp