当前位置:网站首页>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
边栏推荐
- 非技术部门,如何参与 DevOps?
- Distributed cache architecture - cache avalanche & penetration & hit rate
- 深度长文探讨Join运算的简化和提速
- Notes for preparation of information system project manager --- information knowledge
- Experimental design - using stack to realize calculator
- 《信息系统项目管理师》备考笔记---信息化知识
- Compilation principle reading notes (1/12)
- CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
- Knowledge representation (KR)
- VoneDAO破解组织发展效能难题
猜你喜欢
SAP 自开发记录用户登录日志等信息
非技术部门,如何参与 DevOps?
Simply take stock reading notes (4/8)
Transactions from December 27 to 28, 2021
太方便了,钉钉上就可完成代码发布审批啦!
Distributed cache architecture - cache avalanche & penetration & hit rate
Pytoch loads the initialization V3 pre training model and reports an error
Pinduoduo flag insertion remarks API
Storage Basics
前几年外包干了四年,秋招感觉人生就这样了..
随机推荐
激动人心!2022开放原子全球开源峰会报名火热开启!
Taobao flag insertion remarks | logistics delivery interface
Distributed solution - distributed session consistency problem
UNIX socket advanced learning diary - advanced i/o functions
How do e-commerce sellers refund in batches?
Distributed solution - distributed lock solution - redis based distributed lock implementation
Difference between JUnit theories and parameterized tests
Language model
Implementing Yang Hui triangle with cyclic queue C language
stm32和电机开发(从架构图到文档编写)
#yyds干货盘点#js截取文件后缀名
Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface
《信息系统项目管理师》备考笔记---信息化知识
单独编译内核模块
Kotlin变量
Preliminary exploration of basic knowledge of MySQL
ZABBIX ODBC database monitoring
奔跑,开路
Ecplise development environment configuration and simple web project construction
Distributed solution - Comprehensive decryption of distributed task scheduling platform - xxljob scheduling center cluster