[dpdk-users] DPDK Hello World application

Wiles, Keith keith.wiles at intel.com
Thu Apr 6 15:42:51 CEST 2017


> On Apr 6, 2017, at 12:18 AM, Dharmesh Mehta <mehtadharmesh at yahoo.com> wrote:
> 
> please run with sudo.also make sure huge pages are setup correctly.

You can disable huge pages and PCI using EAL option —no-huge and —no-pci ‘—‘ in front of each option is two dash characters.

> 
>      From: Ashwini Thaokar <thaokar.a at husky.neu.edu>
> To: users at 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 at 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.
> 
> 

Regards,
Keith



More information about the users mailing list