Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
04huang
V2EX  ›  Linux

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

  •  
  •   04huang · Jun 14, 2014 · 4811 views
    This topic created in 4426 days ago, the information mentioned may be changed or developed.
    主机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 replies    2014-06-14 14:22:59 +08:00
    liwei
        1
    liwei  
       Jun 14, 2014 via Android
    这种情况一般是模块的版本和内核版本不一致造成的,可以用modinfo看一下模块的vermagic信息是什么,另外,在dmesg里面应该有具体的错误信息。
    47jm9ozp
        2
    47jm9ozp  
       Jun 14, 2014
    把linode的内核换成发行版官方内核就行了。。ubuntu的官方内核自带hybla

    参见 https://library.linode.com/custom-instances/pv-grub-howto
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3035 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    ♥ Do have faith in what you're doing.