cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie
Newbie
209 Views
Registered: ‎02-13-2020

Xilinx PCIe DMA Driver Installation

I have been trying to load the Xilinx PCIe XDMA driver as a module. However, every time I try to build and modprobe, it fails. I get errors about missing functions:

 

3859.259042] xdma: loading out-of-tree module taints kernel.

[ 3859.265437] xdma: Unknown symbol swake_up_one (err -2)

[ 3859.271197] xdma: Unknown symbol get_user_pages_fast (err -2)

[ 3859.277635] xdma: Unknown symbol alloc_chrdev_region (err -2)

[ 3859.284076] xdma: Unknown symbol iowrite32 (err -2)

[ 3859.289536] xdma: Unknown symbol pci_iomap (err -2)

[ 3859.295000] xdma: Unknown symbol sg_free_table (err -2)

[ 3859.300847] xdma: Unknown symbol __init_swait_queue_head (err -2)

[ 3859.307673] xdma: Unknown symbol kernel_sigaction (err -2)

[ 3859.313827] xdma: Unknown symbol prepare_to_swait_event (err -2)

[ 3859.320558] xdma: Unknown symbol __cachemode2pte_tbl (err -2)

[ 3859.326992] xdma: Unknown symbol sg_alloc_table (err -2)

[ 3859.332940] xdma: Unknown symbol pci_find_capability (err -2)

[ 3859.339379] xdma: Unknown symbol finish_swait (err -2)

[ 3859.345135] xdma: Unknown symbol _raw_spin_trylock (err -2)

[ 3859.351373] xdma: Unknown symbol pci_iounmap (err -2)

[ 3859.357034] xdma: Unknown symbol kthread_bind (err -2)

[ 3859.362792] xdma: Unknown symbol pcie_capability_clear_and_set_word (err -2)

[ 3859.370682] xdma: Unknown symbol kobject_set_name (err -2)

[ 3859.376825] xdma: Unknown symbol set_page_dirty_lock (err -2)

[ 3859.383259] xdma: Unknown symbol pcie_set_readrq (err -2)

[ 3859.401215] xdma: Unknown symbol swake_up_one (err -2)

[ 3859.406975] xdma: Unknown symbol get_user_pages_fast (err -2)

[ 3859.413411] xdma: Unknown symbol alloc_chrdev_region (err -2)

[ 3859.419851] xdma: Unknown symbol iowrite32 (err -2)

[ 3859.425313] xdma: Unknown symbol pci_iomap (err -2)

[ 3859.430772] xdma: Unknown symbol sg_free_table (err -2)

[ 3859.436621] xdma: Unknown symbol __init_swait_queue_head (err -2)

[ 3859.443445] xdma: Unknown symbol kernel_sigaction (err -2)

[ 3859.449597] xdma: Unknown symbol prepare_to_swait_event (err -2)

[ 3859.456325] xdma: Unknown symbol __cachemode2pte_tbl (err -2)

[ 3859.462758] xdma: Unknown symbol sg_alloc_table (err -2)

[ 3859.468704] xdma: Unknown symbol pci_find_capability (err -2)

[ 3859.475142] xdma: Unknown symbol finish_swait (err -2)

[ 3859.480897] xdma: Unknown symbol _raw_spin_trylock (err -2)

[ 3859.487136] xdma: Unknown symbol pci_iounmap (err -2)

[ 3859.492795] xdma: Unknown symbol kthread_bind (err -2)

[ 3859.498555] xdma: Unknown symbol pcie_capability_clear_and_set_word (err -2)

[ 3859.506444] xdma: Unknown symbol kobject_set_name (err -2)

[ 3859.512589] xdma: Unknown symbol set_page_dirty_lock (err -2)

[ 3859.519020] xdma: Unknown symbol pcie_set_readrq (err -2)

modprobe: can't load module xdma (extra/xdma.ko): unknown symbol in module, or unknown parameter

 

 

Are there other drivers required for the missing dependencies? I am using kernel 4.19.57 for x86_64 architecture at buildroot.

0 Kudos
1 Reply
Highlighted
Observer
Observer
171 Views
Registered: ‎02-10-2019

Re: Xilinx PCIe DMA Driver Installation

here is a git.

https://github.com/Xilinx/dma_ip_drivers/pull/44

Under the pushes for building kernel 5. there is a fix i recommend ou use but other than that  I find I can get the kernel mod to be added when you install the driver.