MyFPGA Forum

标题: 【FAQ】编译PCIe驱动提示insmod: ERROR: could not insert module [打印本页]

作者: Doreen    时间: 2021-9-15 17:25
标题: 【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




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3