当前位置:网站首页>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,就好了
边栏推荐
- Principle of universal gbase high availability synchronization tool in Nanjing University
- JDBC exercise - query data encapsulated into object return & simple login demo
- 由扫地增而引起的小叙
- Pytoch counts the number of the same elements in the tensor
- How can labels/legends be added for all chart types in chart. js (chartjs.org)?
- Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
- Simply take stock reading notes (3/8)
- Kotlin process control and circulation
- 以VMware创新之道,重塑多云产品力
- Redis master-slave configuration and sentinel mode
猜你喜欢

Notes for preparation of information system project manager --- information knowledge

SAP self-development records user login logs and other information

2021-12-21 transaction record

Pytoch implements tf Functions of the gather() function

Pinduoduo flag insertion remarks API

Volatile instruction rearrangement and why instruction rearrangement is prohibited

非技术部门,如何参与 DevOps?

Pytoch uses torchnet Classerrormeter in meter

Making and using the cutting tool of TTF font library

Add a new cloud disk to Huawei virtual machine
随机推荐
C language structure is initialized as a function parameter
MySQL log module of InnoDB engine
SAP self-development records user login logs and other information
Interviewer: is acid fully guaranteed for redis transactions?
ZABBIX ODBC database monitoring
Array cyclic shift problem
About cache exceptions: solutions for cache avalanche, breakdown, and penetration
Making and using the cutting tool of TTF font library
2021-12-22 transaction record
滴滴开源DELTA:AI开发者可轻松训练自然语言模型
Transactions from December 29, 2021 to January 4, 2022
谈谈我写作生涯的画图技巧
stm32和电机开发(从架构图到文档编写)
JDBC -- extract JDBC tool classes
Simply take stock reading notes (3/8)
实战模拟│JWT 登录认证
Notes for preparation of information system project manager --- information knowledge
Keras implements verification code identification
Constructing expression binary tree with prefix expression
C alarm design