Bug 234665 - Output of init(8) is suppressed in UEFI mode with QEMU
Summary: Output of init(8) is suppressed in UEFI mode with QEMU
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.2-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Keywords: uefi
Depends on:
Reported: 2019-01-06 15:44 UTC by vvv
Modified: 2020-12-03 15:26 UTC (History)
3 users (show)

See Also:

UEFI (17.00 KB, image/png)
2019-01-06 15:44 UTC, vvv
no flags Details
BIOS (9.45 KB, image/png)
2019-01-06 15:46 UTC, vvv
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description vvv 2019-01-06 15:44:39 UTC
Created attachment 200838 [details]

Output of init(8) is suppressed in UEFI mode. There are only kernel messages on ttyv0.

Here is screenshot of clean 12.0-RELEASE booted in UEFI mode.
Comment 1 vvv 2019-01-06 15:46:06 UTC
Created attachment 200839 [details]
Comment 2 vvv 2019-01-06 15:47:27 UTC
One more screenshot shows the same instance booted in BIOS mode.
Comment 3 vvv 2019-01-09 15:58:22 UTC
The problem occurs when FreeBSD started as guest OS under QEMU. CentOS 7 with qemu-kvm-ev-2.10.0-21.el7_5.7.1.x86_64 is used as hypervisor. UEFI firmware - edk2.git-ovmf-x64-0-20181129.805.g9601046bf4.noarch.

11.2-RELEASE works fine in the same conditions.
Also, 12.0-RELEASE works fine with ESXi in UEFI mode.
Comment 4 vvv 2020-12-03 12:44:43 UTC
The problem also applies to 12.1-RELEASE and 12.2-RELEASE.
Comment 5 vvv 2020-12-03 15:26:14 UTC
- Enter to UEFI settings (F2 on boot).
- Open 'Boot Maintenance Manager' menu.
- Open 'Console Options'.
- Open 'Console Output Device Select'.
- Switch off Serial checkbox. Other checkbox should be switched on (VGA?).
- Save settings and reboot.