[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 08:52:14 UTC 2022
Sorry, https://github.com/lima-vm/lima/issues/712 might not be related
to this issue.
The reporters of https://github.com/lima-vm/lima/issues/712 say that the
kernel doesn't boot at all after seeing the "EFI stub: ERROR: FIRMWARE
BUG: kernel image not aligned on 64k boundary" lines.
They are using M1 macOS version of QEMU (https://gitlab.com/qemu-
project/qemu/-/issues/899).
** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #899
https://gitlab.com/qemu-project/qemu/-/issues/899
--
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