Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2020 17:14:45 +0200
From:      Michael Tuexen <tuexen@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Yasuhiro KIMURA <yasu@utahime.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot
Message-ID:  <F5AFDCC5-5851-4B06-9DD4-736B794703B6@freebsd.org>
In-Reply-To: <CANCZdfqujHd2omS6G2AP7GOYdTOBVZf_a6yZ9Zj566kmpb5m0A@mail.gmail.com>
References:  <20200619.052348.232031363704679601.yasu@utahime.org> <20200622.164523.492970231904065687.yasu@utahime.org> <20200622.191348.2299220192956341788.yasu@utahime.org> <CANCZdfqujHd2omS6G2AP7GOYdTOBVZf_a6yZ9Zj566kmpb5m0A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

> On 22. Jun 2020, at 16:57, Warner Losh <imp@bsdimp.com> wrote:
> 
> On Mon, Jun 22, 2020 at 4:14 AM Yasuhiro KIMURA <yasu@utahime.org> wrote:
> 
>> From: Yasuhiro KIMURA <yasu@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@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@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@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5AFDCC5-5851-4B06-9DD4-736B794703B6>