* [dpdk-dev] Helloworld dpdk app is crashing
@ 2020-04-22 10:18 Shravan Raj (shrraj)
0 siblings, 0 replies; only message in thread
From: Shravan Raj (shrraj) @ 2020-04-22 10:18 UTC (permalink / raw)
To: dev
Hi All,
I compiled helloworld app in dpdk-19.11.1 stable version and tried to run . The app is crashing with panic message.
Logs:
Linux(debug)# ./helloworld -l 0-3 -n 4
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: Cannot get a virtual area: Cannot allocate memory
EAL: Cannot reserve memory
EAL: Cannot allocate VA space for memseg list, retrying with different page size
EAL: Cannot allocate VA space on socket 0
EAL: FATAL: Cannot init memory
EAL: Cannot init memory
PANIC in main():
Cannot init EAL
5: [./helloworld() [0x81b9a12]]
4: [/lib/libc.so.6(__libc_start_main+0xdd) [0x4d677d0d]]
3: [./helloworld() [0x80c30e5]]
2: [./helloworld(__rte_panic+0x2f) [0x80b1ea9]]
1: [./helloworld(rte_dump_stack+0x17) [0x8384887]]
Aborted
Below are my configs
1. Compiled app for 32 bit.
2. GCC version is 4.9
Created hugepages as below,
echo 1024 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
sudo sysctl -w vm.nr_hugepages=1024
mkdir -p /mnt/huge_2mb
sudo mount -t hugetlbfs nodev /mnt/huge_2mb -o pagesize=2MB
Linux(debug)# cat /proc/meminfo | grep Huge
HugePages_Total: 1024
HugePages_Free: 1024
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Thanks and Regards
Shravan S
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-22 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 10:18 [dpdk-dev] Helloworld dpdk app is crashing Shravan Raj (shrraj)
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).