* Re: [dpdk-users] DPDK Hello World application
2017-04-06 5:15 [dpdk-users] DPDK Hello World application Ashwini Thaokar
@ 2017-04-06 5:18 ` Dharmesh Mehta
2017-04-06 13:42 ` Wiles, Keith
0 siblings, 1 reply; 3+ messages in thread
From: Dharmesh Mehta @ 2017-04-06 5:18 UTC (permalink / raw)
To: Ashwini Thaokar, users
please run with sudo.also make sure huge pages are setup correctly.
From: Ashwini Thaokar <thaokar.a@husky.neu.edu>
To: users@dpdk.org
Sent: Wednesday, April 5, 2017 10:15 PM
Subject: [dpdk-users] DPDK Hello World application
I am trying to run the hello world application on my VMware Fusion with Ubuntu OS. I am getting the following error:
ashwinithaokar@ubuntu:~/Desktop/dpdk-17.02/examples/helloworld/build/app$ ./helloworld -l 0-3 -n 4
EAL: Detected 1 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: Master core has no memory on local socket!
EAL: pthread_setaffinity_np failed
PANIC in eal_thread_loop():
cannot set affinity
EAL: pthread_setaffinity_np failed
PANIC in eal_thread_loop():
cannot set affinity
EAL: pthread_setaffinity_np failed
PANIC in eal_thread_loop():
cannot set affinity
5: [/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fd1ecb4782d]]
4: [/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7fd1ece116ba]]
3: [./helloworld(eal_thread_loop+0x240) [0x4720f0]]
2: [./helloworld(__rte_panic+0xc9) [0x430211]]
1: [./helloworld(rte_dump_stack+0x2b) [0x47636b]]
Aborted (core dumped)
Please explain me what steps to take to avoid this.
From avi.cohen@huawei.com Thu Apr 6 09:28:12 2017
Return-Path: <avi.cohen@huawei.com>
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17])
by dpdk.org (Postfix) with ESMTP id E8565CFA0
for <users@dpdk.org>; Thu, 6 Apr 2017 09:28:12 +0200 (CEST)
Received: from 172.18.7.190 (EHLO lhreml707-cah.china.huawei.com)
([172.18.7.190])
by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued)
with ESMTP id DEF49872; Thu, 06 Apr 2017 07:28:09 +0000 (GMT)
Received: from LHREML501-MBB.china.huawei.com ([10.201.109.51]) by
lhreml707-cah.china.huawei.com ([10.201.108.48]) with mapi id 14.03.0301.000;
Thu, 6 Apr 2017 08:28:06 +0100
From: "Avi Cohen (A)" <avi.cohen@huawei.com>
To: "Wiles, Keith" <keith.wiles@intel.com>
CC: "users@dpdk.org" <users@dpdk.org>
Thread-Topic: [dpdk-users] pktgen - cannot set dest address
Thread-Index: AdKuJXmMYCIl8ClnTMapYMSVF/BS8wAP8O6AABCB1yA=
Date: Thu, 6 Apr 2017 07:28:06 +0000
Message-ID: <B84047ECBD981D4B93EAE5A6245AA361A1B89B@lhreml501-mbb>
References: <B84047ECBD981D4B93EAE5A6245AA361A1B79A@lhreml501-mbb>
<91EE3404-B9F2-4D83-BBDA-82666D37A6A6@intel.com>
In-Reply-To: <91EE3404-B9F2-4D83-BBDA-82666D37A6A6@intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.200.202.202]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0),
refid=str=0001.0A090201.58E5EE0A.000D, ss=1, re=0.000, recu=0.000, reip=0.000,
cl=1, cld=1, fgs=0, ip=0.0.0.0,
so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: f4739d4bf3b1db993483aa7a87b42d27
Subject: Re: [dpdk-users] pktgen - cannot set dest address
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
<mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
<mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Apr 2017 07:28:13 -0000
Thanks Keith - its OK now.
Best Regards
avi
> -----Original Message-----
> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> Sent: Wednesday, 05 April, 2017 7:35 PM
> To: Avi Cohen (A)
> Cc: users@dpdk.org
> Subject: Re: [dpdk-users] pktgen - cannot set dest address
>=20
> I fixed the code and I tested the commands and it appears to work. Check =
out
> 3.2.4
>=20
> Thanks for the information.
>=20
> > On Apr 5, 2017, at 10:58 AM, Avi Cohen (A) <avi.cohen@huawei.com> wrote=
:
> >
> > Hello
> > I cannot set the dest address configuration
> >
> > Set 0 dst mac xx:yy:... changes the src address instead of the dest=
- same
> for IP
> > I think this is the reason that I cannot transmit . (start 0 - show n=
othing)
> >
> > I have pktgen 3.2.3 with dpdk 16.07.2
> >
> > Best regards
> > avi
>=20
> Regards,
> Keith
^ permalink raw reply [flat|nested] 3+ messages in thread