当前位置:网站首页>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,就好了
边栏推荐
- 前几年外包干了四年,秋招感觉人生就这样了..
- Transactions on December 23, 2021
- End to end neural network
- Interviewer: is acid fully guaranteed for redis transactions?
- About LDA model
- Kotlin function
- Redis's memory elimination mechanism, read this article is enough.
- Taobao order amount check error, avoid capital loss API
- Implementing Yang Hui triangle with cyclic queue C language
- Keras implements verification code identification
猜你喜欢
Pytoch uses torchnet Classerrormeter in meter
Annotation problem and hidden Markov model
JDBC -- use JDBC connection to operate MySQL database
Get the variable address of structure member in C language
How to connect the API interface of Taobao open platform (super detailed)
Taobao short videos are automatically released in batches without manual RPA open source
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
Migrate data from Mysql to neo4j database
谈谈我写作生涯的画图技巧
随机推荐
PIP command reports an error pip is configured with locations that requires tls/ssl problems
Distributed solution - distributed session consistency problem
Transactions from December 27 to 28, 2021
Detailed steps for upgrading window mysql5.5 to 5.7.36
Making and using the cutting tool of TTF font library
DNS的原理介绍
10 minute fitness method reading notes (5/5)
实战模拟│JWT 登录认证
Constructing expression binary tree with prefix expression
ZABBIX agent2 installation
NFT: how to make money with unique assets?
Transactions from January 6 to October 2022
滴滴开源DELTA:AI开发者可轻松训练自然语言模型
Ecplise development environment configuration and simple web project construction
Distance measuring sensor chip 4530a used in home intelligent lighting
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
GNN(pytorch-geometric)
Research: data security tools cannot resist blackmail software in 60% of cases
由扫地增而引起的小叙
Anaconda creates a virtual environment and installs pytorch