On Wed, Jun 29, 2022 at 8:53 PM Ted Wynnychenko <ted....@comcast.net> wrote: > > Hello > I was wondering if there is anything I could do to help figure this out. > I do not have the requisite knowledge to even begin to understand why the > kernel does not configure the vga output when boot.conf redirects to com0.
Look for a "redirection after boot" setting in your BIOS and try disabling that. The behavior you've described of both physical and serial consoles working at the boot prompt _without_ 'set tty com0' seems to indicate the BIOS is still handling redirection from keyboard/video to serial, and my guess is that when OpenBSD initializes the port for a serial console, it causes something in the BIOS-linked local keyboard/vga to go wonky (wsdisplay at vga1 not configured). Note that in UEFI mode, "wsdisplay at vga1 not configured" would be expected, as efifb takes over: ==== $ dmesg|egrep 'wsdisplay|fb|vga|com[0-9]' vga1 at pci7 dev 0 function 0 "Matrox MGA G200eR" rev 0x01 wsdisplay at vga1 not configured com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo com1: console efifb0 at mainbus0: 1280x1024, 32bpp wsdisplay0 at efifb0 mux 1 wsdisplay0: screen 0-5 added (std, vt100 emulation) ==== You might give UEFI mode a try, to see if efifb works better than the vga console. Redirection after boot is probably the more important setting though. Note that the login prompt appearing on a console (spawning a getty as configured in /etc/ttys) and the bootloader/kernel console device are independent settings. -Andrew