Originally posted by Silent Observer
View Post
It can fail, of course. When updating kernels on Nvidia, it might be useful to do so using apt and check the output - you will see the rebuild process and any failures there.
It is possible to try rebuilding all the modules for each kernel, though of course, it is not straightforward.
Here is a one-line example
Using this, it showed me that my OpenRGB (don't ask!) modules weren't rebuilt for most of my kernels via DKMS for some reason, and the ones for 5.15.0-70 failed, though I do have the modules installed, supposedly.
Code:
depmod... [ OK ] * dkms: running auto installation service for kernel 5.15.0-70-generic [ OK ] * dkms: running auto installation service for kernel 5.15.0-70 Error! Your kernel headers for kernel 5.15.0-70 cannot be found at /lib/modules/5.15.0-70/build or /lib/modules/5.1 5.0-70/source. You can use the --kernelsourcedir option to tell DKMS where it's located. [ OK ]
(Trawling through log files via KSystemLog can be useful here)
Comment