Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2019 15:58:57 -0400
From:      mike tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   efi and serial console
Message-ID:  <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35977a5a-a7ca-9511-fdab-d4b2e4d091a2>