MyFPGA Forum

 找回密码
 注册
搜索
查看: 1915|回复: 0

【FAQ】编译PCIe驱动提示insmod: ERROR: could not insert module

[复制链接]
发表于 2021-9-15 17:25:00 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-3-29 20:22 , Processed in 0.039727 second(s), 16 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表