* [dpdk-users] dpdk-pdump is not working
@ 2017-06-02 8:47 Heung Sik Choi
2017-06-07 9:40 ` Pattan, Reshma
0 siblings, 1 reply; 2+ messages in thread
From: Heung Sik Choi @ 2017-06-02 8:47 UTC (permalink / raw)
To: users
Hi
I want to run dpdk-pdump. So, I recompile with option of PCAP and PDUMP.
Also my machine is dual CPU(Xeon 2630 v2), so I set hugepage with NUMA
option. the huge page size is 2MB and the number of hugepage is each 8192
both side.
when the setting is over, I ran the
dpdk-pdump(/dpdk/x86_64_native_linuxapp-gcc/build/app/pdump). However,
error happens.
error message is below:
PANIC in rte_eal_config_attach():
Cannot open '/var/run/.rte_config' for rte_mem_config
6: [./dpdk-pdump() [0x437fc9]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7f5c419baf45]]
4: [./dpdk-pdump(main+0x154) [0x440cd2]]
3: [./dpdk-pdump(rte_eal_init+0xd9c) [0x477bec]]
2: [./dpdk-pdump(__rte_panic+0xbe) [0x431b20]]
1: [./dpdk-pdump(rte_dump_stack+0x1a) [0x47f68a]]
I also change the dpdk-pdump which is in
/dpdk/x86_64_native_linuxapp-gcc/app, but same error happens.
Please let me know if you have any insights.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] dpdk-pdump is not working
2017-06-02 8:47 [dpdk-users] dpdk-pdump is not working Heung Sik Choi
@ 2017-06-07 9:40 ` Pattan, Reshma
0 siblings, 0 replies; 2+ messages in thread
From: Pattan, Reshma @ 2017-06-07 9:40 UTC (permalink / raw)
To: Heung Sik Choi; +Cc: users
Hi,
dpdk-pdump is secondary process and it must be run along with any primary process.
The primary process must initialize packet capture framework by calling rte_pdump_init() and rt_pdump_uninit() apis, please refer testpmd.c file to see how this is done.
Also I suggest you go through the below docs to understand about the usage. Let me know if you have any questions.
http://dpdk.org/doc/guides/tools/pdump.html ==> dpdk-pdump tool usage is explained
http://dpdk.org/doc/guides/prog_guide/pdump_lib.html ==> Pdump library is explained
Thanks,
Reshma
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Heung Sik Choi
> Sent: Friday, June 2, 2017 9:47 AM
> To: users@dpdk.org
> Subject: [dpdk-users] dpdk-pdump is not working
>
> Hi
>
> I want to run dpdk-pdump. So, I recompile with option of PCAP and PDUMP.
> Also my machine is dual CPU(Xeon 2630 v2), so I set hugepage with NUMA
> option. the huge page size is 2MB and the number of hugepage is each 8192
> both side.
>
> when the setting is over, I ran the
> dpdk-pdump(/dpdk/x86_64_native_linuxapp-gcc/build/app/pdump).
> However, error happens.
>
> error message is below:
>
> PANIC in rte_eal_config_attach():
> Cannot open '/var/run/.rte_config' for rte_mem_config
> 6: [./dpdk-pdump() [0x437fc9]]
> 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
> [0x7f5c419baf45]]
> 4: [./dpdk-pdump(main+0x154) [0x440cd2]]
> 3: [./dpdk-pdump(rte_eal_init+0xd9c) [0x477bec]]
> 2: [./dpdk-pdump(__rte_panic+0xbe) [0x431b20]]
> 1: [./dpdk-pdump(rte_dump_stack+0x1a) [0x47f68a]]
>
>
> I also change the dpdk-pdump which is in /dpdk/x86_64_native_linuxapp-
> gcc/app, but same error happens.
>
> Please let me know if you have any insights.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-07 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-02 8:47 [dpdk-users] dpdk-pdump is not working Heung Sik Choi
2017-06-07 9:40 ` Pattan, Reshma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).