其他分享
首页 > 其他分享> > dpdk kni Invalid module format

dpdk kni Invalid module format

作者:互联网

export RTE_TARGET=arm64-armv8a-linuxapp-gcc
export RTE_SDK=`pwd`

insmod ${RTE_SDK}/${RTE_TARGET}/kmod/igb_uio.ko 

make  -j 96

[root@localhost dpdk-19.11]# find ./ -name  rte_kni.ko
./build/build/kernel/linux/kni/rte_kni.ko
./build/kmod/rte_kni.ko
./arm64-armv8a-linuxapp-gcc/build/kernel/linux/kni/rte_kni.ko
./arm64-armv8a-linuxapp-gcc/kmod/rte_kni.ko
[root@localhost dpdk-19.11]# insmod ./arm64-armv8a-linuxapp-gcc/kmod/rte_kni.ko kthread_mode=multiple
insmod: ERROR: could not insert module ./arm64-armv8a-linuxapp-gcc/kmod/rte_kni.ko: Invalid module format

[root@localhost dpdk-19.11]# modinfo ./arm64-armv8a-linuxapp-gcc/kmod/rte_kni.ko | grep vermagic
vermagic: 4.18.0-147.0.3.el7.aarch64 SMP mod_unload modversions aarch64

 

标签:rte,kmod,gcc,kni,format,ko,module,linuxapp
来源: https://www.cnblogs.com/dream397/p/12765422.html