* [dpdk-dev] processor/core count issue
@ 2015-07-17 3:40 Jeff Venable, Sr.
2015-07-17 8:18 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Venable, Sr. @ 2015-07-17 3:40 UTC (permalink / raw)
To: dev
In a VM Fusion environment configured with 2 processors with 1 core each I get the following:
PANIC in rte_eal_init():
Cannot init logs
4: [/lib/x86_64-linux-gnu/libc.so<http://libc.so/>.6(__libc_start_main+0xf5) [0x7f9fd3bdaec5]]
3: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_eal_init+0x123a) [0x7f9fd4f462fa]]
2: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(__rte_panic+0xc3) [0x7f9fd4f449e8]]
1: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_dump_stack+0x16) [0x7f9fd4f4daa6]]
Aborted (core dumped)
rte_socket_id() was returning 0xFFFFFFFF here:
(gdb) bt
#0 0x00007ffff797ae95 in rte_malloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
#1 0x00007ffff797af4e in rte_zmalloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
#2 0x00007ffff7573ef8 in rte_ring_create () from /usr/lib/dpdk-2.0.0/librte_ring.so.1
#3 0x00007ffff777770d in rte_mempool_xmem_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
#4 0x00007ffff7777b97 in rte_mempool_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
#5 0x00007ffff7b90899 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
#6 0x00007ffff7b88d34 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
#7 0x00007ffff7b84950 in rte_eal_init () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
When I reconfigured the VM to 1 processor with 2 cores, everything works as expected.
This was not a problem in 1.6.
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] processor/core count issue
2015-07-17 3:40 [dpdk-dev] processor/core count issue Jeff Venable, Sr.
@ 2015-07-17 8:18 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-07-17 8:18 UTC (permalink / raw)
To: Jeff Venable, Sr.; +Cc: dev
2015-07-17 03:40, Jeff Venable, Sr.:
> In a VM Fusion environment configured with 2 processors with 1 core each I get the following:
>
> PANIC in rte_eal_init():
> Cannot init logs
> 4: [/lib/x86_64-linux-gnu/libc.so<http://libc.so/>.6(__libc_start_main+0xf5) [0x7f9fd3bdaec5]]
> 3: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_eal_init+0x123a) [0x7f9fd4f462fa]]
> 2: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(__rte_panic+0xc3) [0x7f9fd4f449e8]]
> 1: [/usr/lib/dpdk-2.0.0/librte_eal.so<http://librte_eal.so/>.1(rte_dump_stack+0x16) [0x7f9fd4f4daa6]]
> Aborted (core dumped)
>
> rte_socket_id() was returning 0xFFFFFFFF here:
>
> (gdb) bt
> #0 0x00007ffff797ae95 in rte_malloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
> #1 0x00007ffff797af4e in rte_zmalloc_socket () from /usr/lib/dpdk-2.0.0/librte_malloc.so.1
> #2 0x00007ffff7573ef8 in rte_ring_create () from /usr/lib/dpdk-2.0.0/librte_ring.so.1
> #3 0x00007ffff777770d in rte_mempool_xmem_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
> #4 0x00007ffff7777b97 in rte_mempool_create () from /usr/lib/dpdk-2.0.0/librte_mempool.so.1
> #5 0x00007ffff7b90899 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
> #6 0x00007ffff7b88d34 in ?? () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
> #7 0x00007ffff7b84950 in rte_eal_init () from /usr/lib/dpdk-2.0.0/librte_eal.so.1
Please could you show which code is crashing and what is the root cause?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-17 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17 3:40 [dpdk-dev] processor/core count issue Jeff Venable, Sr.
2015-07-17 8:18 ` Thomas Monjalon
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).