I currently ran into an error when I tried to insert the module after compiling.
make modules
make modules_install
The modules seemed to be successfully installed.
But when I tried to insert the compiled module, an error in dmesg came out and I would like to know how to resolve this.
I’ve already rebooted the machine but it didn’t help.
And I’m sure that I usually work with driver module with these steps and I can see the updated module works. But I don’t know why the module insertion is not well done in this time.
Typically that message comes when you compile your kernel module against a kernel tree that is not the same as your running kernel.
This is not an issue with nvidia-uvm itself. By any chance, did you upgrade your system packages but have not rebooted yet when you tried doing this. I suspect you have a newer kernel package than the kernel that is currently booted when you try to load the kernel module.
Might be good to compare uname -r and the path make modules_install installs the modules to for confirming you are building against the same kernel that is being run. Dumping lsmod | grep -i nvidia would also help.