1 |
Hello, Gentoo. |
2 |
|
3 |
Here are the latest versions of my soft scrolling patch for the kernel |
4 |
lines 5.10.xx and 5.14.xx. They fix bugs where a PC would crash if it |
5 |
was initialised with a 25x80 console and later changed to a full |
6 |
resolution frame buffer screen. It also now works (so I am told) for |
7 |
kernels initialised with parameters like vga=791. |
8 |
|
9 |
To use one of these (the right one for your kernel version) do: |
10 |
|
11 |
(i) cd /usr/src/linux-5.10.61-gentoo, or similar. Extract the right |
12 |
patch file to that directory. (Don't worry about having > 61 for a |
13 |
kernel version. Just use it!) |
14 |
(ii) patch -p1 < 5.10.61-scroll.20211007.diff. |
15 |
(iii) Configure the kernel in your usual way. The extra items added by |
16 |
the patch are CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK and |
17 |
CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK_SIZE, to be found in make |
18 |
menuconfig under Device Drivers/Graphic Support/Console display driver |
19 |
support. The help items for these should explain them adequately. |
20 |
(iv) Build the kernel. |
21 |
(v) Put the new kernel into your usual boot manager. |
22 |
(vi) Reboot and enjoy! |
23 |
|
24 |
As far as I know this patch should be safe (apart from the mysterious |
25 |
alleged security problem which caused the soft scrolling to be removed |
26 |
from the kernel in the first place). There is certainly nothing |
27 |
malicous in it. But if it does break anything for you, you get to keep |
28 |
the pieces. But if anything does go wrong, please tell me about it |
29 |
(preferably here on the list, but by private email if you'd prefer), so |
30 |
that I can try and fix it. |
31 |
|
32 |
-- |
33 |
Alan Mackenzie (Nuremberg, Germany). |