Halt command in UEFI reboots

Bug #1530648 reported by Goh Lip
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Issuing "halt" command in grub prompt reboots the computer instead of shutting down completely. This happens only in UEFI systems and not in bios-legacy which works as it should. Computer does power down but restarts again.

Also, this happens in some mother boards but not others.
Affects the following Ubuntu grub versions - (all current) but tested on
Kubuntu Xenial - 2.02-beta2-32ubuntu1
Kubuntu Wily - 2.02-beta2-29ubuntu0.2

Machine tested is..
Machine: Mobo: ASUSTeK model: P8B75-V v: Rev X.0x
Bios: American Megatrends v: 0414 date: 04/24/2012

There is a fix for this in
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=aa7bb4607bb799b2790ea008bcfd8d6ca0a6d752

Would appreciate if Ubuntu update its grub version.
Thanks.

Colin Watson (cjwatson)
affects: grub (Ubuntu) → grub2 (Ubuntu)
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks, cherry-picked and pushed to git for my next upload.

Changed in grub2 (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.02~beta2-35

---------------
grub2 (2.02~beta2-35) unstable; urgency=medium

  * Apply the arm64 -mpc-relative-literal-loads workaround in configure
    rather than in debian/rules, to cope with toolchains that don't have the
    relevant patch applied.

 -- Colin Watson <email address hidden> Fri, 22 Jan 2016 11:02:10 +0000

Changed in grub2 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Goh Lip (gohlip) wrote :

Thanks. Tested 2.02~beta2-35 and confirm halt works in uefi.
Also in bios-legacy, halt command works completely to shutdown.
Prior to this, in bios-legacy, 'halt' hangs and does not reboot.

So confirm this update fixes both uefi and bios-legacy to complete computer shutdown.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.