Re: fbcon: remove soft scrollback code

From: Alan Mackenzie
Date: Thu Jan 14 2021 - 12:50:47 EST


Hello, lkml.

This is my first post to the list.

From: Linus Torvalds <>
Date: Fri, 8 Jan 2021 15:11:34 -0800
Subject:Re: fbcon: remove soft scrollback code (missing Doc. patch)

>On Fri, Jan 8, 2021 at 11:13 AM Phillip Susi
><phill@xxxxxxxxxxxx> wrote:

>> > Could we pause this madness? Scrollback is still useful. I needed it
>> > today... it was too small, so command results I was looking for
>> > already scrolled away, but... life will be really painful with 0
>> > scrollback.

>> > You'll need it, too... as soon as you get oops and will want to see
>> > errors just prior to that oops.

>> > If it means I get to maintain it... I'm not happy about it but that's
>> > better than no scrollback.

>> Amen! What self respecting admin installs a gui on servers? What do
>> we have to do to get this back in? What was so buggy with this code
>> that it needed to be removed? Why was it such a burden to just leave
>> it be?

I am an Emacs maintainer, and do all my text work on the Linux console.
My distribution is Gentoo.

Whilst it may be an exaggeration to say Linux will become unusable to me
without this scrolling facility, it's not much of one. For the moment, I
can get by by not upgrading my kernel, but that's not a long term
solution.

>It really was buggy, with security implications. And we have no
>maintainers.

The first I heard of these problems was yesterday, when somebody posted a
heads-up in the Gentoo users' list.

I'm disappointed not to have heard of this around the time the decision
was taken. Perhaps the problems, and request for a maintainer, could
have been more widely circulated. I would have offered to stand up then,
just as I am offering to stand up now.

I have as yet no experience in kernel hacking, though I did look closely
at the console code a few years back, with a view to enhancing it to
handle more than 256 glyphs and 16 colours. It struck me as code badly
needing some love.

>So the scroll-back code can't come back until we have a maintainer and a
>cleaner and simpler implementation.

I offer my services, just as others have done.

>And no, maintaining it really doesn't mean "just get it back to the old
>broken state".

Is there a coherent description of the problems (including the security
problems) anywhere?

>So far I haven't actually seen any patches, which means that it's not
>coming back.

But with a few pertinent patches, it might come back, perhaps?

[ .... ]

Linus

--
Alan Mackenzie (Nuremberg, Germany).