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

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 22 Jun 2020 08:57:24 -0600
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?

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"
>
Received on Mon Jun 22 2020 - 12:57:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC