Cann't insert module nvme-rdma


I have an Ubuntu 20.04 system with kernel version 5.4.0-152-generic. I downloaded and installed MLNX_OFED_LINUX-5.8- from the Mellanox website.

When I try to load the nvme-rdma module by running the command “modprobe nvme-rdma”, I get the following error:

modprobe: ERROR: could not insert ‘nvme_rdma’: Invalid argument

The dmesg output shows the following error messages:

[48118.445526] nvme_fabrics: disagrees about version of symbol __nvme_submit_sync_cmd

[48118.445530] nvme_fabrics: Unknown symbol __nvme_submit_sync_cmd (err -22)

Please assist me with resolving this issue. Thank you.


Make sure you install the MLNX_OFED driver with the --with-nvmf flag.

./mlnxofedinstall --with-nvmf

Best Regards,


According to your suggestion,I reinstall the MLNX_OFED driver with the --with-nvmf flag.

But the problem was not solved,still get the same error message.

Can you help me with this? Thank you.