From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 3CBAA8032 for ; Wed, 3 Dec 2014 14:53:34 +0100 (CET) Received: by mail-wg0-f43.google.com with SMTP id l18so19782671wgh.30 for ; Wed, 03 Dec 2014 05:53:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=smLrdoNmmeEtPGBeAzzKnZiv9F5tpq53HuqrpuWqDT4=; b=cHPqswvFpUcIYWP07YJlUCjJQoTeLxYOTdvL9/6EKKXydr8ZnkS87gEE1Ry02yl+hV TGrQ1JSRzG837lB5+f4+fD1jlrogk5jEBD+NL0+EMnPfCzzNYvmVHHnkXuS/cXsQYyE9 wYgp8ZuPQK0ECmNCB+JDLDppN/yG3KLSiz+XIL4eyMs0ujy/3x7iH13hgShP3lM+zwmW caHvXKMlI1rELQu1hjc4j2Q11/0zKoP+/80lYlYb5yubrvbRa4uQkivIHw6yCu2fpC42 +FTCl6ckQwsxxlFIVxvO50WA3G4OhBjyPAC7FBR9PYeGCqZxtN4/mw6tYxGbdA4umdSN 2dKw== MIME-Version: 1.0 X-Received: by 10.180.73.143 with SMTP id l15mr100110415wiv.24.1417614814062; Wed, 03 Dec 2014 05:53:34 -0800 (PST) Received: by 10.194.37.225 with HTTP; Wed, 3 Dec 2014 05:53:33 -0800 (PST) Date: Wed, 3 Dec 2014 19:23:33 +0530 Message-ID: From: Venkateswara Rao Dokku To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Error: Cannot allocate memzone for ethernet port data Pktgen X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 13:53:34 -0000 Hi, I am getting the following error when I am trying to run the PktGen on DPDK EAL: PCI memory mapped at 0x7f4ba0d6c000 PANIC in rte_eth_dev_data_alloc(): Cannot allocate memzone for ethernet port data 9: [./app/build/pktgen() [0x421069]] 8: [/lib64/libc.so.6(__libc_start_main+0xfd) [0x3af581ecdd]] 7: [./app/build/pktgen(main+0x115) [0x430ce5]] 6: [./app/build/pktgen(rte_eal_init+0xb58) [0x4b2a88]] 5: [./app/build/pktgen(rte_eal_pci_probe+0xfb) [0x4bc90b]] 4: [./app/build/pktgen() [0x4ac87e]] 3: [./app/build/pktgen() [0x4ac822]] 2: [./app/build/pktgen(__rte_panic+0xc0) [0x420fb0]] 1: [./app/build/pktgen(rte_dump_stack+0x1e) [0x4b900e]] Aborted (core dumped) These are the steps I followed. 1. Loaded the Igb_Uio module 2. Loaded the KNI module 3. Allocated HugePages 4.Ran the PktGen with the following command ./app/build/pktgen -c 0x1 -n 3 --proc-type auto --file-prefix pg -- -P Can you please help me in solving the issue. PS: I thought the error is due to insufficient number of huge pages, so I increased the number of hugepages and tried. Still facing the same issue. DPDK version 1.7 PktGen 2.5.6 -- Thanks & Regards, Venkateswara Rao Dokku.