Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 13:34:41 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>, Yasuhiro KIMURA <yasu@utahime.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: `shutdown -p now` fails to power off with VirtualBox UEFI boot
Message-ID:  <0a52c783-d3b2-837c-047c-e6c3cf354cd2@yuripv.dev>
In-Reply-To: <CA%2Bq%2BTcpsWSchyFkn7s6mpP_vPURHv=T5y8br8F2ccd9aHQPQHQ@mail.gmail.com>
References:  <20200619.052348.232031363704679601.yasu@utahime.org> <CA%2Bq%2BTcpsWSchyFkn7s6mpP_vPURHv=T5y8br8F2ccd9aHQPQHQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Cochard-Labbé wrote:
> On Thu, Jun 18, 2020 at 10:26 PM Yasuhiro KIMURA <yasu@utahime.org> 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) fails to power
>> off. Shutdown itself completes successfully. But power off never
>> happens and CPU usage keeps high until either closing or resetting VM.
>>
>> I reinstalled OS by using
>> FreeBSD-13.0-CURRENT-amd64-20200618-r362292-disc1.iso but the problem
>> still happens. If I switch back to legacy BIOS then the problem
>> disappears. And it doesn't happen with either 11.4-RELEASE and
>> 12.1-RELEASE.
>>
>>
>> Hi,
> 
> 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 snapshot VM
> images are BIOS based) and scripting a bisector tool, but I never took the
> time to do it.

FWIW, shutdown works for me in VMware Workstation (Windows) and ESXi 
VMs, UEFI boot.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a52c783-d3b2-837c-047c-e6c3cf354cd2>