Hi All,
root@xhddcgapps04: ofed_info -s
MLNX_OFED_LINUX-4.7-3.2.9.0
root@xhddcgapps04: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
Im trying to build krping (an open source kernel module with ib verbs) with MLNX OFED drivers. It’s getting compiled without any issues, but while inserting the module, im facgin the following issues.
root@xhddcgapps04: insmod krdma_app.ko server_ip=192.168.1.225
insmod: ERROR: could not insert module krdma_app.ko: Unknown symbol in module
root@xhddcgapps04: dmesg | tail -n 7
[150111.467109] krdma_app: Unknown symbol ib_create_cq (err 0)
[150111.467257] krdma_app: Unknown symbol ib_destroy_cq (err 0)
[150111.467325] krdma_app: Unknown symbol rdma_create_id (err 0)
[150111.467402] krdma_app: Unknown symbol ib_alloc_mr (err 0)
[150111.467480] krdma_app: Unknown symbol rdma_accept (err 0)
[150111.467540] krdma_app: Unknown symbol ib_destroy_qp (err 0)
[150111.467606] krdma_app: Unknown symbol ib_dealloc_pd (err 0)
I referred to a similar issue as the link “https://www.mail-archive.com/search?l=general@lists.openfabrics.org&q=subject:%22Re%3A+%5Bofa-general%5D+IB+function+calls+in+kernel+module+fail%22&o=newest&f=1” and not sure where to find the “prefix/src/openib/Module.symvers” mentioned in the link.
I’ve ofa-kernel/ ofa-kernel-4.7/ mlnx-ofed-kernel-4.7/ in my /usr/src that i think are related to mlnx ofed drivers
i got stuck here for very long time & need help. Any small help is appreciated