From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) by dpdk.org (Postfix) with ESMTP id 6460E2C0C for ; Thu, 13 Oct 2016 08:12:50 +0200 (CEST) Received: by mail-qk0-f171.google.com with SMTP id f128so65555077qkb.1 for ; Wed, 12 Oct 2016 23:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z/0ZdEq9vVSou0I9Vx4YvNZZS80akbxBLio/C6/WYEE=; b=dz7n0A6DAyPCKZ9y8lmp+rChidimCp7Fj8BsZwgE+tGiBGq8Wrlr+NTZjVYc5frrBR 93Wm3a9ogTczq2kMvhZPi074ZbSNlRAFUQRxgphkLqiQda7Se28o1OnueaFGDsvdv3cW hSvMxb/XAbUq53JOh9krdqCy+UAWI47CLWmSsSEF7A7NAyY4MKkC8wzl9axo6eW+JuHm dD35NoMbo3oOk6N4znkKHbxfLwUP1Vp3kN5D9huZZAScM4qIUvHH7UCicROGWmycJHlk QOWOI3QBKkPUAwr/2i0JqqdXFHDpTk2QcGE1Kom48Be0vN1goos+tKkJTvq+zqIswjc4 886Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z/0ZdEq9vVSou0I9Vx4YvNZZS80akbxBLio/C6/WYEE=; b=LH/Nw5U76gNAJklRK59NxS3OppmN70EaImnRpn8RP/r1q11IuxtCpvrYmpNkLj5LUF bByEP2Y0uRd0X2vBvjvDLvTTbdJLgf0vg5Ey+bArzk0HYK6lITqzCnVyQtaOcPRxjhlP t8d9Ch78/FpsQAwzABEQ1UQ/Rb216E86T/q6I9aSK6tHmbpWcCWd4wtik1T9qK5pUrdJ FiPaD7nVHvmycf2mzHuAcNhHHJm5B04HIW0IaLoI4rtWnmuDZU7NCkbWtDgURoZdGKyD sbs8HL1sGIo6qOuPF/0dMN0NqLrISCxGNGEa0QNLDkzVzN+Qkwkxfbpga68LP0LKInTF NT4g== X-Gm-Message-State: AA6/9RmBMJImtrprDLu7DnAKx4CBpyQ0afCT3Pr+78/nheDRBwdxREvRWyX8CgNH0kzZQq5F/9wDQruvraiHKA== X-Received: by 10.55.156.22 with SMTP id f22mr5797372qke.36.1476339169852; Wed, 12 Oct 2016 23:12:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.25.6 with HTTP; Wed, 12 Oct 2016 23:12:29 -0700 (PDT) In-Reply-To: References: From: Aniraj Kesavan Date: Thu, 13 Oct 2016 00:12:29 -0600 Message-ID: To: Muhammad Zain-ul-Abideen Cc: Andriy Berestovskyy , users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Need help understanding rte_eth_dev_count X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 06:12:50 -0000 I have 1GB hugepages enabled and mounted, in fact I had traced through gdb to find out that hugepage_init succeeds. Or is it necessary to have 2MB hugepages in particular? One thing I did notice is that I wasn't unbinding the devices properly. I had to do them manually writing pci device ids to unbind location. Even after that, I'm finding issues. I also figured out that since I was building as a shared library, I needed to pass -d as a command line parameter. Even after doing that, I'm getting the same errors. On Thu, Oct 13, 2016 at 12:01 AM, Muhammad Zain-ul-Abideen < zain2294@gmail.com> wrote: > *"EAL: No free hugepages reported in hugepages-2048kB" * > No huge pages are available, kindly restart your server, and re do the > installation, plus tell me where the huge pages are being made. > and if this is a valid address in ur case > "*/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages*" > -- Aniraj Kesavan MS CS '15-'17, University Of Utah CS '08-'12, Govt. Model Engineering College alternate e-mail:anirajkalathel@gmail.com http://www.cs.utah.edu/~aniraj/