From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by dpdk.org (Postfix) with ESMTP id 3A4163977; Mon, 17 Jul 2017 08:14:31 +0200 (CEST) Received: by mail-io0-f173.google.com with SMTP id r36so37987683ioi.1; Sun, 16 Jul 2017 23:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CabdYFWNedU1/TSSIlrhjpc7REwGYhe9oP+Mjj80DOc=; b=TMaMw1ea23U40JYtjM9iZSX7CTCCr+mUyiTB9VHFW5ELiW6Fks1ucL7frHdSpcOoE0 wxB7dWkdZblsIswDgAeRP09E6lETpRrRbJjW/3Z5VZEMe6JwM3FNnTcrjDLriWfHm/Qd uYdQ0CcSTDfi5MDTgSc/IL/zlBmPOnAZRjXUAqEvWJ9XM1mHP//LvYvHTq7TM26XpIm2 8ZAC1OecemrURbZgrApv3mj5bM2pzJSmqQ1aslcDC5jxvbobQA7LmsGwVT7u7hLFpTrl 2u9EWz6PHYSp0UxIYuDNatYZgyOs1qED5BTF+0BwpwCMrqFc7BgWN1heUmvHtbnpbvyE zTqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CabdYFWNedU1/TSSIlrhjpc7REwGYhe9oP+Mjj80DOc=; b=Agx+VajIxvbXmlPuTKPTCvJAyGKo0GQs5fykMp1/mDCRsHgiSpQvY7wk28XaZbfmBC jdenZ0vbMwoVLqZHixnL5LdKAloPhwr8Sh/MVoBDQft1UqkXgSd3o43ygBvTXRByn0kt SpmI1eT4QXuHiqIYh2o3AODolruQWjmHk3rGhQdQsrd8qKN9QiXWJ35VmjCPl6Vl1JLp 8OlDsinloVf3WggOODclGHxllAjkcLoGxhKBpCsPr3CYM+7p/PtQGT0S36iGrDCBbjqF ACQJZSI3o5R364udiRqcy0JUVr+ZBf4ehu9b/KSHyk9QC80MduXb4uU2S8UVV5ZNMaZb q4Kg== X-Gm-Message-State: AIVw112QJnPHAfLq1xsAewXgB0rgA0jbG0VJe/Q13Ev0fXcIzk0Fcsl0 PG9YQVsvyaFn6ONJrnJEBKTv976vsA== X-Received: by 10.107.12.97 with SMTP id w94mr17111957ioi.153.1500272070494; Sun, 16 Jul 2017 23:14:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.154.143 with HTTP; Sun, 16 Jul 2017 23:14:29 -0700 (PDT) In-Reply-To: <596C5315.2080906@globaledgesoft.com> References: <596C5315.2080906@globaledgesoft.com> From: harshavardhan Reddy Date: Mon, 17 Jul 2017 11:44:29 +0530 Message-ID: To: Mahesh Ishwar Mathad Cc: users , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Need help on dpdk packet-generator X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2017 06:14:31 -0000 EAL: No free hugepages reported in hugepages-1048576kB EAL: No free hugepages reported in hugepages-2048kB PANIC in rte_eal_init(): Means you have to allocate hugepages before starting this app. http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html#running-dpdk-application= s On Mon, Jul 17, 2017 at 11:33 AM, Mahesh Ishwar Mathad < mi.mahesh@globaledgesoft.com> wrote: > > Hi team, > > Kernel Version : 4.5 > DPDK Version : 16.07.2 > PKT-GEN Version: 3.3.4 > > > I am trying to execute dpdk pkt-gen application to generator L2 traffic o= n > DPDK ports. But I am getting errors while executing command : > ./app/pktgen -c 0x7 -n 3 -- -p 0x1 -P -m "[1:2].0" > > Since I am allocating enough huge page ie 2048Kbytes and i tried with > 4096Kbytes also and I bind DPDK ports to igb_uio driver but still i am > getting below error: > > Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. Powere= d > by Intel=C2=AE DPDK > EAL: Detected 4 lcore(s) > EAL: No free hugepages reported in hugepages-1048576kB > EAL: No free hugepages reported in hugepages-2048kB > PANIC in rte_eal_init(): > Cannot get hugepage information > 6: [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64-native-lin= uxapp-gcc/pktgen() > [0x4317ae]] > 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) > [0x7f5fa5111f45]] > 4: [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64- > native-linuxapp-gcc/pktgen(main+0x182) [0x430962]] > 3: [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64- > native-linuxapp-gcc/pktgen(rte_eal_init+0xc43) [0x4847b3]] > 2: [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64- > native-linuxapp-gcc/pktgen(__rte_panic+0xbe) [0x42d045]] > 1: [./dpdk-stable-16.07.2/examples/pktgen-3.3.4/app/app/x86_64- > native-linuxapp-gcc/pktgen(rte_dump_stack+0x1a) [0x48be2a]] > > Can anyone help me to understand issue and possible solution > > -- > Thanks & Regards, > Mahesh Mathad. > > Disclaimer:- The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately and destroy all copies of this message and any attachments. T= he > views expressed in this E-mail message (including the enclosure/(s) or > attachment/(s) if any) are those of the individual sender, except where t= he > sender expressly, and with authority, states them to be the views of > GlobalEdge. Before opening any mail and attachments please check them for > viruses .GlobalEdge does not accept any liability for virus infected mail= s. > >