(+86) 15013630202 sales@pcie.com

PCIe DMA driver can not be loaded

Mar 04, 2024

Dear all,


we developed a custom PCIe DMA driver. It is accessing the GPU related memory space for direct transfers.

On the Jetson Xavier AGX the driver works as expected. But it can not be loaded into the kernel on the Jetson Orin AGX.

It produces the following errors in the kernel log:


[  633.909968] my_dma: disagrees about version of symbol nvidia_p2p_dma_unmap_pages
[ 633.910199] my_dma: Unknown symbol nvidia_p2p_dma_unmap_pages (err -22)
[ 633.910423] my_dma: disagrees about version of symbol nvidia_p2p_get_pages
[ 633.910622] my_dma: Unknown symbol nvidia_p2p_get_pages (err -22)
[ 633.910814] my_dma: disagrees about version of symbol nvidia_p2p_put_pages
[ 633.911028] my_dma: Unknown symbol nvidia_p2p_put_pages (err -22)
[ 633.911218] my_dma: disagrees about version of symbol nvidia_p2p_dma_map_pages
[ 633.911431] my_dma: Unknown symbol nvidia_p2p_dma_map_pages (err -22)
[ 633.911623] my_dma: disagrees about version of symbol nvidia_p2p_free_page_table
[ 633.911833] my_dma: Unknown symbol nvidia_p2p_free_page_table (err -22)

The Orin Module runs the newest version provided by the SDK Manager (L4T 34.1.1). Of cause the kernel module is build locally against the used kernel.


What could be the problem on the Jetson Orin with the custom driver?

Or this this mode not yet supported on the Jetson Orin?


Best regards,

Gerrit