当前位置:网站首页>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
边栏推荐
- Rasa Chat Robot Tutorial (translation) (1)
- Transactions from December 27 to 28, 2021
- ZABBIX monitors mongodb templates and configuration operations
- Array cyclic shift problem
- Introduction to relational model theory
- The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
- 滴滴开源DELTA:AI开发者可轻松训练自然语言模型
- Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
- 前几年外包干了四年,秋招感觉人生就这样了..
- ZABBIX 5.0 - LNMP environment compilation and installation
猜你喜欢

What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail

Get the variable address of structure member in C language

Compilation principle reading notes (1/12)

Pytoch implements tf Functions of the gather() function

From the perspective of technology and risk control, it is analyzed that wechat Alipay restricts the remote collection of personal collection code

RHCSA5

Super efficient! The secret of swagger Yapi

Install rhel8.2 virtual machine

SAP 自开发记录用户登录日志等信息

Keras implements verification code identification
随机推荐
Taobao product details API | get baby SKU, main map, evaluation and other API interfaces
Resnet18 actual battle Baoke dream spirit
国内市场上的BI软件,到底有啥区别
Volatile instruction rearrangement and why instruction rearrangement is prohibited
Anaconda creates a virtual environment and installs pytorch
View and terminate the executing thread in MySQL
Database connection pool & jdbctemplate
Keras implements verification code identification
Wechat enterprise payment to change access, open quickly
GPON other manufacturers' configuration process analysis
How do e-commerce sellers refund in batches?
Rasa Chat Robot Tutorial (translation) (1)
DNS的原理介绍
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
RHCSA1
Taobao order amount check error, avoid capital loss API
Research: data security tools cannot resist blackmail software in 60% of cases
开发者,云原生数据库是未来吗?
Introduction to GNN
Simply take stock reading notes (1/8)