From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) by dpdk.org (Postfix) with ESMTP id 39C399DE for ; Mon, 2 Dec 2013 10:13:04 +0100 (CET) Received: by mail-la0-f42.google.com with SMTP id ec20so8296999lab.29 for ; Mon, 02 Dec 2013 01:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PaFAwNAvshmLNIYefdJegt59OENp6aYkl0+Tdug+JfY=; b=fMhgCmCPaNgUQAL+a681yrijU8zX+KNct0szEZc0qhrCKfxwB/hbRs2QObOVS9EItt PyEGI4S2SmX5VSKUKZY3Yk2henhYpMnSeugUC8XRLtGuJwZuIG6ugVzrZBB3A8OYEYez vQm8hG7roHxR39vLhGdRiqxU1x6CVnccinzN/E4SxtNq2K2yeriK3BK47vRIyFh0kTYA qv1Fhtu1+JBuCDt62dFQC8oRTjm47mdre0W0768S1p5L13UI3bwQbbqkHn5WSOsZlcuH S4aQkhRgaQfy0nfBJ7GMmKjb/T3Df4fXbzeRWsQWXpsfwWf5cMFzdTHypaGIBhEARCif 24dw== MIME-Version: 1.0 X-Received: by 10.152.3.10 with SMTP id 10mr514676lay.35.1385975645494; Mon, 02 Dec 2013 01:14:05 -0800 (PST) Received: by 10.114.59.164 with HTTP; Mon, 2 Dec 2013 01:14:05 -0800 (PST) In-Reply-To: <6535e2f7ec214f82b9899d4d6534a74d@BN1PR05MB279.namprd05.prod.outlook.com> References: <6535e2f7ec214f82b9899d4d6534a74d@BN1PR05MB279.namprd05.prod.outlook.com> Date: Mon, 2 Dec 2013 17:14:05 +0800 Message-ID: From: Jose Gavine Cueto To: Surya Nimmagadda Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Issue while running test/testpmd applications 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: Mon, 02 Dec 2013 09:13:04 -0000 Hi, #2 - It depends on the platform that testpmd is running on. If it ran directly on top of the hardware then usually you have fixed lcores. For example, in Linux, you can call "nproc" to check how many cores are available. Make sure you have sufficient number of cores and set the core mask appropriately. Cheers, Pepe On Mon, Dec 2, 2013 at 1:45 PM, Surya Nimmagadda wrote: > Hi, > > I am trying to run the test and testpmd applications with dpdk-1.5.0r1, > using tools/setup.sh > > I see two errors in EAL. Can someone please help where I am going wrong. > > 1. The test application panics with the following log. > > EAL: Master core 0 is ready (tid=b74b5800) > EAL: Core 7 is ready (tid=733fab40) > EAL: pthread_setaffinity_np failed > PANIC in eal_thread_loop(): > cannot set affinity > 5: [/lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb75a901e]] > 4: [/lib/i386-linux-gnu/libpthread.so.0(+0x6d78) [0xb7671d78]] > 3: [i686-default-linuxapp-gcc/app/test(eal_thread_loop+0x284) [0x80b9e24]] > 2: [i686-default-linuxapp-gcc/app/test(__rte_panic+0x5c) [0x804edbb]] > 1: [i686-default-linuxapp-gcc/app/test(rte_dump_stack+0x1c) [0x80bb92c]] > EAL: Core 2 is ready (tid=75bffb40) > > 2. I cant see lcores other than 0. How can I configure more than 1 lcores? > > Option: 11 > > > Enter hex bitmask of cores to execute test app on > Example: to execute app on cores 0 to 7, enter 0xff > bitmask: 0xff > Launching app > EAL: Cannot read numa node link for lcore 0 - using physical package id > instead > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Skip lcore 1 (not detected) > EAL: Skip lcore 2 (not detected) > EAL: Skip lcore 3 (not detected) > ::::::::::::::::::::::::::::::: > EAL: Skip lcore 63 (not detected) > EAL: Setting up memory... > EAL: cannot open /proc/self/numa_maps, consider that all memory is in > socket_id 0 > EAL: Ask a virtual area of 0x2097152 bytes > > Any help is greatly appreciated. > > Thanks, > Surya > > -- To stop learning is like to stop loving.