[Bug 2106728] Re: grub-efi-arm64 fails with out of memory error on some hardware

Launchpad Bug Tracker 2106728 at bugs.launchpad.net
Fri Apr 11 19:55:50 UTC 2025


This bug was fixed in the package grub2-unsigned - 2.12-5ubuntu11

---------------
grub2-unsigned (2.12-5ubuntu11) plucky; urgency=medium

  [ Tobias Heider ]
  * Replace 4GB memory allocation limit fix (LP: #2106728)

  [ Mate Kukri ]
  * Source package generated from src:grub2 using make -f ./debian/rules
    generate-grub2-unsigned

 -- Tobias Heider <tobias.heider at canonical.com>  Thu, 10 Apr 2025
15:23:50 +0200

** Changed in: grub2-unsigned (Ubuntu Plucky)
       Status: In Progress => 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/2106728

Title:
  grub-efi-arm64 fails with out of memory error on some hardware

Status in grub2 package in Ubuntu:
  In Progress
Status in grub2-signed package in Ubuntu:
  In Progress
Status in grub2-unsigned package in Ubuntu:
  Fix Released
Status in grub2 source package in Plucky:
  In Progress
Status in grub2-signed source package in Plucky:
  In Progress
Status in grub2-unsigned source package in Plucky:
  Fix Released

Bug description:
  A patch we added in 2.12-5ubuntu10 to fix LP: #2103864 caused a
  regression that breaks other hardware. There is no guarantee on arm64
  that any memory under 0xffffffff is available so forcing allocations
  below that address breaks affected machines.

  The responsible patch is d/p/arm64-Limit-memory-allocations-
  to-4GB.patch

  A better solution would be to try allocating in the lower 4GB and fall
  back to GRUB_EFI_MAX_USABLE_ADDRESS if that doesn't work.

  Affected hardware includes anything Apple silicon and apparently AMD
  Seattle.

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




More information about the foundations-bugs mailing list