GPUDirect RDMA - Module can not be insert into kernel
This is a followup of PCIe DMA driver can not be loaded
I installed a fresh install on the Jetson Orin with Jetpack 5.0.2.
The file /etc/nv_tegra_release has the following content: # R35 (release), REVISION: 1.0, GCID: 31346300, BOARD: t186ref, EABI: aarch64, DATE: Thu Aug 25 18:41:45 UTC 2022
.
I build my custom kernel module which uses the direct DMA transfers from the PCIe card to the memory space of the GPU (GPUDirect RDMA).
But it is not possible to insert that module, as the following errors are reported by the kernel:
[ 473.515741] my_dma: module verification failed: signature and/or required key missing - tainting kernel
[ 473.525670] my_dma: disagrees about version of symbol nvidia_p2p_dma_unmap_pages
[ 473.533324] my_dma: Unknown symbol nvidia_p2p_dma_unmap_pages (err -22)
[ 473.540224] my_dma: disagrees about version of symbol nvidia_p2p_get_pages
[ 473.547323] my_dma: Unknown symbol nvidia_p2p_get_pages (err -22)
[ 473.553652] my_dma: disagrees about version of symbol nvidia_p2p_put_pages
[ 473.560750] my_dma: Unknown symbol nvidia_p2p_put_pages (err -22)
[ 473.567050] my_dma: disagrees about version of symbol nvidia_p2p_dma_map_pages
[ 473.574510] my_dma: Unknown symbol nvidia_p2p_dma_map_pages (err -22)
[ 473.581172] my_dma: disagrees about version of symbol nvidia_p2p_free_page_table
[ 473.588813] my_dma: Unknown symbol nvidia_p2p_free_page_table (err -22)
The very same errors are produced, when I try to insert the example kernel module from GitHub - NVIDIA/jetson-rdma-picoevb: Minimal HW-based demo of GPUDirect RDMA on NVIDIA Jetson AGX Xavier running L4T
As @vandev noticed in the other topic that the header files of the toolchain on the device do not match the header files of public_sources.tbz2 for the JetPack DP 5.0.1. This is no longer the case for JetPack 5.0.2, but still it is not possible to load the kernel modules.
@kayccc as you mentioned in the other topic we should open a new topic, when the issue is still present in the JetPack 5.0.2 and it is.