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

Olivier Cochard-Labbé olivier at freebsd.org
Sun Jun 21 06:37:46 UTC 2020


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.

Regards,

Olivier


More information about the freebsd-current mailing list