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

From: Yuri Pankov <yuripv_at_yuripv.dev>
Date: Sun, 21 Jun 2020 13:34:41 +0300
Olivier Cochard-Labbé wrote:
> On Thu, Jun 18, 2020 at 10:26 PM Yasuhiro KIMURA <yasu_at_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.
Received on Sun Jun 21 2020 - 08:41:23 UTC

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