efi and serial console

mike tancsa mike at sentex.net
Fri Jul 19 19:58:59 UTC 2019


I installed a RELENG12 snapshot from July 11th and having a hard time
getting serial console to work. In the past, I would have something
simple like


ttyu0   "/usr/libexec/getty std.115200  vt100   on secure

in /etc/ttys

and in /boot/loader.conf

console="comconsole,vidconsole"
comconsole_speed="115200"       # Set the current serial console speed

With some googling, I did find I now have to use  in /boot/loader.conf

boot_multicons="YES"
boot_serial="YES"
console="comconsole,efi"
comconsole_speed="115200"  

However, I can never get getty to automatically start up. I have


# grep u0 /etc/ttys
ttyu0   "/usr/libexec/getty std.115200  vt100   on secure
#

but at boot up time, I can see on my serial connection the boot loader
etc and everything prints out to

Configuring vt: blanktime.
Performing sanity check on sshd configuration.
Starting sshd.
Starting sendmail_submit.
igb0: link state changed to UP
Starting sendmail_msp_queue.
Starting cron.
Starting backgrou


and then nothing.  No login prompt and I dont see getty running on the
serial port. If I ssh in and then do a

/usr/libexec/getty std.115200 ttyu0


up pops the login prompt and I can login over serial. However, I have to
login as a non root user first.  Any idea what I am missing ?

    ---Mike




More information about the freebsd-stable mailing list