Re: Integrate DKMS with OS's kernel updates
I have not heard that DKMS works for modules that are loaded into the initramfs unless perhaps the module is built dynamically on boot (GPU proprietary drivers used to do this,, AFAIK not any more) or require a re-boot. AFAIK DKMS is mainly useful for LKM (Loadable kernel modules) that are automatically loaded during the second stage of kernel loading or can be unloaded/loaded manually by a process or person.
And, DKMS is specifically designed and intended to update the kernel module automatically or from one description I've read "shim" the old module to the new, upgraded kernel so that no re-compilation is needed.
This should typically mean that whenever you want to install a new nVidia driver... yes it might be advisable to compile it with DKMS sot that...
Whenever the kernel is upgraded, your already compiled driver modules should continue to work without any attention.
In other words, if you compiled correctly, you shouldn't have to recompile just because the Linux kernel got upgraded.
Just out of curiosity, is there a reason why you might want to compile your nVidia drivers instead of installing pre-compiled drivers from teh nVidia repo?
(Assumes you're running a kernel distributed by openSUSE).
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!
Bookmarks