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

Yuri Pankov yuripv at yuripv.dev
Sun Jun 21 10:41:23 UTC 2020


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.


More information about the freebsd-current mailing list