当前位置:网站首页>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
边栏推荐
- NFT: how to make money with unique assets?
- Using docker for MySQL 8.0 master-slave configuration
- Redis cluster configuration
- Sqoop import and export operation
- Preliminary exploration of basic knowledge of MySQL
- ZABBIX ODBC database monitoring
- 10 minute fitness method reading notes (3/5)
- SAP self-development records user login logs and other information
- Install rhel8.2 virtual machine
- 10 minute fitness method reading notes (1/5)
猜你喜欢

2021-12-21 transaction record

JDBC exercise - query data encapsulated into object return & simple login demo

Research: data security tools cannot resist blackmail software in 60% of cases

我在滴滴做开源

Taobao short videos are automatically released in batches without manual RPA open source

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

Pytoch implements tf Functions of the gather() function

Simply take stock reading notes (4/8)

Vonedao solves the problem of organizational development effectiveness

Tips and tricks of image segmentation summarized from 39 Kabul competitions
随机推荐
ZABBIX monitors mongodb (template and deployment operations)
Detailed steps for upgrading window mysql5.5 to 5.7.36
Constructing expression binary tree with prefix expression
Super efficient! The secret of swagger Yapi
Ecplise development environment configuration and simple web project construction
Comprehensive upgrade of Taobao short video photosynthetic platform
Taobao flag insertion remarks | logistics delivery interface
Learning items
非技术部门,如何参与 DevOps?
Kotlin变量
Introduction to GNN
Distributed solution - Comprehensive decryption of distributed task scheduling platform - xxljob scheduling center cluster
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
2021-12-21 transaction record
Pytorch two-layer loop to realize the segmentation of large pictures
Migrate data from Mysql to neo4j database
Introduction to relational model theory
Transactions from December 29, 2021 to January 4, 2022
Simply take stock reading notes (1/8)