[arm64] EFI stub: ERROR: FIRMWARE BUG: efi_loaded_image_t::image_base has bogus value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
dann frazier | ||
Xenial |
Fix Released
|
Undecided
|
dann frazier | ||
Bionic |
Fix Released
|
Undecided
|
dann frazier | ||
Focal |
Fix Released
|
Undecided
|
dann frazier | ||
Groovy |
Fix Released
|
Undecided
|
dann frazier | ||
Hirsute |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
When booting a kernel >= 5.7 via GRUB on an arm64 server, the EFI stub falsely reports a firmware bug:
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: ERROR: FIRMWARE BUG: efi_loaded_
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x431f0a10]
[Test Case]
Boot the arm64 groovy kernel, or any other kernel >= 5.7.
Regression test on an EFI based x86 system (e.g. lxc --vm)
[Fix]
https:/
[Where Problems Could Occur]
The fix is in GRUB's EFI loader, so problems would likely appear early in the boot of the kernel (during EFI stub processing).
tags: | added: rls-gg-incoming |
tags: | added: patch |
tags: | added: fr-880 |
tags: | removed: rls-gg-incoming |
Changed in grub2 (Ubuntu Hirsute): | |
assignee: | nobody → dann frazier (dannf) |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in grub2 (Ubuntu Groovy): | |
assignee: | nobody → dann frazier (dannf) |
Changed in grub2 (Ubuntu Bionic): | |
assignee: | nobody → dann frazier (dannf) |
Changed in grub2 (Ubuntu Focal): | |
assignee: | nobody → dann frazier (dannf) |
Changed in grub2 (Ubuntu Xenial): | |
assignee: | nobody → dann frazier (dannf) |
Here's the patch I tested (required some minor porting) w/ DEP-3 tags.