在另一台计算机上运行DPDK应用程序二进制文件(用不同的计算机编译)
在一台计算机上编译了带有几个运行时库库的DPDK应用程序
- ,并将库从该计算机复制到具有类似规格的另一台计算机
运行DPDK应用程序的参数,但该应用程序在
中崩溃了rte> rte_eal_init()
App-binary -l 1 -a 0000:02:00.0 -a 0000:03:00.0 -d /opt/upf/lib/ --proc-type=primary --file-prefix=.app_0000:02:00.0
- 的后退跟踪
#0 0x00007faaa0ead337 in raise () from /lib64/libc.so.6
#1 0x00007faaa0eaea28 in abort () from /lib64/libc.so.6
#2 0x00007faaa125104f in __rte_panic () from /opt/upf/lib/librte_eal.so.21
#3 0x00007faa9e228e1c in tailqinitfn_rte_ring_tailq () from /opt/upf/lib/librte_ring.so.21.0
#4 0x00007faaa278a973 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#5 0x00007faaa278f54e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#6 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7 0x00007faaa278eb3b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#8 0x00007faaa0c73eeb in dlopen_doit () from /lib64/libdl.so.2
#9 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#10 0x00007faaa0c744ed in _dlerror_run () from /lib64/libdl.so.2
#11 0x00007faaa0c73f81 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#12 0x00007faaa125bc55 in eal_plugins_init () from /opt/upf/lib/librte_eal.so.21
#13 0x00007faaa126f2ba in rte_eal_init () from /opt/upf/lib/librte_eal.so.21
#14 0x000000000041414a in Dpdk_LibTask (arg=<optimized out>) at /root/5g_upf/core/service/common/dpdk/dpdk.c:1244
#15 0x00007faaa2566e65 in start_thread () from /lib64/libpthread.so.0
#16 0x00007faaa0f7588d in clone () from /lib64/libc.so.6
这是GNU调试器崩溃核心文件更新
- :主机机器详细信息:
- i3 8100 3.6GHz 4内核
- 8 GB RAM
- Centos 7
- GCC版本4.8.5 20150623(Red Hat 4.8.5-44)(GCC)
- GNU LD版本2.27-44.base.el7
- DPDK 20.11.0
- 3个nics与DPDK界定
0000:01:00.0'82574L千兆网络连接10D3'drv = uio_pci_generic unused = e1000e 0000:07:00.0'82574L千兆网络连接10d3'drv = uio_pci_generic unused = e1000e 0000:08:00.0'82574L千兆网络连接10d3'drv = uio_pci_generic unused = e1000e
- 目标机详细信息:
- i3 8100 3.6GHz 4内核
- 8 GB RAM
- Centos 7
- GCC版本4.8.5 20150623(Red Hat 4.8.5-44)(GCC)
- GNU LD版本2.27-44.base.el7
- DPDK 20.11.0
- 3个nics与DPDK界定
0000:02:00.0'82574L千兆网络连接10D3'drv = uio_pci_generic unused = e1000e 0000:03:00.0'82574L千兆网络连接10d3'drv = uio_pci_generic unused = e1000e 0000:04:00.0'82574L千兆网络连接10d3'drv = uio_pci_generic unused = e1000e
A DPDK application with several runtime dependent libraries are compiled on one machine
Binaries and libraries are copied from that machine to another machine with similar specs and environment
Running the DPDK application with the parameters as given below, but the application crashes during
rte_eal_init()
App-binary -l 1 -a 0000:02:00.0 -a 0000:03:00.0 -d /opt/upf/lib/ --proc-type=primary --file-prefix=.app_0000:02:00.0
- This is the back trace from gnu debugger crash core file
#0 0x00007faaa0ead337 in raise () from /lib64/libc.so.6
#1 0x00007faaa0eaea28 in abort () from /lib64/libc.so.6
#2 0x00007faaa125104f in __rte_panic () from /opt/upf/lib/librte_eal.so.21
#3 0x00007faa9e228e1c in tailqinitfn_rte_ring_tailq () from /opt/upf/lib/librte_ring.so.21.0
#4 0x00007faaa278a973 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#5 0x00007faaa278f54e in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#6 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#7 0x00007faaa278eb3b in _dl_open () from /lib64/ld-linux-x86-64.so.2
#8 0x00007faaa0c73eeb in dlopen_doit () from /lib64/libdl.so.2
#9 0x00007faaa278a784 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#10 0x00007faaa0c744ed in _dlerror_run () from /lib64/libdl.so.2
#11 0x00007faaa0c73f81 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#12 0x00007faaa125bc55 in eal_plugins_init () from /opt/upf/lib/librte_eal.so.21
#13 0x00007faaa126f2ba in rte_eal_init () from /opt/upf/lib/librte_eal.so.21
#14 0x000000000041414a in Dpdk_LibTask (arg=<optimized out>) at /root/5g_upf/core/service/common/dpdk/dpdk.c:1244
#15 0x00007faaa2566e65 in start_thread () from /lib64/libpthread.so.0
#16 0x00007faaa0f7588d in clone () from /lib64/libc.so.6
Updates:
- Host Machine details:
- i3 8100 3.6GHz 4 Cores
- 8 GB RAM
- CentOS 7
- gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
- GNU ld version 2.27-44.base.el7
- DPDK 20.11.0
- 3 NICs bounded to DPDK
0000:01:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e 0000:07:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e 0000:08:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
- Target Machine details:
- i3 8100 3.6GHz 4 Cores
- 8 GB RAM
- CentOS 7
- gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
- GNU ld version 2.27-44.base.el7
- DPDK 20.11.0
- 3 NICs bounded to DPDK
0000:02:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e 0000:03:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e 0000:04:00.0 '82574L Gigabit Network Connection 10d3' drv=uio_pci_generic unused=e1000e
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
[基于与Sumesh的现场调试]。
应用程序背景:
Docker Run
开始的,其中共享root权限并将其复制到本地文件夹(同一机器)。导致问题的原因是:
如何解决该问题:
中,Docker-Run
共享访问/usr/lib/lib64
的权限,其中包含DPDK,第三方和GNU库。注意:
[Based on the live debug with Sumesh].
Application background:
docker run
where root permission is shared and and copies these over to a local folder (same machine).What caused the issues:
How to fix the issue:
docker-run
share the permission to access the/usr/lib/lib64
which houses DPDK, 3rd party and GNU Libraries.Note: