From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by dpdk.org (Postfix) with ESMTP id 90A4E4CA7 for ; Mon, 22 Oct 2018 07:39:14 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id f26-v6so19318010pfn.9 for ; Sun, 21 Oct 2018 22:39:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Sw2zVBdtBW04If7ze75K4D6FRe5i+8A9/h+yciBGHCM=; b=HlXNke53iHY4WGvzjbdDLeb1DF5MrlY51Va4b2oYYceMFCRTUZzLBPiUxumnUZJVnU kOUKGdTkJhLu8+luqvVa+QOXuBE/9tPEO/wD07QfcA22u1cCA9hbPIuN7lp8OccqclNR hHWWORmPfYzdGX76rkKwAAVsUtAPwGrx9yKQgt+tCckLrHUg+Nzn/pIqTPQgIf6/H7UH 2gxFFPF3Y/0iIXmAAgj9vLJFYWJZSVnt/kE6SldKSfntdNrtaG81zG4r6ZxJs+qVfP4Z Zv+ZZK22oR3q9acmYX/P0h6lzoOLGJne9DX36/Q77tKKGLtcViCMrRQZLHvKSwdb4sFu glpw== X-Gm-Message-State: ABuFfoj7fQI/tELQofotUJ4wOgYaMcak+dRy4aJht68Ae7smU02K3gZc lH+toS8/2NG/HDufBf/6EV4RFu7B2wE6wg== X-Google-Smtp-Source: ACcGV627fbxQV9DZSmA5U1SzQx1kbl5aOQtCfGOiS3H5xFhH98zk9E+BHf3UjQcKnZNlhrkFLDbGxQ== X-Received: by 2002:a62:ca4d:: with SMTP id n74-v6mr43524139pfg.10.1540186753162; Sun, 21 Oct 2018 22:39:13 -0700 (PDT) Received: from localhost.localdomain ([117.197.202.141]) by smtp.gmail.com with ESMTPSA id 64-v6sm58561868pfq.10.2018.10.21.22.39.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 22:39:12 -0700 (PDT) To: Srinivas Kotamarti References: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local> Cc: "users@dpdk.org" From: Gowrishankar Muthukrishnan Message-ID: <9d733904-238e-613a-d562-c3768ae3dcb5@redhat.com> Date: Mon, 22 Oct 2018 11:09:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local> Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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: Mon, 22 Oct 2018 05:39:15 -0000 On 10/19/2018 03:04 AM, Srinivas Kotamarti wrote: > 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_gui= de/pdump_lib.html I have compiled the DPDK with CONFIG_RTE_LIBRTE_PMD_PCA= P=3Dy and modified my application to initialize the pdump PMD by calling= the rte_pdump_init() > > I am invoking the dpdk-pdump as follows > > /opt/thoroughbred/dpdk/tools/dpdk-pdump -- --pdump 'port=3D0, queue=3D= *, rx-dev=3D/boot/partitions/storage/tosfp-pt-dpdk-untrack-fail-00rxtx.01= none.02none.03none.pcapng, tx-dev=3D/boot/partitions/storage/tosfp-pt-dpd= k-untrack-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 Did you check this file exists, before you tried dpdk-pdump (secondary process) ? It is mandatory to start your app first and then run pdump. > 6: [/opt/thoroughbred/dpdk/tools/dpdk-pdump() [0x464e51]] > 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f801e50= eb45]] > 4: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(main+0xeb) [0x45d43b]] > 3: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_eal_init+0xde7) [0x4d25= 27]] > 2: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(__rte_panic+0xba) [0x45524d= ]] > 1: [/opt/thoroughbred/dpdk/tools/dpdk-pdump(rte_dump_stack+0x18) [0x4dc= 928]] > > > What am I doing wrong? > > Thanks > > --Srinias --=20 Regards, Gowrishankar M gmuthukr@redhat.com