当前位置:网站首页>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,就好了
边栏推荐
- 10 minute fitness method reading notes (1/5)
- Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
- Reshape the power of multi cloud products with VMware innovation
- Take you hand in hand to develop a service monitoring component
- [figure neural network] GNN from entry to mastery
- The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
- 以VMware创新之道,重塑多云产品力
- 前几年外包干了四年,秋招感觉人生就这样了..
- Docker configures redis and redis clusters
- Keras implements verification code identification
猜你喜欢
ActiveMQ installation and deployment simple configuration (personal test)
About cache exceptions: solutions for cache avalanche, breakdown, and penetration
滴滴开源DELTA:AI开发者可轻松训练自然语言模型
Distributed cache architecture - cache avalanche & penetration & hit rate
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
Pinduoduo flag insertion remarks API
Average lookup length when hash table lookup fails
Making and using the cutting tool of TTF font library
研究:数据安全工具在 60% 的情况下无法抵御勒索软件
随机推荐
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
Transactions from January 6 to October 2022
Principle of universal gbase high availability synchronization tool in Nanjing University
Comprehensive upgrade of Taobao short video photosynthetic platform
Pytoch implements tf Functions of the gather() function
Introduction to GNN
Transactions from December 27 to 28, 2021
10 minute fitness method reading notes (1/5)
Hexadecimal conversion summary
Constructing expression binary tree with prefix expression
How does MySQL execute an SQL statement?
Anaconda creates a virtual environment and installs pytorch
以VMware创新之道,重塑多云产品力
【云原生】Nacos-TaskManager 任务管理的使用
超高效!Swagger-Yapi的秘密
Database connection pool & jdbctemplate
Taobao flag insertion remarks | logistics delivery interface
Simply take stock reading notes (3/8)
#yyds干货盘点#js截取文件后缀名
Distributed solution - distributed lock solution - redis based distributed lock implementation