From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from icsblrwsm01.infinite.com (MX.INFINITE.COM [115.114.49.24]) by dpdk.org (Postfix) with ESMTP id C9EDA6CB4 for ; Mon, 29 Feb 2016 15:20:17 +0100 (CET) Received: from ICSBLRHC01.infics.com (unknown [192.168.0.233]) by Websense Email Security Gateway with ESMTPS id 58B1F9BFD42F2 for ; Mon, 29 Feb 2016 19:50:13 +0530 (IST) Received: from ICSBLRMB02.infics.com ([fe80::695e:4603:c1b1:6d6b]) by ICSBLRHC01.infics.com ([::1]) with mapi id 14.03.0195.001; Mon, 29 Feb 2016 19:51:56 +0530 From: Mariappan Rajendran To: "dev@dpdk.org" Thread-Topic: Issue with configuring iproute using netdpcmd and running opendp Thread-Index: AQHRcvsgSrr/kE8qn0CHdlMNpZXCtp9DEwFy Date: Mon, 29 Feb 2016 14:21:55 +0000 Message-ID: <9FD1D15E8DE6B643B19117B8EE44285578498526@ICSBLRMB02.infics.com> References: <9FD1D15E8DE6B643B19117B8EE4428557849850A@ICSBLRMB02.infics.com> In-Reply-To: <9FD1D15E8DE6B643B19117B8EE4428557849850A@ICSBLRMB02.infics.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.27.0.11] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Issue with configuring iproute using netdpcmd and running opendp X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 14:20:18 -0000 Hi, I=20am=20trying=20to=20configure=20the=20iproute=20using=20netdpcmd(from=20= dpdk-odp=20repository),=20but=20it=20is=20failing.=20Kindly=20help=20to=20= resolve=20this=20issue. root@ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/netdp_cmd#=20./build/netdpc= md EAL:=20Detected=20lcore=200=20as=20core=200=20on=20socket=200 EAL:=20Detected=20lcore=201=20as=20core=201=20on=20socket=200 EAL:=20Detected=20lcore=202=20as=20core=200=20on=20socket=200 EAL:=20Detected=20lcore=203=20as=20core=201=20on=20socket=200 EAL:=20Support=20maximum=20128=20logical=20core(s)=20by=20configuration. = EAL:=20Detected=204=20lcore(s) EAL:=20Setting=20up=20physically=20contiguous=20memory... EAL:=20Analysing=2064=20files EAL:=20Mapped=20segment=200=20of=20size=200x200000 EAL:=20Mapped=20segment=201=20of=20size=200x400000 EAL:=20Mapped=20segment=202=20of=20size=200x600000 EAL:=20Mapped=20segment=203=20of=20size=200x200000 EAL:=20Mapped=20segment=204=20of=20size=200x200000 EAL:=20Mapped=20segment=205=20of=20size=200x200000 EAL:=20Mapped=20segment=206=20of=20size=200x200000 EAL:=20Mapped=20segment=207=20of=20size=200x200000 EAL:=20Mapped=20segment=208=20of=20size=200x200000 EAL:=20Mapped=20segment=209=20of=20size=200x200000 EAL:=20Mapped=20segment=2010=20of=20size=200x400000 EAL:=20Mapped=20segment=2011=20of=20size=200x400000 EAL:=20Mapped=20segment=2012=20of=20size=200x400000 EAL:=20Mapped=20segment=2013=20of=20size=200x200000 EAL:=20Mapped=20segment=2014=20of=20size=200x2200000 EAL:=20Mapped=20segment=2015=20of=20size=200x1000000 EAL:=20Mapped=20segment=2016=20of=20size=200x200000 EAL:=20Mapped=20segment=2017=20of=20size=200x400000 EAL:=20Mapped=20segment=2018=20of=20size=200x2000000 EAL:=20memzone_reserve_aligned_thread_unsafe():=20memzone=20=20already=20exists RING:=20Cannot=20reserve=20memory EAL:=20TSC=20frequency=20is=20~1895612=20KHz EAL:=20Master=20lcore=200=20is=20ready=20(tid=3Df7fdc940;cpuset=3D[0]) Lookup=20ring(NETDP_CTRL_PRI_2_SEC)=20failed PANIC=20in=20main(): Cannot=20init=20ring 5:=20[./build/netdpcmd()=20[0x42c223]] 4:=20[/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)=20[0x7ffff7= 105ec5]] 3:=20[./build/netdpcmd()=20[0x42ab3c]] 2:=20[./build/netdpcmd(__rte_panic+0xc9)=20[0x424f31]] 1:=20[./build/netdpcmd(rte_dump_stack+0x28)=20[0x495128]] Aborted Also,=20i=20am=20getting=20the=20below=20error=20while=20running=20opendp= . root@ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/opendp#=20./build/opendp=20= -c=200x1=20-n=201=20=20--=20-p=200x1=20--config=3D"(0,0,0)" EAL:=20Detected=20lcore=200=20as=20core=200=20on=20socket=200 EAL:=20Detected=20lcore=201=20as=20core=201=20on=20socket=200 EAL:=20Detected=20lcore=202=20as=20core=200=20on=20socket=200 EAL:=20Detected=20lcore=203=20as=20core=201=20on=20socket=200 EAL:=20Support=20maximum=20128=20logical=20core(s)=20by=20configuration. = EAL:=20Detected=204=20lcore(s) EAL:=20VFIO=20modules=20not=20all=20loaded,=20skip=20VFIO=20support... EAL:=20Setting=20up=20physically=20contiguous=20memory... EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff6e00000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x400000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff6800000=20(size=20=3D=200x400= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x600000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff6000000=20(size=20=3D=200x600= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff5c00000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff5800000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff5400000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff5000000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff4c00000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff4800000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff4400000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x400000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff3e00000=20(size=20=3D=200x400= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x400000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff3800000=20(size=20=3D=200x400= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x400000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff3200000=20(size=20=3D=200x400= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff2e00000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x2200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7ffff0a00000=20(size=20=3D=200x220= 0000) EAL:=20Ask=20a=20virtual=20area=20of=200x1000000=20bytes EAL:=20Virtual=20area=20found=20at=200x7fffef800000=20(size=20=3D=200x100= 0000) EAL:=20Ask=20a=20virtual=20area=20of=200x200000=20bytes EAL:=20Virtual=20area=20found=20at=200x7fffef400000=20(size=20=3D=200x200= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x400000=20bytes EAL:=20Virtual=20area=20found=20at=200x7fffeee00000=20(size=20=3D=200x400= 000) EAL:=20Ask=20a=20virtual=20area=20of=200x2000000=20bytes EAL:=20Virtual=20area=20found=20at=200x7fffecc00000=20(size=20=3D=200x200= 0000) EAL:=20Requesting=2064=20pages=20of=20size=202MB=20from=20socket=200 EAL:=20TSC=20frequency=20is=20~1895612=20KHz EAL:=20Master=20lcore=200=20is=20ready=20(tid=3Df7fdc980;cpuset=3D[0]) param=20nb=201=20ports=200 port=20id=200 =20port=200=20is=20not=20present=20on=20the=20board EAL:=20Error=20-=20exiting=20with=20code:=201 =20=20Cause:=20check_port_config=20failed Below=20is=20my=20ifconfig,=20do=20i=20need=20to=20configure=20anything=20= before=20running=20opendp=20? root@ICSCHELAP1003:/home/hadmin/Mari/dpdk-odp/opendp#=20ifconfig eth13=20=20=20=20=20Link=20encap:Ethernet=20=20HWaddr=2034:e6:d7:2b:89:60= =20=20=20=20=20=20=20=20=20=20inet=20addr:172.27.10.27=20=20Bcast:172.27.= 10.255=20=20Mask:255.255.255.0 =20=20=20=20=20=20=20=20=20=20inet6=20addr:=20fe80::36e6:d7ff:fe2b:8960/6= 4=20Scope:Link =20=20=20=20=20=20=20=20=20=20UP=20BROADCAST=20RUNNING=20PROMISC=20MULTIC= AST=20=20MTU:1500=20=20Metric:1 =20=20=20=20=20=20=20=20=20=20RX=20packets:1220416=20errors:0=20dropped:1= 1=20overruns:0=20frame:0 =20=20=20=20=20=20=20=20=20=20TX=20packets:846271=20errors:0=20dropped:0=20= overruns:0=20carrier:0 =20=20=20=20=20=20=20=20=20=20collisions:0=20txqueuelen:1000 =20=20=20=20=20=20=20=20=20=20RX=20bytes:1222356177=20(1.2=20GB)=20=20TX=20= bytes:437558306=20(437.5=20MB) =20=20=20=20=20=20=20=20=20=20Interrupt:20=20Memory:f7c00000-f7c20000 lo=20=20=20=20=20=20=20=20Link=20encap:Local=20Loopback =20=20=20=20=20=20=20=20=20=20inet=20addr:127.0.0.1=20=20Mask:255.0.0.0 =20=20=20=20=20=20=20=20=20=20inet6=20addr:=20::1/128=20Scope:Host =20=20=20=20=20=20=20=20=20=20UP=20LOOPBACK=20RUNNING=20=20MTU:65536=20=20= Metric:1 =20=20=20=20=20=20=20=20=20=20RX=20packets:5111141=20errors:0=20dropped:0= =20overruns:0=20frame:0 =20=20=20=20=20=20=20=20=20=20TX=20packets:5111141=20errors:0=20dropped:0= =20overruns:0=20carrier:0 =20=20=20=20=20=20=20=20=20=20collisions:0=20txqueuelen:0 =20=20=20=20=20=20=20=20=20=20RX=20bytes:1365308353=20(1.3=20GB)=20=20TX=20= bytes:1365308353=20(1.3=20GB) Thanks, Mari. This=20e-mail=20contains=20PRIVILEGED=20AND=20CONFIDENTIAL=20INFORMATION=20= intended=20solely=20for=20the=20use=20of=20the=20addressee(s). If=20you=20are=20not=20the=20intended=20recipient,=20please=20notify=20so= =20to=20the=20sender=20by=20e-mail=20and=20delete=20the=20original=20mess= age. In=20such=20cases,=20please=20notify=20us=20immediately=20at=20info@infin= ite.com=20.=20Further,=20you=20are=20not=20to=20copy,=20 disclose,=20or=20distribute=20this=20e-mail=20or=20its=20contents=20to=20= any=20unauthorized=20person(s)=20.Any=20such=20actions=20are=20 considered=20unlawful.=20This=20e-mail=20may=20contain=20viruses.=20Infin= ite=20has=20taken=20every=20reasonable=20precaution=20to=20minimize this=20risk,=20but=20is=20not=20liable=20for=20any=20damage=20you=20may=20= sustain=20as=20a=20result=20of=20any=20virus=20in=20this=20e-mail.=20You=20= should=20 carry=20out=20your=20own=20virus=20checks=20before=20opening=20the=20e-ma= il=20or=20attachments.=20Infinite=20reserves=20the=20right=20to=20monitor= and=20review=20the=20content=20of=20all=20messages=20sent=20to=20or=20fro= m=20this=20e-mail=20address.=20Messages=20sent=20to=20or=20from=20this=20= e-mail address=20may=20be=20stored=20on=20the=20Infinite=20e-mail=20system.=20 ***INFINITE********=20End=20of=20Disclaimer********INFINITE********=20