Hello all,
I want to use gpudirect-rdma documented here:
That link talks about linking your kernel module against the Module.symvers file. As I understand the Module.symvers file is generated as a build artifact when building the nvidia.ko kernel module.
I am installing the nvidia driver using the dkms package:
sudo dnf -y module install nvidia-driver:open-dkms
So my question is since dkms is already building the nvidia driver, why doesn’t it leave the associated Module.symvers file around for this type of usage? I was thinking either in /usr/src/nvidia-VERSION/ or /var/lib/dkms/nvidia/VERSION/KERNEL-VERSION somewhere. I searched around and am not finding it anywhere, but maybe missed it or it is named something different.
As it is now, I have to build the nvida.ko again to generate the Module.symvers file and then I need to be careful when I load nvidia.ko that it uses my newly built one rather than the dkms one. Otherwise linking my kernel module against Module.symvers may not work.
I’m fairly new to Cuda and this is my first post on this forum, so it is entirely possible that I am not going about this in the right way…
Thanks,
Brian V.