[Bug 1900774] Re: [arm64] EFI stub: ERROR: FIRMWARE BUG: efi_loaded_image_t::image_base has bogus value

Launchpad Bug Tracker 1900774 at bugs.launchpad.net
Mon Nov 23 11:05:04 UTC 2020


This bug was fixed in the package grub2 - 2.04-1ubuntu35.1

---------------
grub2 (2.04-1ubuntu35.1) groovy; urgency=medium

  * Avoid "EFI stub: FIRMWARE BUG" message when booting >= 5.7 kernels
    on arm64 by setting the image base address before jumping to the
    PE/COFF entry point LP: #1900774
  * Fix tftp timeouts when fetching large files. LP: #1900773

 -- dann frazier <dannf at ubuntu.com>  Thu, 12 Nov 2020 16:08:57 -0700

** Changed in: grub2 (Ubuntu Groovy)
       Status: Fix Committed => Fix Released

-- 
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/1900774

Title:
  [arm64] EFI stub: ERROR: FIRMWARE BUG: efi_loaded_image_t::image_base
  has bogus value

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Xenial:
  Fix Committed
Status in grub2 source package in Bionic:
  Fix Committed
Status in grub2 source package in Focal:
  Fix Committed
Status in grub2 source package in Groovy:
  Fix Released
Status in grub2 source package in Hirsute:
  Fix Released

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_image_t::image_base has bogus value
  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://github.com/rhboot/grub2/commit/1d5ef08216edec4d31d0e10cfdb30b5ebfef7a45

  [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).

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



More information about the foundations-bugs mailing list