`shutdown -p now` fails to power off with VirtualBox UEFI boot

Michael Tuexen tuexen at freebsd.org
Mon Jun 22 15:14:51 UTC 2020


> On 22. Jun 2020, at 16:57, Warner Losh <imp at bsdimp.com> wrote:
> 
> On Mon, Jun 22, 2020 at 4:14 AM Yasuhiro KIMURA <yasu at utahime.org> wrote:
> 
>> From: Yasuhiro KIMURA <yasu at utahime.org>
>> Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot
>> Date: Mon, 22 Jun 2020 16:45:23 +0900 (JST)
>> 
>>> I tried bisect and found this problem happens with r342108 and
>>> after. Commit message of r342108 says as following.
>>> 
>>> yasu at rolling-vm-freebsd5[1012]% LANG=C svn log -c 342108
>>> ------------------------------------------------------------------------
>>> r342108 | cem | 2018-12-15 14:46:04 +0900 (Sat, 15 Dec 2018) | 7 lines
>>> 
>>> efirt: When present, attempt to use EFI runtime services to shutdown
>>> 
>>> PR:             maybe related to 233998 (inconclusive at this time)
>>> Submitted by:   byuu <byuu AT tutanota.com> (previous version)
>>> Reviewed by:    imp
>>> Differential Revision:  https://reviews.freebsd.org/D18506
>>> 
>>> ------------------------------------------------------------------------
>>> yasu at rolling-vm-freebsd5[1013]%
>>> 
>>> Judging from it, I think it's very likely that this commit caused the
>>> problem.
>>> 
>>> Then is there anything I can do for further investigation?
>> 
>> I submitted this problem to Bugzilla.
>> 
>> Bug 247474 - `shutdown -p now` fails to power off with VirtualBox UEFI boot
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247474
>> 
> 
> Does setting the tunable hw.efi.poweroff=0 help you?
That works for me (FreeBSD head on Virtual Box, latest release, on Mac OS).

Best regards
Michael
> 
> Warner
> 
> 
>> ---
>> Yasuhiro KIMURA
>> _______________________________________________
>> freebsd-current at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list