-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modprobe: ERROR: could not insert 'nv_peer_mem': Unknown symbol in module #84
Comments
Did you upgrade OFED after installing nv_peer_mem? |
Reinstalled OFED50 after installing nv_peer_mem. Removing nv_peer_mem and installing again doesn't fix it either. Looking around, the module entries exist in nv_peer_mem.ko but the symbols don't. On my system OFED50 installs modules under /lib/modules/3.10.0-1127.el7.x86_64 where the kernel suffix is truncated (not sure if this is normal behavior) The module entires and valid symbols are found in ib_core.ko Getting lost in this, more guidance please! |
|
Some Ubuntu kernels seem to not have CONFIG_MODVERSIONS set (while others have it set) and this breaks building nv_peer_mem. I'm not sure it would be OK to build on a kernel with no MODVERSIONS. But if anybody wants to tackle this: I guess what you need to fix is to remove the parameter KBUILD_EXTRA_SYMBOLS= from the build command. Assuming that this actually help: you can start by adding to the Makefile something along the lines of: -include $(KDIR)/.config ... |
I see the same error with ib_register_peer_memory_client and ib_register_peer_memory_client on Rocky Linux 8.4 with OFED 5.4-1.0.3.0, so it doesn't seem like the issue has anything to do with CONFIG_MODVERSIONS (maybe?) After finding the 1.2 release (which doesn't seem to be mentioned on mellanox homepage?) and newer OFED drivers (which weren't listed on mellanox repo https://linux.mellanox.com/public/repo/mlnx_ofed/ for some reason... 👎 ) I managed to build this successfully. |
Trying to install nvidia_peer_memory-1.1-0.x86_64 on a RHEL 7.8 node with ofed 5.0-2.1.8.0 and hitting a modprobe error.
[root@n120 ~]# modprobe -v nv_peer_mem
insmod /lib/modules/3.10.0-1127.19.1.el7.x86_64/extra/nv_peer_mem.ko
modprobe: ERROR: could not insert 'nv_peer_mem': Unknown symbol in module, or unknown parameter (see dmesg)
From dmesg:
...
[Fri Feb 12 11:47:20 2021] nv_peer_mem: Unknown symbol ib_register_peer_memory_client (err 0)
[Fri Feb 12 11:47:20 2021] nv_peer_mem: Unknown symbol ib_unregister_peer_memory_client (err 0)
[Fri Feb 12 11:49:38 2021] nv_peer_mem: Unknown symbol ib_register_peer_memory_client (err 0)
[Fri Feb 12 11:49:38 2021] nv_peer_mem: Unknown symbol ib_unregister_peer_memory_client (err 0)
Thanks in advance!
nv_peer_mem-modprobe.txt
File attached with output requested from similar issue.
The text was updated successfully, but these errors were encountered: