DPDK:insmod: ERROR: could not insert module igb_uio.ko: Invalid parameters

created at 06-20-2022 views: 7

problem

Load the IGB_UIO module

sudo modprobe uio
sudo insmod igb_uio.ko

Prompt error:

insmod: ERROR: could not insert module igb_uio.ko: Invalid parameters

solution

  • First use uname -r to check the current kernel version
  • Then use modinfo igb_uio.ko to check whether the vermagic field is the same as the current kernel version, and find the inconsistency

not the same

Recompile dpdk, after compiling, check the consistency

the same

created at:06-20-2022
edited at: 06-20-2022: