【FAQ】编译PCIe驱动提示insmod: ERROR: could not insert module
Q: 因为使用的是Ubuntu 20.04 lts test machine (咱们手册推荐Centos 7.2 Linux PC ),编译PCIe驱动遇到提示:"insmod: ERROR: could not insert module ./altera_pcie.ko: Invalid module format"而且:
My kernel header-files (umode -r) are 5.11.0.34-generic
The altera_pcie.ko file (modinfo) is compiled also for 5.11.0.34-generic
A:
要么推荐客户用Centos 7.2 Linux PC
或者直接使用dmesg 看下消息,看具体报什么错。把得到的打印信息发给support@terasic.com.cn。
页:
[1]