dma_ip_drivers icon indicating copy to clipboard operation
dma_ip_drivers copied to clipboard

Error: The Kernel module installed correctly, but no devices were recognized. FAILED

Open Ranyang-Zhou opened this issue 2 years ago • 4 comments

Hi everyone,

I met the problem as the title shown when I try to connect FPGA to host PC. The environment is:

FPGA: Alveo U200 Vivado 2020.2 Ubuntu 20.02 error report: sudo ./load_driver.sh [sudo] password for acad: interrupt_selection . xdma 98304 0 Loading driver...insmod xdma.ko interrupt_mode=2 ... insmod: ERROR: could not insert module ../xdma/xdma.ko: Invalid module format

Error: The Kernel module installed correctly, but no devices were recognized. FAILED

Ranyang-Zhou avatar May 17 '23 17:05 Ranyang-Zhou

Hello, did you solved the mentioned issue? I met the same issue.

manwu1994 avatar Jun 08 '23 06:06 manwu1994

+1

HarryZeus avatar Sep 14 '23 11:09 HarryZeus

insmod: ERROR: could not insert module ../xdma/xdma.ko: Invalid module format

This might be the root of the problem. Might mean that the xdma.ko module was compiled for another kernel version. This would happen if you compiled the module at some point, running kernel version a.b.c, then kernel got updated some time later to a.b.d. After rebooting into new kernel previously out of tree compiled modules would break.

Try to recompile the xdma module..

hinxx avatar Sep 15 '23 05:09 hinxx