grub exit on arm64-efi crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Ike Panhc |
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 c945ca75c3b2b90
Author: Mark Salter <email address hidden>
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 <email address hidden>
Changed in grub2 (Ubuntu): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
status: | New → In Progress |
Changed in grub2 (Ubuntu Xenial): | |
assignee: | nobody → Ike Panhc (ikepanhc) |
status: | New → In Progress |
Changed in grub2 (Ubuntu): | |
status: | In Progress → Fix Released |
assignee: | Ike Panhc (ikepanhc) → nobody |
description: | updated |
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/ PerformingSRUVe rification . Thank you in advance!