当前位置:网站首页>insmod 提示 Invalid module format
insmod 提示 Invalid module format
2022-07-05 12:38:00 【Li-Yongjun】
报错
安装内核模块时报错
$ sudo insmod hello.ko
insmod: ERROR: could not insert module hello.ko: Invalid module format
解决
原因是编译使用的内核头文件版本和正在运行的内核版本不一致
尝试 make clean & make
还不行的话,可能 /usr/src/linux-headers-$(uname -r) 目录被污染,尝试卸载再安装
sudo apt-get remove linux-headers-$(uname -r)
sudo apt-get install linux-headers-$(uname -r)
然后再 make clean & make,就好了
边栏推荐
- NFT: how to make money with unique assets?
- Redis's memory elimination mechanism, read this article is enough.
- Pytoch uses torchnet Classerrormeter in meter
- Learn JVM garbage collection 05 - root node enumeration, security points, and security zones (hotspot)
- Storage Basics
- 在家庭智能照明中应用的测距传感芯片4530A
- 实战模拟│JWT 登录认证
- How to connect the API interface of Taobao open platform (super detailed)
- Take you hand in hand to develop a service monitoring component
- ZABBIX agent2 installation
猜你喜欢

HiEngine:可媲美本地的云原生内存数据库引擎
[email protected] (using password"/>Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password

我在滴滴做开源

Kotlin变量

Comprehensive upgrade of Taobao short video photosynthetic platform

Ecplise development environment configuration and simple web project construction

VoneDAO破解组织发展效能难题

超高效!Swagger-Yapi的秘密

Summary of C language learning problems (VS)

滴滴开源DELTA:AI开发者可轻松训练自然语言模型
随机推荐
Transactions from January 6 to October 2022
ZABBIX monitors mongodb (template and deployment operations)
Taobao order amount check error, avoid capital loss API
VoneDAO破解组织发展效能难题
Kotlin function
Pytoch implements tf Functions of the gather() function
Clear neo4j database data
Docker configures redis and redis clusters
Redis highly available sentinel mechanism
JDBC -- extract JDBC tool classes
Summary of C language learning problems (VS)
太方便了,钉钉上就可完成代码发布审批啦!
#yyds干货盘点#js截取文件后缀名
Resnet18 actual battle Baoke dream spirit
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
Difference between JUnit theories and parameterized tests
ZABBIX ODBC database monitoring
Average lookup length when hash table lookup fails
谈谈我写作生涯的画图技巧
Rasa Chat Robot Tutorial (translation) (1)