当前位置:网站首页>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
边栏推荐
- Difference between JUnit theories and parameterized tests
- 10 minute fitness method reading notes (2/5)
- Distributed solution - distributed lock solution - redis based distributed lock implementation
- 10 minute fitness method reading notes (3/5)
- Four common problems of e-commerce sellers' refund and cash return, with solutions
- Reshape the power of multi cloud products with VMware innovation
- 太方便了,钉钉上就可完成代码发布审批啦!
- Distributed solution - completely solve website cross domain requests
- Notes for preparation of information system project manager --- information knowledge
- Free testing of Taobao tmall API order and flag insertion remark interface
猜你喜欢
JDBC -- extract JDBC tool classes
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
Database connection pool & jdbctemplate
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Transactions from December 27 to 28, 2021
SAP 自开发记录用户登录日志等信息
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Iterator details in list... Interview pits
CVPR 2022 | single step 3D target recognizer based on sparse transformer
Making and using the cutting tool of TTF font library
随机推荐
Hexadecimal conversion summary
Distance measuring sensor chip 4530a used in home intelligent lighting
Detailed structure and code of inception V3
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
ZABBIX 5.0 - LNMP environment compilation and installation
Storage Basics
Anaconda creates a virtual environment and installs pytorch
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
CVPR 2022 | single step 3D target recognizer based on sparse transformer
Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
Free testing of Taobao tmall API order and flag insertion remark interface
ZABBIX ODBC database monitoring
Vonedao solves the problem of organizational development effectiveness
Pytorch two-layer loop to realize the segmentation of large pictures
Resnet+attention project complete code learning
A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
前几年外包干了四年,秋招感觉人生就这样了..
太方便了,钉钉上就可完成代码发布审批啦!
Ecplise development environment configuration and simple web project construction