当前位置:网站首页>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
边栏推荐
- Constructing expression binary tree with prefix expression
- Research: data security tools cannot resist blackmail software in 60% of cases
- Redis clean cache
- Distributed solution - completely solve website cross domain requests
- 【云原生】Nacos-TaskManager 任务管理的使用
- A possible investment strategy and a possible fuzzy fast stock valuation method
- CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
- Tips and tricks of image segmentation summarized from 39 Kabul competitions
- CVPR 2022 | single step 3D target recognizer based on sparse transformer
- Taobao short videos are automatically released in batches without manual RPA open source
猜你喜欢
Redis clean cache
VoneDAO破解组织发展效能难题
JDBC -- use JDBC connection to operate MySQL database
Taobao flag insertion remarks | logistics delivery interface
Constructing expression binary tree with prefix expression
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
Setting up sqli lab environment
Install rhel8.2 virtual machine
Notes for preparation of information system project manager --- information knowledge
ZABBIX ODBC database monitoring
随机推荐
Redis clean cache
ZABBIX 5.0 - LNMP environment compilation and installation
About LDA model
ActiveMQ installation and deployment simple configuration (personal test)
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
Implementing Yang Hui triangle with cyclic queue C language
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
Simply take stock reading notes (4/8)
[figure neural network] GNN from entry to mastery
Hexadecimal conversion summary
超高效!Swagger-Yapi的秘密
Comprehensive upgrade of Taobao short video photosynthetic platform
Transactions from December 27 to 28, 2021
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
End to end neural network
开发者,云原生数据库是未来吗?
CVPR 2022 | single step 3D target recognizer based on sparse transformer
Transactions from January 6 to October 2022
Language model
View and modify the MySQL data storage directory under centos7