2019-10-19 21:32:24 |
Stefan Löffler |
bug |
|
|
added bug |
2019-10-20 10:26:46 |
Launchpad Janitor |
grub2 (Ubuntu): status |
New |
Confirmed |
|
2019-10-20 16:17:54 |
Mark Rijckenberg |
bug |
|
|
added subscriber Mark Rijckenberg |
2019-10-21 11:46:17 |
Mark Rijckenberg |
bug |
|
|
added subscriber Mauricio Faria de Oliveira |
2019-10-21 13:48:42 |
Mauricio Faria de Oliveira |
removed subscriber Mauricio Faria de Oliveira |
|
|
|
2019-10-22 09:19:43 |
Mark Rijckenberg |
tags |
amd64 apport-bug eoan |
2.04 amd64 apport-bug eoan grub tpm |
|
2019-10-23 09:10:36 |
Sebastien Bacher |
grub2 (Ubuntu): importance |
Undecided |
High |
|
2019-10-23 09:10:48 |
Sebastien Bacher |
tags |
2.04 amd64 apport-bug eoan grub tpm |
2.04 amd64 apport-bug eoan grub rls-ee-incoming tpm |
|
2019-10-23 12:43:33 |
Adam Niedling |
bug |
|
|
added subscriber Adam Niedling |
2019-10-23 16:42:44 |
AtesComp |
bug |
|
|
added subscriber AtesComp |
2019-10-27 12:12:51 |
Ben Bipod |
bug |
|
|
added subscriber Ben Bipod |
2019-10-31 15:21:17 |
Brian Murray |
nominated for series |
|
Ubuntu Eoan |
|
2019-10-31 15:21:17 |
Brian Murray |
bug task added |
|
grub2 (Ubuntu Eoan) |
|
2019-10-31 15:21:17 |
Brian Murray |
nominated for series |
|
Ubuntu Focal |
|
2019-10-31 15:21:17 |
Brian Murray |
bug task added |
|
grub2 (Ubuntu Focal) |
|
2019-10-31 15:21:32 |
Brian Murray |
tags |
2.04 amd64 apport-bug eoan grub rls-ee-incoming tpm |
2.04 amd64 apport-bug eoan grub tpm |
|
2019-10-31 20:05:42 |
Mathieu Trudel-Lapierre |
description |
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) |
[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) |
|
2019-10-31 20:05:46 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Eoan): status |
New |
Triaged |
|
2019-10-31 20:05:49 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Eoan): importance |
Undecided |
High |
|
2019-10-31 20:05:51 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Focal): status |
Confirmed |
In Progress |
|
2019-11-01 12:51:38 |
Francis Ginther |
tags |
2.04 amd64 apport-bug eoan grub tpm |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
|
2019-11-01 13:55:49 |
Mathieu Trudel-Lapierre |
tags |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
2.04 amd64 apport-bug block-proposed eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
|
2019-11-01 19:14:36 |
Mathieu Trudel-Lapierre |
tags |
2.04 amd64 apport-bug block-proposed eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
|
2019-11-01 22:39:15 |
Launchpad Janitor |
grub2 (Ubuntu Focal): status |
In Progress |
Fix Released |
|
2019-11-05 05:49:04 |
Adam Conrad |
grub2 (Ubuntu Eoan): status |
Triaged |
Fix Committed |
|
2019-11-05 05:49:07 |
Adam Conrad |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-11-05 05:49:10 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2019-11-05 05:49:14 |
Adam Conrad |
tags |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm verification-needed verification-needed-eoan |
|
2019-11-05 12:38:09 |
Marcos Carbonell |
grub2 (Ubuntu Eoan): status |
Fix Committed |
New |
|
2019-11-05 12:38:16 |
Marcos Carbonell |
grub2 (Ubuntu Eoan): status |
New |
Fix Committed |
|
2019-11-06 09:03:32 |
Loicvh |
bug |
|
|
added subscriber Loicvh |
2019-11-09 21:02:54 |
Etienne URBAH |
tags |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm verification-needed verification-needed-eoan |
2.04 amd64 apport-bug eoan grub id-5dbafbfc5d01ae8c60af72b8 tpm verification-done-eoan verification-needed |
|
2019-11-09 21:04:57 |
Etienne URBAH |
bug |
|
|
added subscriber Etienne URBAH |
2019-11-17 10:22:15 |
Ben Bipod |
removed subscriber Ben Bipod |
|
|
|
2019-11-25 09:58:20 |
Launchpad Janitor |
grub2 (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-11-25 09:58:30 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-11-25 10:49:46 |
Eric Andreani |
removed subscriber Eric Andreani |
|
|
|
2021-01-04 09:09:19 |
broucaries |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940911 |
|
2021-01-04 09:09:19 |
broucaries |
bug task added |
|
grub2 (Debian) |
|
2021-01-04 09:43:52 |
Bug Watch Updater |
grub2 (Debian): status |
Unknown |
New |
|
2021-02-25 21:59:07 |
Bug Watch Updater |
grub2 (Debian): status |
New |
Confirmed |
|
2021-07-12 12:39:29 |
Bug Watch Updater |
grub2 (Debian): status |
Confirmed |
Fix Released |
|