当前位置:网站首页>Insmod prompt invalid module format
Insmod prompt invalid module format
2022-07-05 12:51:00 【Li-Yongjun】
Report errors
Error when installing kernel module
$ sudo insmod hello.ko
insmod: ERROR: could not insert module hello.ko: Invalid module format
solve
The reason is that the version of the kernel header file used for compilation is inconsistent with the running kernel version
Try make clean & make
If not yet , Probably /usr/src/linux-headers-$(uname -r) The directory is polluted , Try uninstalling and installing
sudo apt-get remove linux-headers-$(uname -r)
sudo apt-get install linux-headers-$(uname -r)
And then again make clean & make, Just fine
边栏推荐
- Redis cluster configuration
- SAP self-development records user login logs and other information
- Kotlin流程控制、循环
- Full text search of MySQL
- 太方便了,钉钉上就可完成代码发布审批啦!
- Resnet+attention project complete code learning
- Distance measuring sensor chip 4530a used in home intelligent lighting
- RHCAS6
- Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
- Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
猜你喜欢

10 minute fitness method reading notes (5/5)

初识Linkerd项目

【云原生】Nacos中的事件发布与订阅--观察者模式

Add a new cloud disk to Huawei virtual machine

Distance measuring sensor chip 4530a used in home intelligent lighting

ZABBIX ODBC database monitoring

Hexadecimal conversion summary

石臻臻的2021总结和2022展望 | 文末彩蛋

深度长文探讨Join运算的简化和提速

ActiveMQ installation and deployment simple configuration (personal test)
随机推荐
Iterator details in list... Interview pits
深度长文探讨Join运算的简化和提速
Detailed structure and code of inception V3
C alarm design
GNN(pytorch-geometric)
10 minute fitness method reading notes (5/5)
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Flume common commands and basic operations
View and modify the MySQL data storage directory under centos7
Free testing of Taobao tmall API order and flag insertion remark interface
Get the variable address of structure member in C language
Clear neo4j database data
stm32和电机开发(从架构图到文档编写)
#yyds干货盘点#js截取文件后缀名
Simply take stock reading notes (1/8)
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
Transactions from January 14 to 19, 2022
Using docker for MySQL 8.0 master-slave configuration
NLP engineer learning summary and index
How to connect the API interface of Taobao open platform (super detailed)