insmod error version magic xxx preempt mod_unload ARMv7 should be xxx preempt
来源:互联网 发布:滨州行知中学招聘信息 编辑:程序博客网 时间:2024/04/30 08:38
如题,出现以上错误时是由于加载的驱动所使用的内核版本和系统运行的版本不一致。这只不过是内核的一个版本校验机制,具体原理在此不详述。提供一个将驱动的版本强制改成和运行时内核一致的方法:
1、include/config/kernel.release文件中为内核版本号,将其改为所需版本。
2、include/generated/utsrelease.h文件中
#define UTS_RELEASE “XXX”
将xxx改为自己所需内核版本号
然后重新编译生成驱动.ko文件,可以用modinfo命令查看驱动信息中vermagic项是否已经是自己所需
0 0
- insmod error version magic xxx preempt mod_unload ARMv7 should be xxx preempt
- ump: version magic '3.0.0 SMP preempt mod_unload ARMv7 ' should be '3.0.0+ SMP preempt mod_unload AR
- ump: version magic '3.0.0 SMP preempt mod_unload ARMv7 ' should be '3.0.0+ SMP preempt mod_unload AR
- 目标板中加载驱动时出现version magic '2.6.24.3 preempt mod_unload ARMv5 ' should be '2.6.30 mod_unload ARMv5 '错误
- insmod *.ko : version magic '2.6.27 mod_unload ARMv6 ' should be '2.6.27-svn53 mo
- insmod *.ko : version magic '2.6.27 mod_unload ARMv6 ' should be '2.6.27-svn53 mo
- version magic 'xxx ARMvx ' should be 'xxx ARMvx '
- preempt
- version magic '2.6.30.4 mod_unload ARMv4 ' should be '2.6.30.4-EmbedSky'
- spi_ads1299_mini6410: version magic '2.6.38 mod_unload ARMv6 ' should be '2.6.28.6-FriendlyARM mod_u
- 加载模块报错:version magic '2.6.32-504.el6.i686 SMP mod_unload 686 ' should
- insmod: error inserting 'xxx.ko': File exists
- Kernel Preempt
- preempt注释
- MySQL error: 145 (Table 'xxx' is marked as crashed and should be repaired
- linux kernel Internal error: Oops: 5 [#1] PREEMPT SMP ARM
- AIDL interface XXX should be declared in a file
- Table ‘xxx’ is marked as crashed and should be repaired ...
- Android获取文件夹路径 /data/data/
- dpdk源码分析 rte_eal_cpu_init()函数
- day20_uploadListener
- jquery操作select(取值,设置选中)
- JAVA设计模式(抽象工厂模式)
- insmod error version magic xxx preempt mod_unload ARMv7 should be xxx preempt
- All 关键字
- Linux16.04配置CUDA8.0+CUDNNV5.1
- 数据库设计原则思想
- 多位名人极力推荐《中华辟谷养生》,健康养生的好书!
- 在VS2010中使用Qt编程,
- 网络使用和电池消耗 原因和改进
- Eclipse SVN插件的帐号、密码修改
- 如何解读执行计划(中)