I cannot get dual consoles for boot running in FreeBSD 10.3-RELEASE using the UEFI boot. When my settings are: /boot.config: -D -S115200 /boot/loader.conf: boot_multicons="YES" boot_serial="YES" comconsole_speed="115200" console="comconsole,efi" geli_ada0p4_keyfile0_load="YES" geli_ada0p4_keyfile0_type="ada0p4:geli_keyfile0" geli_ada0p4_keyfile0_name="/boot/encryption.key" aesni_load="YES" geom_eli_load="YES" geom_eli_passphrase_prompt="YES" vfs.root.mountfrom="zfs:zroot/ROOT/default" kern.geom.label.gptid.enable="0" zpool_cache_load="YES" zpool_cache_type="/boot/zfs/zpool.cache" zpool_cache_name="/boot/zfs/zpool.cache" zfs_load="YES" GELI passphrase shows in both consoles, but only accepts input from keyboard (at least only the enter key. It seems as if it might get some sort of other input from the serial console since the passphrase isn't correct when mounting occurs, and I have to enter it again from they keyboard OR serial console at this phase). Beastie menu shows on both, but doesn't have the auto-timeout for boot, and only accepts input from keyboard. Login works from both consoles. When my settings are the same above except for the line "console=comconsole" instead of "console=comconsole,efi" All console output/input works fine from the serial port, but nothing appears on the monitor until actual OS starts to boot. Autoboot from the beastie menu works fine in this mode, but GELI passphrase and beastie menu don't appear on the monitor. When my settings are the same above except for the line "console=comconsole, vidconsole" instead of "console=comconsole,efi" (like before the efi booting) I get "console vidconsole is invalid!" and everything else is the same as if I just had the comconsole as above.
The following works for us here: # SOL console boot_multicons="YES" boot_serial="YES" console="comconsole,efi" comconsole_speed="115200" hint.uart.0.flags="0x00" hint.uart.1.flags="0x30"
This should be fixed, I've tested 13.0 with following settings: boot_multicons="YES" boot_serial="YES" console="comconsole efi" comconsole_speed="115200"
As a note to future gogglers that find this. I had to add: comconsole_port="0x2f8" to loader.conf otherwise it would not work, eg dmesg would show: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 (Seemingly ignoring the flags and making uart0 a console..) This is on a Supermicro X11SRM-F running FreeBSD 13.1-RELEASE.