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

Ike Panhc ike.pan at canonical.com
Thu Dec 14 14:48:09 UTC 2017


grub2-signed in -proposed is in dependency wait.

Install debs manually and confirm that grub2 binaries in -proposed solve
this problem.


                   GNU GRUB  version 2.02~beta2-36ubuntu3.15

   Minimal BASH-like line editing is supported. For the first word, TAB   
   lists possible command completions. Anywhere else TAB lists possible   
   device or file completions. ESC at any time exits.                     


grub> exit
Unloading driver at 0x00030F5F000
CoreLoadedImageInfo: Not an ImageHandle 3C1D0F18

  Failed to boot both default and fallback entries.

Press any key to continue...


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-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