当前位置:网站首页>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,就好了
边栏推荐
- Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
- A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
- How does MySQL execute an SQL statement?
- What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
- Compilation principle reading notes (1/12)
- ZABBIX agent2 installation
- Principle of universal gbase high availability synchronization tool in Nanjing University
- Distance measuring sensor chip 4530a used in home intelligent lighting
- Simply take stock reading notes (1/8)
- ZABBIX monitors mongodb (template and deployment operations)
猜你喜欢
![[superhard core] is the core technology of redis](/img/5e/d6438f09031c2acbea17441c316a2b.jpg)
[superhard core] is the core technology of redis

太方便了,钉钉上就可完成代码发布审批啦!

ZABBIX ODBC database monitoring

Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface

10 minute fitness method reading notes (5/5)

Detailed structure and code of inception V3

Anaconda creates a virtual environment and installs pytorch

《信息系统项目管理师》备考笔记---信息化知识

Iterator details in list... Interview pits

How to connect the API interface of Taobao open platform (super detailed)
随机推荐
Reshape the power of multi cloud products with VMware innovation
上午面了个腾讯拿 38K 出来的,让我见识到了基础的天花
Yum only downloads the RPM package of the software to the specified directory without installing it
JDBC -- extract JDBC tool classes
2021-12-22 transaction record
GNN(pytorch-geometric)
Clear neo4j database data
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
ZABBIX 5.0 - LNMP environment compilation and installation
Distributed solution - Comprehensive decryption of distributed task scheduling platform - xxljob scheduling center cluster
Redis master-slave configuration and sentinel mode
Transactions from January 14 to 19, 2022
struct MySQL
jxl笔记
Migrate data from Mysql to neo4j database
Pytoch implements tf Functions of the gather() function
研究:数据安全工具在 60% 的情况下无法抵御勒索软件
ZABBIX customized monitoring disk IO performance
DNS的原理介绍