From owner-freebsd-stable@freebsd.org Fri Jul 19 21:15:20 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44F99ABE07 for ; Fri, 19 Jul 2019 21:15:20 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D00E286943 for ; Fri, 19 Jul 2019 21:15:19 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.101] (97-123-13-105.albq.qwest.net [97.123.13.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id A94311AFAC8; Fri, 19 Jul 2019 13:36:00 +0000 (UTC) Subject: Re: efi and serial console To: mike tancsa , freebsd-stable@freebsd.org References: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> From: Sean Bruno Openpgp: preference=signencrypt Autocrypt: addr=sbruno@freebsd.org; prefer-encrypt=mutual; keydata= mQENBFk+0UEBCADaf4bgxxKvMOhRV5NPoGWRCCGm49d6+1VFNlQ77WsY/+Zvf95TPULdRlnG w648KfxWt7+O3kdKhdRwnqlXWC7zA2Qt0dRE1yIqOGJ4jp4INvp/bcxWzgr0aoKOjrlnfxRV bh+s0rzdZt6TsNL3cVYxkC8oezjaUkHdW4mFJU249U1QJogkF8g0FeKNfEcjEkwJNX6lQJH+ EzCWT0NCk6J+Xyo+zOOljxPp1OUfdvZi3ulkU/qTZstGVWxFVsP8xQklV/y3AFcbIYx6iGJ4 5L7WuB0IWhO7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AQUeWiSle/H0UCK7xPOzC/aeUC4oygDQKAfkkNbCNTo3+A qDjBRA8qx0e9a/QjDL+RFgD4L5kLT4tToY8T8HaBp8h03LBfk510IaI8oL/Jg7vpM3PDtJMW tUi2H+yNFmL3NfM2oBToWKLFsoP54f/eeeImrNnrlLjLHPzqS+/9apgYqX2Jwiv3tHBc4FTO GuY8VvF7BpixJs8Pc2RUuCfSyodrp1YG1kRGlXAH0cqwwr0Zmk4+7dZvtVQMCl6kS6q1+84q JwtItxS2eXSEA4NO0sQ3BXUywANh Message-ID: Date: Fri, 19 Jul 2019 15:15:08 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hM4UOFTM5V4ZKLNP80UpQ0MvaITIdctRq" X-Rspamd-Queue-Id: D00E286943 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; ASN(0.00)[asn:36236, ipnet:199.102.76.0/22, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2019 21:15:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hM4UOFTM5V4ZKLNP80UpQ0MvaITIdctRq Content-Type: multipart/mixed; boundary="WOnlFDZHBiKESht8SXBn91xv2ZT0eVBVE"; protected-headers="v1" From: Sean Bruno To: mike tancsa , freebsd-stable@freebsd.org Message-ID: 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--