DPDK usage discussions
 help / color / mirror / Atom feed
From: Dharmesh Mehta <mehtadharmesh@yahoo.com>
To: Ashwini Thaokar <thaokar.a@husky.neu.edu>,
	 "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK Hello World application
Date: Thu, 6 Apr 2017 05:18:40 +0000 (UTC)	[thread overview]
Message-ID: <421167452.434976.1491455920954@mail.yahoo.com> (raw)
In-Reply-To: <59E989B8-03F7-4C12-8850-5AD1C7E899EE@husky.neu.edu>

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

  reply	other threads:[~2017-04-06  5:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06  5:15 Ashwini Thaokar
2017-04-06  5:18 ` Dharmesh Mehta [this message]
2017-04-06 13:42   ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=421167452.434976.1491455920954@mail.yahoo.com \
    --to=mehtadharmesh@yahoo.com \
    --cc=thaokar.a@husky.neu.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).