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

centos 安装 dpdk17.11.1 版本

  •  
  •   tom82232 · Apr 28, 2018 · 5886 views
    This topic created in 2937 days ago, the information mentioned may be changed or developed.

    [root@localhost kmod]# cat /etc/redhat-release

    CentOS Linux release 7.4.1708 (Core)

    [root@localhost kmod]# uname -r

    3.10.0-693.el7.x86_64

    DPDK 版本 dpdk-stable-17.11.1

    编译正常 OK

    modprobe uio

    insmod igb_uio.ko 的时候提示

    [root@localhost kmod]# insmod igb_uio.ko

    insmod: ERROR: could not insert module igb_uio.ko: Unknown symbol in module

    网上查看了下,查看 dmesg

    [root@localhost kmod]# dmesg |tail

    [98874.156330] e1000: ens33 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

    [101668.431765] igb_uio: loading out-of-tree module taints kernel.

    [101668.431884] igb_uio: module verification failed: signature and/or required key missing - tainting kernel

    [101668.432033] igb_uio: Unknown symbol __x86_indirect_thunk_rax (err 0)

    [101668.432115] igb_uio: Unknown symbol __x86_indirect_thunk_r9 (err 0)

    [102444.551687] igb_uio: Use MSIX interrupt by default

    [102689.681685] igb_uio: Unknown symbol __x86_indirect_thunk_rax (err 0)

    [102689.681758] igb_uio: Unknown symbol __x86_indirect_thunk_r9 (err 0)

    [104954.795021] igb_uio: Unknown symbol __x86_indirect_thunk_rax (err 0)

    [104954.795120] igb_uio: Unknown symbol __x86_indirect_thunk_r9 (err 0)

    查找__x86_indirect_thunk_rax 是一个补丁用到的,retpoline 方案。

    然后找不到更多的资料了,这问题咋整,知道的教一下,谢谢大神么。

    1 replies    2018-04-30 18:44:48 +08:00
    v2register
        1
    v2register  
       Apr 30, 2018
    RHEL 仓库里有
    ```
    $ grep dpdk yumlistall.txt
    dpdk.x86_64 17.11-7.el7 rhel-7-server-extras-rpms
    dpdk-devel.x86_64 17.11-7.el7 rhel-7-server-extras-rpms
    dpdk-doc.noarch 17.11-7.el7 rhel-7-server-extras-rpms
    dpdk-tools.x86_64 17.11-7.el7 rhel-7-server-extras-rpms
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5774 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 06:37 · PVG 14:37 · LAX 23:37 · JFK 02:37
    ♥ Do have faith in what you're doing.