V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
04huang
V2EX  ›  Linux

insmod: error inserting 'tcp_hybla.ko': -1 Invalid module format

  •  
  •   04huang · 2014-06-14 01:17:21 +08:00 · 4159 次点击
    这是一个创建于 3610 天前的主题,其中的信息可能已经有所发展或是发生改变。
    主机linode-内核3.12.9-x86_64-linode37
    按照
    编译 Linode 内核模块小白教程,以 tcp_hybla 为例
    http://v2ex.com/t/114788#reply24

    #insmod tcp_hybla.ko
    加载模块的时候出现错误
    insmod: error inserting 'tcp_hybla.ko': -1 Invalid module format

    请问这个错误要怎么解决呢- -麻烦各位大神帮帮忙。。
    2 条回复    2014-06-14 14:22:59 +08:00
    liwei
        1
    liwei  
       2014-06-14 06:04:45 +08:00 via Android
    这种情况一般是模块的版本和内核版本不一致造成的,可以用modinfo看一下模块的vermagic信息是什么,另外,在dmesg里面应该有具体的错误信息。
    ooxxcc
        2
    ooxxcc  
       2014-06-14 14:22:59 +08:00
    把linode的内核换成发行版官方内核就行了。。ubuntu的官方内核自带hybla

    参见 https://library.linode.com/custom-instances/pv-grub-howto
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2274 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:30 · PVG 16:30 · LAX 01:30 · JFK 04:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.