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

Bug #1947046 reported by dann frazier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
dann frazier

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]

Related branches

dann frazier (dannf)
no longer affects: grub2-unsigned (Ubuntu)
dann frazier (dannf)
description: updated
dann frazier (dannf)
description: updated
Changed in grub2 (Ubuntu):
status: New → In Progress
assignee: nobody → dann frazier (dannf)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers