I use centos 7.3. When I run insmod igb_uio.ko, I get this error in /var/logs/message:
This happens after I did some patches to OS and kernel. After patch, the kernel version is: 3.10.0.957.21.3.e17.x86_64
Before patch, it works well. The patch is for some TCP critical vulnerability. I prefer to run the patch.
I use DPDK 17.08.1, I also tried 18.11.2. Both get same error.
I try to rebuild from source, after patch. The rebuild get errors: (before patch, build is successfully.):
You need to build your igb_uio module against the right kernel headers. If you patched/updated the kernel then you should do the same for the headers. If your headers are patched but you still get the errors then try compiling it like this:
RTE_KERNELDIR=/path/to/headers make -j