Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 06:30:46 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "Dave Cottlehuber" <dch@skunkwerks.at>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: console shows =?ISO-8859-1?Q?=E0=E0=E0=E0=E0=E0=E0=E0=E0?= on startup soon after starting sshd & cron
Message-ID:  <20190913063046.85db4c25.freebsd@edvax.de>
In-Reply-To: <707e3563-cc8e-487e-b4b5-069d78a2b984@www.fastmail.com>
References:  <c29f4edd-1e74-4701-ad77-9bad6b89ed37@www.fastmail.com> <707e3563-cc8e-487e-b4b5-069d78a2b984@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Sep 2019 20:16:19 +0000, Dave Cottlehuber wrote:
> On Fri, 26 Jul 2019, at 13:07, Dave Cottlehuber wrote:
> > Anybody seen this before? Over ipmi, soon after ssh and other daemons=20
> > start, with
> > normal text output, text is garbled:
> >=20
> > Mounting late filesystems:.
> > Starting sendmail_submit.
> > Configuring vt: blanktime.
> > Performing sanity check on sshd configuration.
> > Starting sshd.
> > Starting cron.
> > Starting=20
> > backgro=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=
=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=
=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=
=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0=E0
> >=20
> > is displayed on the console.
> >=20
> > Immediately after shutting the system down, normal text resumes. I'm=20
> > guessing it
> > is some misconfiguration of some lconsole or terminal settings, but I=20
> > have no idea
> > what that might be?
> >=20
> > A+
> > Dave
>=20
> I'm no tty* expert but after vacation, I realised /etc/ttys has been modi=
fied.
>=20
> diff /etc/ttys:
>=20
> @@ -13,10 +13,13 @@ ttyv6       "/usr/libexec/getty Pc"         cons25  o=
ff secure
>  ttyv7  "/usr/libexec/getty Pc"         cons25  off secure
>  ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
>  # Serial terminals
> -ttyu0  "/usr/libexec/getty std.19200"  dialup  on secure
> -ttyu1  "/usr/libexec/getty std.19200"  dialup  on secure
> -ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
> -ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
> +# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> +# NB these are required for IPMI SoL to function after kernel loads
> +ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> +ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> +ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
> +ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole secure
>=20
> I have no idea why somebody would have set these differently for 10.x
> vs 12.0R but maybe=20
> this will help future users.

What FreeBSD version is this? For some time now, the type for the
virtual consoles is "xterm", not "cons25" or "cons25l1".

Example:

ttyv6   "/usr/libexec/getty Pc"         xterm   onifexists secure

Maybe this file has somehow been excluded from an upgrade process?
I don't have access to a 10.x system at the moment, but I think this
change happened somewhere in 10.x due to sc -> vt...



> I did try editing this manually and then `pkill -HUP 1` in case that
> fixed it interactively,
> but no such luck, a reboot was required.

And it now works? With that (nondefault) /etc/ttys file?


--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190913063046.85db4c25.freebsd>