From: "Pattan, Reshma" <reshma.pattan@intel.com>
To: Heung Sik Choi <hschoi@os.korea.ac.kr>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] dpdk-pdump is not working
Date: Wed, 7 Jun 2017 09:40:49 +0000 [thread overview]
Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A2115A9@irsmsx110.ger.corp.intel.com> (raw)
In-Reply-To: <CAAZV7DAxZbLtKY1A1+S0FdsKQ9tpmzaohy4yZHGRE9QTFQSa0w@mail.gmail.com>
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.
prev parent reply other threads:[~2017-06-07 9:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 8:47 Heung Sik Choi
2017-06-07 9:40 ` Pattan, Reshma [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AEA2BF9852C6F48A459DA490692831F2A2115A9@irsmsx110.ger.corp.intel.com \
--to=reshma.pattan@intel.com \
--cc=hschoi@os.korea.ac.kr \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).