当前位置:网站首页>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,就好了
边栏推荐
- VoneDAO破解组织发展效能难题
- Pytorch two-layer loop to realize the segmentation of large pictures
- Yum only downloads the RPM package of the software to the specified directory without installing it
- Redis highly available sentinel cluster
- 太方便了,钉钉上就可完成代码发布审批啦!
- Add a new cloud disk to Huawei virtual machine
- 10 minute fitness method reading notes (1/5)
- A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
- struct MySQL
- Making and using the cutting tool of TTF font library
猜你喜欢

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

Redis highly available sentinel cluster

The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation

非技术部门,如何参与 DevOps?

超高效!Swagger-Yapi的秘密

Transactions from December 27 to 28, 2021

Taobao flag insertion remarks | logistics delivery interface

Preliminary exploration of basic knowledge of MySQL

About LDA model

研究:数据安全工具在 60% 的情况下无法抵御勒索软件
随机推荐
Reshape the power of multi cloud products with VMware innovation
MySQL log module of InnoDB engine
GNN(pytorch-geometric)
Annotation problem and hidden Markov model
How to connect the API interface of Taobao open platform (super detailed)
Flume common commands and basic operations
Redis's memory elimination mechanism, read this article is enough.
How does MySQL execute an SQL statement?
2021.12.16-2021.12.20 empty four hand transaction records
Transactions from December 29, 2021 to January 4, 2022
Database connection pool & jdbctemplate
Get the variable address of structure member in C language
Hexadecimal conversion summary
Transactions from January 6 to October 2022
Language model
2021-12-22 transaction record
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Kotlin variable
Redis highly available slice cluster
Learn the garbage collector of JVM -- a brief introduction to Shenandoah collector