当前位置:网站首页>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,就好了
边栏推荐
- ZABBIX monitors mongodb templates and configuration operations
- Transactions from December 29, 2021 to January 4, 2022
- Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
- Principle of universal gbase high availability synchronization tool in Nanjing University
- 10 minute fitness method reading notes (5/5)
- HiEngine:可媲美本地的云原生内存数据库引擎
- Third party payment interface design
- How can labels/legends be added for all chart types in chart. js (chartjs.org)?
- Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
- Common commands and basic operations of Apache Phoenix
猜你喜欢

DNS的原理介绍

2021.12.16-2021.12.20 empty four hand transaction records

Average lookup length when hash table lookup fails

Resnet18 actual battle Baoke dream spirit

实战模拟│JWT 登录认证

Preliminary exploration of basic knowledge of MySQL

Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution

Simply take stock reading notes (2/8)

Transactions from December 27 to 28, 2021

Making and using the cutting tool of TTF font library
随机推荐
Using docker for MySQL 8.0 master-slave configuration
HiEngine:可媲美本地的云原生内存数据库引擎
Interviewer: is acid fully guaranteed for redis transactions?
Kotlin流程控制、循环
激动人心!2022开放原子全球开源峰会报名火热开启!
Free testing of Taobao tmall API order and flag insertion remark interface
struct MySQL
GNN(pytorch-geometric)
ZABBIX ODBC database monitoring
CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
JDBC -- extract JDBC tool classes
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
10 minute fitness method reading notes (2/5)
太方便了,钉钉上就可完成代码发布审批啦!
#yyds干货盘点#js截取文件后缀名
Redis master-slave configuration and sentinel mode
Preliminary exploration of basic knowledge of MySQL
Transactions from December 27 to 28, 2021
Experimental design - using stack to realize calculator
实战模拟│JWT 登录认证