efi and serial console
Sean Bruno
sbruno at freebsd.org
Fri Jul 19 21:15:20 UTC 2019
On 2019-07-19 13:58, mike tancsa wrote:
> 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
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
I assume that you changed the default here as my machine's /etc/ttys
looks different?
sbruno at alice:~ % grep ttyu0 /etc/ttys
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20190719/f450c7b4/attachment.sig>
More information about the freebsd-stable
mailing list