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

2020-06-22 Thread Rebecca Cran
On 6/22/2020 6:18 PM, Warner Losh wrote: On Mon, Jun 22, 2020 at 6:18 PM Rebecca Cran > wrote: On 6/22/2020 10:12 AM, Warner Losh wrote: > I believe so. However, I've not dived deeply enough into this problem to > understand if it is a bug in our

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

2020-06-22 Thread Warner Losh
On Mon, Jun 22, 2020 at 6:18 PM Rebecca Cran wrote: > On 6/22/2020 10:12 AM, Warner Losh wrote: > > I believe so. However, I've not dived deeply enough into this problem to > > understand if it is a bug in our code or theirs.freebsd.org" > > > As I've said before, at least under bhyve it's a bug

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

2020-06-22 Thread Rebecca Cran
On 6/22/2020 10:12 AM, Warner Losh wrote: I believe so. However, I've not dived deeply enough into this problem to understand if it is a bug in our code or theirs.freebsd.org" As I've said before, at least under bhyve it's a bug in the UEFI firmware that we currently use. -- Rebecca Cran

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

2020-06-22 Thread Yasuhiro KIMURA
From: Warner Losh Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot Date: Mon, 22 Jun 2020 10:12:47 -0600 > I believe so. However, I've not dived deeply enough into this problem to > understand if it is a bug in our code or theirs. I got it. Thank you for

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

2020-06-22 Thread Warner Losh
On Mon, Jun 22, 2020 at 9:40 AM Yasuhiro KIMURA wrote: > From: Warner Losh > Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot > Date: Mon, 22 Jun 2020 08:57:24 -0600 > > > Does setting the tunable hw.efi.poweroff=0 help you? > > I add

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

2020-06-22 Thread Yasuhiro KIMURA
From: Warner Losh Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot Date: Mon, 22 Jun 2020 08:57:24 -0600 > Does setting the tunable hw.efi.poweroff=0 help you? I add it to /boot/loader.conf and then `shutdown -p now` successfully powers off system. Does existe

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

2020-06-22 Thread Michael Tuexen
> On 22. Jun 2020, at 16:57, Warner Losh wrote: > > On Mon, Jun 22, 2020 at 4:14 AM Yasuhiro KIMURA wrote: > >> From: Yasuhiro KIMURA >> Subject: Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot >> Date: Mon, 22 Jun 2020 16:45:23 +0900 (JST) &g

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

2020-06-22 Thread Warner Losh
On Mon, Jun 22, 2020 at 4:14 AM Yasuhiro KIMURA wrote: > From: Yasuhiro KIMURA > 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

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

2020-06-22 Thread Yasuhiro KIMURA
From: Yasuhiro KIMURA 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-f

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

2020-06-22 Thread Yasuhiro KIMURA
From: Yasuhiro KIMURA Subject: `shutdown -p now` fails to power off with VirtualBox UEFI boot Date: Fri, 19 Jun 2020 05:23:48 +0900 (JST) > I have VirtualBox VM running 13-CURRENT. In order to switch from > legacy BIOS to UEFI I reinstalled OS by using > FreeBSD-13.0-CURRENT-amd64

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

2020-06-21 Thread Yuri Pankov
Olivier Cochard-Labbé wrote: On Thu, Jun 18, 2020 at 10:26 PM Yasuhiro KIMURA wrote: I have VirtualBox VM running 13-CURRENT. In order to switch from legacy BIOS to UEFI I reinstalled OS by using FreeBSD-13.0-CURRENT-amd64-20200611-r362037-disc1.iso. After that `shutdow -p now` (or select

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

2020-06-21 Thread Rebecca Cran
On 6/21/20 12:37 AM, Olivier Cochard-Labbé wrote: Same problem using FreeBSD current UEFI guests with bhyve, so it should happen in any kind of hypervisor. It is an old regression (in the sense of -current, so older than 6 months). My idea was to generate very light UEFI VM images (because the

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

2020-06-21 Thread Olivier Cochard-Labbé
On Thu, Jun 18, 2020 at 10:26 PM Yasuhiro KIMURA wrote: > I have VirtualBox VM running 13-CURRENT. In order to switch from > legacy BIOS to UEFI I reinstalled OS by using > FreeBSD-13.0-CURRENT-amd64-20200611-r362037-disc1.iso. After that > `shutdow -p now` (or select 'ACPI shutdown' in VM menu)

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

2020-06-18 Thread Yasuhiro KIMURA
I have VirtualBox VM running 13-CURRENT. In order to switch from legacy BIOS to UEFI I reinstalled OS by using FreeBSD-13.0-CURRENT-amd64-20200611-r362037-disc1.iso. After that `shutdow -p now` (or select 'ACPI shutdown' in VM menu) fails to power off. Shutdown itself completes successfully. But