简体   繁体   中英

OpenOnload driver error "insmod: ERROR: could not insert module........Unknown symbol in module"

I'm on Ubuntu 20.04 LTS and wish to install OpenOnload for kernel bypass of NICs.

I followed the instructions here:

https://github.com/Xilinx-CNS/onload/blob/master/DEVELOPING.md

(Ubuntu 20.04 LTS is supported by Onload)

I've built the repo from source and I've just attempted this part:

To load drivers into the kernel:

"$(mmaketool --toppath)/build/$(mmaketool --driverbuild)/driver/linux/load.sh" onload

Unfortunately I get the error:

insmod: ERROR: could not insert module 
onload/build/x86_64_linux-5.15.0-46-generic/driver/linux/sfc_resource.ko: Unknown symbol in module

This seems to be a generic error relating to inserting drivers in to the Linux kernel but I'm not sure how to fix it. I had all the dependencies installed. I've ran this on a bare metal machine and a virtual machine and got the same problem both times.

Can anyone help/try it too?

UPDATE

I checked dmesg | tail dmesg | tail and there is this entry:

init_sfc_resource: ERROR: failed to find syscall table

But still not sure how to fix it

Ran into the same issue 20.04 LTS with 5.13 still works, but 5.15 is not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM