Unable to insmod - nvidia_uvm: disagrees about version of symbol nvUvmInterfaceDeviceCreate

Hello,

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.

sudo rmmod nvidia_uvm

insmod /path/to/modules/nvidia-uvm.ko

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.

The kernel version matches.

Could you tell me more about how to resolve this issue?

I just figured out the fact that the driver’s version and the driver installed doesn’t match.

nvidia-smi
With this, we can see the Driver version, and we should align the driver module we want to insert.

Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.