Date: Fri, 19 Jul 2019 15:15:08 -0600 From: Sean Bruno <sbruno@freebsd.org> To: mike tancsa <mike@sentex.net>, freebsd-stable@freebsd.org Subject: Re: efi and serial console Message-ID: <cc42d92c-38e1-4ca4-9414-90b4a46ced16@freebsd.org> In-Reply-To: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> References: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hM4UOFTM5V4ZKLNP80UpQ0MvaITIdctRq Content-Type: multipart/mixed; boundary="WOnlFDZHBiKESht8SXBn91xv2ZT0eVBVE"; protected-headers="v1" From: Sean Bruno <sbruno@freebsd.org> To: mike tancsa <mike@sentex.net>, freebsd-stable@freebsd.org Message-ID: <cc42d92c-38e1-4ca4-9414-90b4a46ced16@freebsd.org> Subject: Re: efi and serial console References: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> In-Reply-To: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> --WOnlFDZHBiKESht8SXBn91xv2ZT0eVBVE Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 >=20 >=20 > ttyu0=C2=A0=C2=A0 "/usr/libexec/getty std.115200=C2=A0 vt100=C2=A0=C2=A0= on secure >=20 > in /etc/ttys >=20 > and in /boot/loader.conf >=20 > console=3D"comconsole,vidconsole" > comconsole_speed=3D"115200"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Set t= he current serial console speed >=20 > With some googling, I did find I now have to use=C2=A0 in /boot/loader.= conf >=20 > boot_multicons=3D"YES" > boot_serial=3D"YES" > console=3D"comconsole,efi" > comconsole_speed=3D"115200"=C2=A0=C2=A0 >=20 > However, I can never get getty to automatically start up. I have >=20 >=20 > # grep u0 /etc/ttys > ttyu0=C2=A0=C2=A0 "/usr/libexec/getty std.115200=C2=A0 vt100=C2=A0=C2=A0= on secure > # >=20 > but at boot up time, I can see on my serial connection the boot loader > etc and everything prints out to >=20 > 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 >=20 >=20 > and then nothing.=C2=A0 No login prompt and I dont see getty running on= the > serial port. If I ssh in and then do a >=20 > /usr/libexec/getty std.115200 ttyu0 >=20 >=20 > up pops the login prompt and I can login over serial. However, I have t= o > login as a non root user first.=C2=A0 Any idea what I am missing ? >=20 > =C2=A0=C2=A0=C2=A0 ---Mike >=20 >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" >=20 I assume that you changed the default here as my machine's /etc/ttys looks different? sbruno@alice:~ % grep ttyu0 /etc/ttys ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure sean --WOnlFDZHBiKESht8SXBn91xv2ZT0eVBVE-- --hM4UOFTM5V4ZKLNP80UpQ0MvaITIdctRq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAl0yMt1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LZuGQf9Gb7zAs2S18UA8pbjdrLeoTohlT8Ak1Qww+hAC5SBSvMpcUPQThg2ae5n cBoXc9LPFLyyuP4FIzKJnrP6B2qc0QpmT76hlxdjrFeK8XetMQ7XbRLpCGOgLUnE jTfwQH/oCIyCeZ+y0YSgToCws4QPKNiG3wAcIgcebEW3f4kCMz83PvXg1ndlAb9a ZlLszOtnD0HJQ6txt4QKuOeE4+DIEeEZa+A+au2ObcgEEyRv3WrraJEde6D/Li1P l3wlTX77j6GKGoGYAFljhlf9pu5mFM0jmXYHftzPW9lkUllT2p1LDiApVhKxrUdf BdNqKLURcvoMgtW8ICsSdPsWm+etTQ== =aGWR -----END PGP SIGNATURE----- --hM4UOFTM5V4ZKLNP80UpQ0MvaITIdctRq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cc42d92c-38e1-4ca4-9414-90b4a46ced16>