[Bug 1947046] Re: EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k boundary

Akihiro Suda 1947046 at bugs.launchpad.net
Fri Mar 11 07:17:12 UTC 2022


According to reports in https://github.com/lima-vm/lima/issues/712 ,
this issue seems also affecting Impish kernel 5.13.0-35.40 and Focal
kernel 5.4.0-103.117 .

Could you backport the fix to Impish and Focal, and release a new cloud
image (https://cloud-images.ubuntu.com/releases/) ?

** Bug watch added: github.com/lima-vm/lima/issues #712
   https://github.com/lima-vm/lima/issues/712

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

Title:
  EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k
  boundary

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Jammy:
  Fix Released

Bug description:
  [Impact]
  Recent kernels emit the following error message when booting on arm64 platforms:

    EFI stub: ERROR: FIRMWARE BUG: kernel image not aligned on 64k
  boundary

  While this doesn't appear to cause any functional issues - and indeed,
  the kernel commit that added the error[*] says "We can deal with this,
  but let's check for this condition anyway", it is still likely to
  cause user concern.

  [*]
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c32ac11da3f83bb42b986702a9b92f0a14ed4182

  [Test Case]
  Boot a recent kernel on an EFI-based arm64 system (impish will do, but the kernel patch is also hitting kernels in older releases). This message will be emitted after GRUB execs the kernel EFI stub.

  [Fix]
  https://github.com/rhboot/grub2/commit/6a5babc21e3ec665e0bae30e399db296451c121e

  [What Could Go Wrong]

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




More information about the foundations-bugs mailing list