Greetings,
When I build and run the "helloworld" program, I get the following run-time error:
sudo ./helloworld -c 0xf -n 3 -m 2048
EAL: coremask set to f
EAL: Detected lcore 0 on socket 0
EAL: Detected lcore 1 on socket 1
EAL: Detected lcore 2 on socket 0
EAL: Detected lcore 3 on socket 1
EAL: Detected lcore 4 on socket 0
EAL: Detected lcore 5 on socket 1
EAL: Detected lcore 6 on socket 0
EAL: Detected lcore 7 on socket 1
EAL: Detected lcore 8 on socket 0
EAL: Detected lcore 9 on socket 1
EAL: Detected lcore 10 on socket 0
EAL: Detected lcore 11 on socket 1
EAL: Detected lcore 12 on socket 0
EAL: Detected lcore 13 on socket 1
EAL: Detected lcore 14 on socket 0
EAL: Detected lcore 15 on socket 1
EAL: Skip lcore 16 (not detected)
EAL: Skip lcore 17 (not detected)
EAL: Skip lcore 18 (not detected)
EAL: Skip lcore 19 (not detected)
EAL: Skip lcore 20 (not detected)
EAL: Skip lcore 21 (not detected)
EAL: Skip lcore 22 (not detected)
EAL: Skip lcore 23 (not detected)
EAL: check hugetlbfs
EAL: rte_memzone_reserve(): No appropriate segment found
RING: Cannot reserve memory
EAL: rte_eal_common_log_init(): cannot create log_history mempool
PANIC in rte_eal_init():
Cannot init logs
6: [./helloworld() [0x401649]]
5: [/lib/libc.so.6(__libc_start_main+0xfd) [0x7fb792f03c4d]]
4: [./helloworld() [0x401746]]
3: [./helloworld() [0x402012]]
2: [./helloworld() [0x4049d0]]
1: [./helloworld() [0x4048b6]]
Aborted
I simply do not understand these errors... Please help!
According to the getting started guide, the output should look like:
sudo ./build/app/helloworld -c 0xf -n 3 -m 2048
[sudo] password for rte:
EAL: coremask set to f
EAL: Detected lcore 0 on socket 0
EAL: Detected lcore 1 on socket 1
EAL: Detected lcore 2 on socket 0
EAL: Detected lcore 3 on socket 1
EAL: Detected lcore 4 on socket 0
EAL: Detected lcore 5 on socket 1
EAL: Detected lcore 6 on socket 0
EAL: Detected lcore 7 on socket 1
EAL: Detected lcore 8 on socket 0
EAL: Detected lcore 9 on socket 1
EAL: Detected lcore 10 on socket 0
EAL: Detected lcore 11 on socket 1
EAL: Detected lcore 12 on socket 0
EAL: Detected lcore 13 on socket 1
EAL: Detected lcore 14 on socket 0
EAL: Detected lcore 15 on socket 1
EAL: Detected lcore 16 on socket 0
EAL: Detected lcore 17 on socket 1
EAL: Detected lcore 18 on socket 0
EAL: Detected lcore 19 on socket 1
EAL: Detected lcore 20 on socket 0
EAL: Detected lcore 21 on socket 1
EAL: Detected lcore 22 on socket 0
EAL: Detected lcore 23 on socket 1
EAL: check hugetlbfs
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f0add800000 (size = 0x200000)
EAL: Ask a virtual area of 0x3d400000 bytes
EAL: Virtual area found at 0x7f0aa0200000 (size = 0x3d400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9fc00000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9f600000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9f000000 (size = 0x400000)
EAL: Ask a virtual area of 0x800000 bytes
EAL: Virtual area found at 0x7f0a9e600000 (size = 0x800000)
EAL: Ask a virtual area of 0x800000 bytes
EAL: Virtual area found at 0x7f0a9dc00000 (size
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9d600000 (size
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9d000000 (size
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f0a9ca00000 (size
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f0a9c600000 (size
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f0a9c200000 (size
EAL: Ask a virtual area of 0x3fc00000 bytes
EAL: Virtual area found at 0x7f0a5c400000 (size
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f0a5c000000 (size
EAL: check igb_uio module
EAL: check module finished
EAL: Master core 0 is ready (tid=de25b700)
EAL: Core 1 is ready (tid=5b7fe700)
EAL: Core 3 is ready (tid=5a7fc700)
EAL: Core 2 is ready (tid=5affd700)
hello from core 1
hello from core 2
hello from core 3
hello from core 0
