@Khaled Just curious as to why this is now FixCommitted? Has Tyler's back-port landed in git for the next OEM and/or mainline kernel SRU release?
-- 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/1762672 Title: TPM intermittently fails after cold-boot Status in linux package in Ubuntu: Fix Released Status in linux source package in Bionic: Fix Committed Bug description: [Impact] On an 18.04 LTS system with a TPM, the TPM will fail intermittently on cold boots. The problem seems to be that the TPM gets into a state where the partial self-test doesn't return TPM_RC_SUCCESS (meaning all tests have run to completion), but instead returns TPM_RC_TESTING (meaning some tests are still running in the background). A reboot can sometimes restore TPM functionality. This bug was originally reported on a Dell XPS 13, but has also recently been reported on a Dell Edge Gateway 3000. The bug has been confirmed to be fixed in the current development release (19.04/Cosmic). [Test Case] Cold boot a Dell XPS 13 or Dell Edge Gateway 3000 running 18.04 LTS Desktop or Server and grep for the following error log message: "tpm tpm0: A TPM error (2314) occurred continue selftest" Any attempts at using the TPM via tpm2-tss libraries or tpm2-tools should produce errors. As this bug is due to a race condition, ideally this test case would be run multiple times (20+ cold boots). Once the patch is installed the following error message may still be present in the syslog, however attempts to use the TPM should work: "tpm tpm0: A TPM error (2314) occurred attempting the self test" [Regression Potential] The chance of regression is low, as this patch was written by a well respected kernel developer with deep TPM experience. The patch is also being cherry-picked from the upstream stable and LTS kernels, and as mentioned, has already landed in Disco. [Original Description] After updating a Dell XPS 13 to 18.04 LTS, the TPM started to intermittently fail on cold boot. The following log messages could be observed in syslog: [ 0.801334] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 4) [ 0.812132] tpm tpm0: A TPM error (2314) occurred continue selftest [ 0.843629] tpm tpm0: A TPM error (2314) occurred continue selftest [ 0.895424] tpm tpm0: A TPM error (2314) occurred continue selftest [ 0.987230] tpm tpm0: A TPM error (2314) occurred continue selftest [ 1.159026] tpm tpm0: A TPM error (2314) occurred continue selftest [ 1.490819] tpm tpm0: A TPM error (2314) occurred continue selftest [ 2.142530] tpm tpm0: A TPM error (2314) occurred continue selftest [ 3.423100] tpm tpm0: TPM self test failed [ 3.456304] ima: No TPM chip found, activating TPM-bypass! (rc=-19) Discussion https://lkml.org/lkml/2017/12/6/284 Fix https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/char/tpm/tpm2-cmd.c?id=2be8ffed093b91536d52b5cd2c99b52f605c9ba6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762672/+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