Hi, i’ve installed Dkms for my dvb modules, this part works.
But how to update the dkms modules automaticly by kernel updates, seems It did not work…
After each update, I have to do an sudo dkms autoinstall.
Did you check that dkms.service
is running?
Additionally there is this one:
https://bugzilla.opensuse.org/show_bug.cgi?id=1194723
Yes, service was installed but not enabled. Waiting next kernel to see effect.
Tip:
If you use the /update directory in the Kernel tree for your newly build modules, the modules inside will be copied/linked on next Kernel-update automatically to the weaak-updates directory of the kernel.
f.e.
ls -al /lib/modules/6.4.0-150600.21-default/updates/
insgesamt 167184
drwxr-xr-x 2 root root 4096 16. Jul 20:44 .
drwxr-xr-x 6 root root 4096 16. Jul 20:44 ..
-rw-r--r-- 1 root root 6715701 16. Jul 20:44 nvidia-drm.ko
-rw-r--r-- 1 root root 79953397 16. Jul 20:44 nvidia.ko
-rw-r--r-- 1 root root 2774237 16. Jul 20:44 nvidia-modeset.ko
-rw-r--r-- 1 root root 515133 16. Jul 20:44 nvidia-peermem.ko
-rw-r--r-- 1 root root 79260565 16. Jul 20:44 nvidia-uvm.ko
-rw-r--r-- 1 root root 662368 5. Jul 18:30 r8152.ko.xz
-rw-r--r-- 1 root root 1287180 12. Jun 21:02 r8168.ko.xz
ls -al /lib/modules/6.4.0-150600.23.14-default/weak-updates/updates/
insgesamt 12
drwxr-xr-x 2 root root 4096 24. Jul 10:11 .
drwxr-xr-x 4 root root 4096 24. Jul 10:11 ..
lrwxrwxrwx 1 root root 58 24. Jul 10:11 nvidia-drm.ko -> /lib/modules/6.4.0-150600.21-default/updates/nvidia-drm.ko
lrwxrwxrwx 1 root root 54 24. Jul 10:11 nvidia.ko -> /lib/modules/6.4.0-150600.21-default/updates/nvidia.ko
lrwxrwxrwx 1 root root 62 24. Jul 10:11 nvidia-modeset.ko -> /lib/modules/6.4.0-150600.21-default/updates/nvidia-modeset.ko
lrwxrwxrwx 1 root root 58 24. Jul 10:11 nvidia-uvm.ko -> /lib/modules/6.4.0-150600.21-default/updates/nvidia-uvm.ko
lrwxrwxrwx 1 root root 56 24. Jul 10:11 r8152.ko.xz -> /lib/modules/6.4.0-150600.21-default/updates/r8152.ko.xz
lrwxrwxrwx 1 root root 56 24. Jul 10:11 r8168.ko.xz -> /lib/modules/6.4.0-150600.21-default/updates/r8168.ko.xz
This is how the nvidia driver from the Repo is working, no need of dkms
Updated the machine today.
With dkms enabled, it’s working but is not optimum.
It rebuilds the modules after reboot and after loading old modules, so a new reboot is necessary.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.