【问题标题】:Kernel Module Version magic error内核模块版本魔法错误
【发布时间】:2017-04-05 10:04:37
【问题描述】:

我正在尝试通过 modprobe 加载内核模块。我正在使用 yocto 项目来构建内核。当我尝试在自定义硬件中加载内核时,出现以下错误。

modprobe g_serial
    configfs: version magic '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload modversions ARMv7 p2v8 ' should be '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload ARMv6 p2v8 '
    modprobe: can't load module configfs (kernel/fs/configfs/configfs.ko): invalid module format

下面是dmesg日志

configfs: version magic '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload modversions ARMv7 p2v8 ' should be '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload ARMv6 p2v8 '

【问题讨论】:

    标签: linux linux-kernel driver


    【解决方案1】:

    当我在两个不同的版本中进行内核模块和内核编译时,我遇到了这个错误。现在我正在做单个构建并且驱动程序正在成功加载。

    【讨论】:

      猜你喜欢
      • 2019-01-19
      • 1970-01-01
      • 2018-11-27
      • 1970-01-01
      • 2020-07-13
      • 2013-10-15
      • 2012-11-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多