Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2024 16:30:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277450] "poweroff" does not power off the system when EFI is used
Message-ID:  <bug-277450-227-c5mjchANCo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277450-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277450-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277450

--- Comment #9 from Andriy Gapon <avg@FreeBSD.org> ---
When hw.efi.poweroff=3D1, EFI shutdown routine is invoked much earlier than=
 ACPI,
so ACPI has no play. It seems that the system hangs in the EFI routine inst=
ead
of powering off. So it must be a problem with the EFI implementation or
something like that.

FreeBSD EFI shutdown code is extremely simple:
    if ((howto & RB_POWEROFF) !=3D 0 && efi_poweroff)
        (void)efi_reset_system(EFI_RESET_SHUTDOWN);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277450-227-c5mjchANCo>