[Bug 1848892] Re: "error: Unknown TPM error." after upgrading to grub 2.04

Eric Andreani 1848892 at bugs.launchpad.net
Tue Nov 12 07:52:47 UTC 2019


@Adam Conrad (adconrad) : Thanks for this updated package on proposal.
No more problems to boot with this package on my laptop : ASUS GL553VE

$ uname -a
Linux ub-eric 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ dmesg | grep -i -e secure -e tpm
[    0.000000] efi:  TPMFinalLog=0x7aefb000  ACPI 2.0=0x7aa93000  ACPI=0x7aa93000  SMBIOS=0x7b2ec000  SMBIOS 3.0=0x7b2eb000  ESRT=0x789cd518 
[    0.000000] secureboot: Secure boot could not be determined (mode 0)
[    0.014858] ACPI: TPM2 0x000000007AACDBC0 000034 (v03        Tpm2Tabl 00000001 AMI  00000000)
[    0.765919] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
[    0.765937] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80

$ apt-cache policy grub2-common grub-efi-amd64-signed
grub2-common:
  Installé : 2.04-1ubuntu12.1
  Candidat : 2.04-1ubuntu12.1
 Table de version :
 *** 2.04-1ubuntu12.1 500
        500 http://fr.archive.ubuntu.com/ubuntu eoan-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.04-1ubuntu12 500
        500 http://fr.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
grub-efi-amd64-signed:
  Installé : 1.128.1+2.04-1ubuntu12.1
  Candidat : 1.128.1+2.04-1ubuntu12.1
 Table de version :
 *** 1.128.1+2.04-1ubuntu12.1 500
        500 http://fr.archive.ubuntu.com/ubuntu eoan-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1.128+2.04-1ubuntu12 500
        500 http://fr.archive.ubuntu.com/ubuntu eoan/main amd64 Packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1848892

Title:
  "error: Unknown TPM error." after upgrading to grub 2.04

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Eoan:
  Fix Committed
Status in grub2 source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Some specific system (listed in upstream thread at https://lists.gnu.org/archive/html/grub-devel/2019-10/msg00104.html)

  Mostly ASUS systems, but also reported on some Dell systems.

  The affected systems are used to boot in UEFI mode and will fail to
  write measurements to the possible onboard TPM, causing failure to
  boot.

  
  [Test case]
  1) Boot affected system to Ubuntu
  2) Verify that the system boots successfully to Ubuntu, without "unknown TPM error" messages.

  [Regression potential]
  Low risk of regression, as this changes the current behavior only to avoid failing to boot when such errors are encountered, instead switching the behavior to writing debug messages (if debugging is enabled only) in such cases. Further work may be needed later to correct or mitigate these errors if TPM measurements are needed to work on the affected systems, as such measurements would otherwise be incomplete.

  ---

  After upgrading to eoan today (via `do-release-upgrade -d`), my laptop
  failed to boot into the OS. I got the grub 2.04 screen (showing only
  Ubuntu), but selecting that gave me about 20 lines of "error: Unknown
  TPM error.", followed by "error: you need to load the kernel first"
  and no way to proceed/recover. Advanced options didn't work either.
  Dropping into the grub console and writing a simple command like `set
  root=(hd1,gpt5)` failed again with a TPM error. It goes without saying
  that booting had worked before with disco/grub 2.02.

  As a workaround, I eventually managed to boot using an eoan live CD,
  chroot'ed into my system, added the `disco main` repo, and forcefully
  downgraded to disco's 2.02. After reinstalling grub to the efi
  partition, booting finally worked again (with grub 2.02).

  lsb_release -rd
  Description:	Ubuntu 19.10
  Release:	19.10

  apt-cache policy grub-efi
  grub-efi:
    Installed: 2.02+dfsg1-12ubuntu2
    Candidate: 2.04-1ubuntu12
    Version table:
       2.04-1ubuntu12 500
          500 http://ubuntu.inode.at/ubuntu eoan/main amd64 Packages
   *** 2.02+dfsg1-12ubuntu2 500
          500 http://ubuntu.inode.at/ubuntu disco/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: grub-efi 2.02+dfsg1-12ubuntu2
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 19 23:20:07 2019
  InstallationDate: Installed on 2017-03-05 (958 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
  SourcePackage: grub2
  UpgradeStatus: Upgraded to eoan on 2019-10-19 (0 days ago)

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



More information about the foundations-bugs mailing list