[Bug 264267] UEFI Booting on Azure Generation 2 VMs crashes

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Jun 2022 03:28:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264267

--- Comment #29 from Wei Hu <weh@microsoft.com> ---
We have narrowed down the problem area to serial console output in FreeBSD and
Azure COM emulator. Seems these two don't work very well at the early boot
time. Maybe some synchronizing event was missing which causes the hang. The
interesting part is, if the boot passes certain stage, the serial console works
100% fine. 

So, the temporary workaround is to suppress all printf's from the beginning of
boot up until:

 SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL);

We are working on checking the state of COM emulator in Azure to understand the
cause.

-- 
You are receiving this mail because:
You are the assignee for the bug.