[dpdk-dev] Issue while running test/testpmd applications

Surya Nimmagadda nscsekhar at juniper.net
Mon Dec 2 06:45:28 CET 2013


Hi,

I am trying to run the test and testpmd applications with dpdk-1.5.0r1, using tools/setup.sh

I see two errors in EAL. Can someone please help where I am going wrong.

1. The test application panics with the following log.

EAL: Master core 0 is ready (tid=b74b5800)
EAL: Core 7 is ready (tid=733fab40)
EAL: pthread_setaffinity_np failed
PANIC in eal_thread_loop():
cannot set affinity
5: [/lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb75a901e]]
4: [/lib/i386-linux-gnu/libpthread.so.0(+0x6d78) [0xb7671d78]]
3: [i686-default-linuxapp-gcc/app/test(eal_thread_loop+0x284) [0x80b9e24]]
2: [i686-default-linuxapp-gcc/app/test(__rte_panic+0x5c) [0x804edbb]]
1: [i686-default-linuxapp-gcc/app/test(rte_dump_stack+0x1c) [0x80bb92c]]
EAL: Core 2 is ready (tid=75bffb40)

2. I cant see lcores other than 0. How can I configure more than 1 lcores?

Option: 11


  Enter hex bitmask of cores to execute test app on
  Example: to execute app on cores 0 to 7, enter 0xff
bitmask: 0xff                                        
Launching app                                        
EAL: Cannot read numa node link for lcore 0 - using physical package id instead
EAL: Detected lcore 0 as core 0 on socket 0                                    
EAL: Skip lcore 1 (not detected)                                               
EAL: Skip lcore 2 (not detected)                                               
EAL: Skip lcore 3 (not detected)                  
:::::::::::::::::::::::::::::::
EAL: Skip lcore 63 (not detected)
EAL: Setting up memory...
EAL: cannot open /proc/self/numa_maps, consider that all memory is in socket_id 0
EAL: Ask a virtual area of 0x2097152 bytes

Any help is greatly appreciated.

Thanks,
Surya



More information about the dev mailing list