From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hub021-va-4.exch021.serverdata.net (hub021-va-4.exch021.serverdata.net [64.78.25.157]) by dpdk.org (Postfix) with ESMTP id AABED5B38 for ; Thu, 18 Oct 2018 23:34:54 +0200 (CEST) Received: from MBX021-E5-VA-2.exch021.domain.local ([10.216.132.129]) by HUB021-VA-4.exch021.domain.local ([10.216.132.66]) with mapi id 14.03.0319.002; Thu, 18 Oct 2018 14:34:53 -0700 From: Srinivas Kotamarti To: "users@dpdk.org" Thread-Topic: issues with dpdk-pdump Thread-Index: AdRnIyRzvvfdJIHrTvSFtBRUBh+4Ig== Date: Thu, 18 Oct 2018 21:34:52 +0000 Message-ID: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [73.182.218.64] MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Oct 2018 23:42:12 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] issues with dpdk-pdump X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2018 21:34:55 -0000 Hello, I want to use dpdk-pdump for packet capture. As explained in the http://doc= .dpdk.org/guides/tools/pdump.html http://doc.dpdk.org/guides/prog_guide/pdu= mp_lib.html I have compiled the DPDK with CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy an= d modified my application to initialize the pdump PMD by calling the rte_p= dump_init() I am invoking the dpdk-pdump as follows /opt/thoroughbred/dpdk/tools/dpdk-pdump -- --pdump 'port=3D0, queue=3D*, r= x-dev=3D/boot/partitions/storage/tosfp-pt-dpdk-untrack-fail-00rxtx.01none.0= 2none.03none.pcapng, tx-dev=3D/boot/partitions/storage/tosfp-pt-dpdk-untrac= k-fail-00rxtx.01none.02none.03none.pcapng' & It crashes with the following trace EAL: Detected 7 lcore(s) EAL: Detected 1 NUMA nodes PANIC in rte_eal_config_attach(): Cannot open '/var/run/.rte_config' for rte_mem_config 6: [/opt/thoroughbred/dpdk/tools/dpdk-pdump() [0x464e51]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f801e50eb45= ]] 4: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(main+0xeb) [0x45d43b]] 3: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_eal_init+0xde7) [0x4d2527]] 2: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(__rte_panic+0xba) [0x45524d]] 1: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_dump_stack+0x18) [0x4dc928]= ] What am I doing wrong? Thanks --Srinias