[Bug 1731241] Re: grub exit on arm64-efi crashes

Brian Murray brian at ubuntu.com
Tue Dec 12 22:31:58 UTC 2017


Hello Ike, or anyone else affected,

Accepted grub2 into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-36ubuntu3.15 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: grub2 (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

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

Title:
  grub exit on arm64-efi crashes

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Xenial:
  Fix Committed

Bug description:
  [Impact]

   * grub exit on arm64-efi causes EFI exception, requiring reboot to
  recover.

  [Test Case]

   * Using grub cmdline and exit shall return to UEFI

  [Regression Potential]

   * Low regression risk due to
     - Only codes on exit with efi platform modified
     - patch cherry-picked from upstream and already in grub2 since zesty

  [Other Info]

   * Patch on upstream

  commit c945ca75c3b2b900040b905323b1226cb60a1166
  Author: Mark Salter <msalter at redhat.com>
  Date: Fri Aug 15 12:22:43 2014 -0400

      Fix exit to EFI firmware

      The current code for EFI grub_exit() calls grub_efi_fini() before
      returning to firmware. In the case of ARM, this leaves a timer
      event running which could lead to a firmware crash. This patch
      changes this so that grub_machine_fini() is called with a NORETURN
      flag. This allows machine-specific shutdown to happen as well
      as the shutdown done by grub_efi_fini().

      Signed-off-by: Mark Salter <msalter at redhat.com>

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



More information about the foundations-bugs mailing list