Date: Thu, 18 Jul 2019 09:48:07 -0600 From: Warner Losh <imp@bsdimp.com> To: Ryan Moeller <ryan@ixsystems.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Resetting console on boot Message-ID: <CANCZdfru1zOTj1X3DcBXR39yTx5F9=mWc_2cRFYhOVnWwgq%2BLw@mail.gmail.com> In-Reply-To: <CAGuotKC1oRWTw_m0_m0YiqjJ_gk%2BSATf=aR3DC=%2B0O7BPuzTQA@mail.gmail.com> References: <CAGuotKD9d4mXoWpH3Wy5r5COvwhQ4iGEfngPZ3COXFaz-5851A@mail.gmail.com> <721ab68d-cde4-41bb-c105-d15cf07903fa@FreeBSD.org> <CANCZdfpTEdQRkknAj8syh5e_p_fNqdLFKTcUdaJH3H%2BAtgjPNA@mail.gmail.com> <CAGuotKC1oRWTw_m0_m0YiqjJ_gk%2BSATf=aR3DC=%2B0O7BPuzTQA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
And sometimes having both leads to the problem... vidconsole is not a total solution. Warner On Thu, Jul 18, 2019 at 8:57 AM Ryan Moeller <ryan@ixsystems.com> wrote: > Apparently this also could be wanted with vidconsole, as some IPMI console > redirection to com1 and serial over lan redirects from the vidconsole. I > just discovered this while testing Lev's patches. > > -Ryan > > On Tue, Jul 16, 2019 at 11:08 AM Warner Losh <imp@bsdimp.com> wrote: > > > > > > > On Tue, Jul 16, 2019 at 4:55 AM Lev Serebryakov <lev@freebsd.org> wrote: > > > >> On 15.07.2019 23:29, Ryan Moeller wrote: > >> > >> > What do people think about having an early boot stage send some escape > >> > sequence to reset terminals to some sane default terminal settings? > >> Often > >> > firmware or other causes will leave an unreadable font color or break > >> line > >> > feeds, and the terminal tends to stay that way until a shell clears > and > >> > resets the screen. If a shell can do it, surely loader could do it (or > >> even > >> > earlier, if it is not too complex). To my knowledge it should be just > a > >> > matter of printing some escape codes before starting the normal boot > >> menus > >> > when using a serial console. I believe this is already done when the > >> > console is set to vidconsole or efi. > >> > > >> > Thoughts? Suggestions? > >> > >> I've proposed this long ago for serial terminals: > >> > >> https://reviews.freebsd.org/D17102 > >> https://reviews.freebsd.org/D17103 > >> > >> I have hardware which sets "black on black" before passing control to > OS. > >> > > > > That would work for the BIOS case, but not the UEFI case, which is where > I > > see the biggest issues. > > > > Warner > > > > > -- > Ryan Moeller > iXsystems, Inc. > OS Developer > Email: ryan@iXsystems.com > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfru1zOTj1X3DcBXR39yTx5F9=mWc_2cRFYhOVnWwgq%2BLw>