[dpdk-dev] Issue with configuring iproute using netdpcmd and running opendp

Mariappan Rajendran Mariappan.Rajendran at infinite.com
Mon Feb 29 15:21:55 CET 2016


Hi,

I am trying to configure the iproute using netdpcmd(from dpdk-odp repository), but it is failing. Kindly help to resolve this issue.

root at ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/netdp_cmd# ./build/netdpcmd
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 1 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Analysing 64 files
EAL: Mapped segment 0 of size 0x200000
EAL: Mapped segment 1 of size 0x400000
EAL: Mapped segment 2 of size 0x600000
EAL: Mapped segment 3 of size 0x200000
EAL: Mapped segment 4 of size 0x200000
EAL: Mapped segment 5 of size 0x200000
EAL: Mapped segment 6 of size 0x200000
EAL: Mapped segment 7 of size 0x200000
EAL: Mapped segment 8 of size 0x200000
EAL: Mapped segment 9 of size 0x200000
EAL: Mapped segment 10 of size 0x400000
EAL: Mapped segment 11 of size 0x400000
EAL: Mapped segment 12 of size 0x400000
EAL: Mapped segment 13 of size 0x200000
EAL: Mapped segment 14 of size 0x2200000
EAL: Mapped segment 15 of size 0x1000000
EAL: Mapped segment 16 of size 0x200000
EAL: Mapped segment 17 of size 0x400000
EAL: Mapped segment 18 of size 0x2000000
EAL: memzone_reserve_aligned_thread_unsafe(): memzone <RG_MP_log_history> already exists
RING: Cannot reserve memory


EAL: TSC frequency is ~1895612 KHz
EAL: Master lcore 0 is ready (tid=f7fdc940;cpuset=[0])
Lookup ring(NETDP_CTRL_PRI_2_SEC) failed
PANIC in main():
Cannot init ring
5: [./build/netdpcmd() [0x42c223]]
4: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ffff7105ec5]]
3: [./build/netdpcmd() [0x42ab3c]]
2: [./build/netdpcmd(__rte_panic+0xc9) [0x424f31]]
1: [./build/netdpcmd(rte_dump_stack+0x28) [0x495128]]
Aborted

Also, i am getting the below error while running opendp.

root at ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/opendp# ./build/opendp -c 0x1 -n 1  -- -p 0x1 --config="(0,0,0)"
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 1 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff6e00000 (size = 0x200000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7ffff6800000 (size = 0x400000)
EAL: Ask a virtual area of 0x600000 bytes
EAL: Virtual area found at 0x7ffff6000000 (size = 0x600000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff5c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff5800000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff5400000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff5000000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff4c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff4800000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff4400000 (size = 0x200000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7ffff3e00000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7ffff3800000 (size = 0x400000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7ffff3200000 (size = 0x400000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff2e00000 (size = 0x200000)
EAL: Ask a virtual area of 0x2200000 bytes
EAL: Virtual area found at 0x7ffff0a00000 (size = 0x2200000)
EAL: Ask a virtual area of 0x1000000 bytes
EAL: Virtual area found at 0x7fffef800000 (size = 0x1000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fffef400000 (size = 0x200000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7fffeee00000 (size = 0x400000)
EAL: Ask a virtual area of 0x2000000 bytes
EAL: Virtual area found at 0x7fffecc00000 (size = 0x2000000)
EAL: Requesting 64 pages of size 2MB from socket 0
EAL: TSC frequency is ~1895612 KHz
EAL: Master lcore 0 is ready (tid=f7fdc980;cpuset=[0])
param nb 1 ports 0
port id 0
 port 0 is not present on the board
EAL: Error - exiting with code: 1
  Cause: check_port_config failed

Below is my ifconfig, do i need to configure anything before running opendp ?
root at ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/opendp# ifconfig
eth13     Link encap:Ethernet  HWaddr 34:e6:d7:2b:89:60
          inet addr:172.27.10.27  Bcast:172.27.10.255  Mask:255.255.255.0
          inet6 addr: fe80::36e6:d7ff:fe2b:8960/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1220416 errors:0 dropped:11 overruns:0 frame:0
          TX packets:846271 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1222356177 (1.2 GB)  TX bytes:437558306 (437.5 MB)
          Interrupt:20 Memory:f7c00000-f7c20000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5111141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5111141 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1365308353 (1.3 GB)  TX bytes:1365308353 (1.3 GB)

Thanks,
Mari.
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).
If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.
In such cases, please notify us immediately at info at infinite.com . Further, you are not to copy, 
disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are 
considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize
this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should 
carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor
and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail
address may be stored on the Infinite e-mail system. 

***INFINITE******** End of Disclaimer********INFINITE******** 


More information about the dev mailing list