技术解析

centos 安装 dpdk17.11.1 版本
0
2021-06-23 15:06:12
idczone

[[email protected] kmod]# cat /etc/redhat-release

CentOS Linux release 7.4.1708 (Core)

[[email protected] kmod]# uname -r

3.10.0-693.el7.x86_64

DPDK 版本 dpdk-stable-17.11.1

编译正常 OK

modprobe uio

insmod igb_uio.ko 的时候提示

[[email protected] kmod]# insmod igb_uio.ko

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

网上查看了下,查看 dmesg

[[email protected] 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 方案。

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


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
```

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服