----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> feaf9f96
@REPLY: 1@dont-email.me> 4f637e03
@REPLYADDR Henrik Carlqvist
<Henrik.Carlqvist@deadspam.com>
@REPLYTO 2:5075/128 Henrik Carlqvist
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
@TZUTC: -0000
@PID: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
@TID: FIDOGATE-5.12-ge4e8b94
On Sun, 16 Jul 2023 11:53:53 -0400, User wrote:
> Anytime I do an update which changes the kernel I lose display to the
> big external monitor. To fix this I have to uninstall the nvidia-kernel
> and nvidia-driver packages and then go rebuild them from slackbuilds.
Yes, any third party kernel module has to be recompiled and reinstalled
when the kernel version is changed as Rich explained.
> The whole process can be rather tedious and cumbersome.
Yes, I agree that this sucks as it adds complexity to updating the kernel.
> Wondering if anyone else deals with this or has a greatly simplified
> solution (e.g. not even needing the nvida-driver to connect a monitor?)
Your need for the binary nVidia driver depends upon your choice of
hardware. I have an alternative approach, but for a single system like
yours it is not really simplified...
When Slackware releases a new kernel as a security update, the
ChangeLog.txt lists a number of CVEs that are fixed. Another approach to
updating the kernel is:
1) Evaluate every CVE to see which ones apply to you. Some of them might
only affect hardware that you don`t have or features that you don`t
use.
2) Trace down the kernel source fixes for all the CVEs that you are
affected by.
3) Apply those kernel source patches to the source tree of your kernel
version. Some of the patches might need to get modified to fit the
differences between different kernel versions. Some of the patches
might not be possible to fit into your kernel with a reasonable amount
of work, if so, think again if that CVE is important enough to really
go and update the kernel version.
4) Rebuild your kernel with the patched source tree.
5) Rebuild any kernel modules that are affected by the patches.
6) Install your patched kernel modules
7) Install your patched kernel
8) Update boot loader to point to your new kernel
For only a few systems the above is a lot more work than updating the
kernel and nVidia drivers. However, for a whole bunch of systems running
with or without different versions of the binary nVidia driver and
possibly also other third party kernel modules it is less work than
updating the kernel to a new version number.
regards Henrik
--- Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441