<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hi,</div>
<div><br>
</div>
<div>Sorry, Didn't complete my previous mail.</div>
<div><br>
</div>
<div>The errors I was getting are<br>
</div>
<div>1)<br>
</div>
<div>root@basepdump-67b4b44448-lt8wf:/# pdump <br>
EAL: Detected 2 lcore(s)<br>
EAL: Detected 1 NUMA nodes<br>
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_12_19ffcc06b54<br>
EAL: Probing VFIO support...<br>
EAL: Cannot initialize tailq: RTE_EVENT_RING<br>
Tailq 0: qname:&lt;UIO_RESOURCE_LIST&gt;, tqh_first:(nil), tqh_last:0x7fda1b17d47c<br>
Tailq 1: qname:&lt;VFIO_RESOURCE_LIST&gt;, tqh_first:(nil), tqh_last:0x7fda1b17d4ac<br>
Tailq 2: qname:&lt;RTE_RING&gt;, tqh_first:0x108064900, tqh_last:0x108064900<br>
Tailq 3: qname:&lt;RTE_HASH&gt;, tqh_first:(nil), tqh_last:0x7fda1b17d50c<br>
.............................<br>
EAL: FATAL: Cannot init tail queues for objects<br>
EAL: Cannot init tail queues for objects<br>
PANIC in main():<br>
Cannot init EAL<br>
5: [pdump(&#43;0x2e2a) [0x557832863e2a]]<br>
4: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main&#43;0xeb) [0x7fe128dd809b]]<br>
3: [pdump(&#43;0x233a) [0x55783286333a]]<br>
2: [/usr/lib/x86_64-linux-gnu/librte_eal.so.18.11(__rte_panic&#43;0xbd) [0x7fe1292b0ca5]]<br>
1: [/usr/lib/x86_64-linux-gnu/librte_eal.so.18.11(rte_dump_stack&#43;0x2e) [0x7fe1292c65be]]<br>
Aborted (core dumped)<br>
<br>
</div>
<p></p>
<p><br>
</p>
<div>
<div>2)<br>
</div>
root@basepdump-67b4b44448-lt8wf:/# pdump <br>
EAL: Detected 2 lcore(s)<br>
EAL: Detected 1 NUMA nodes</div>
<div>PANIC in rte_eal_config_reattach():</div>
<div>Cannot mmap memory for rte_config at [(nil)], got [0x7ffff...] - please use '--base-virtaddr' option</div>
<div>6: [./dpdk-pdump(start&#43;0x2a) [0x5555559c7aa]]<br>
</div>
<div>5:<span> [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main&#43;0xeb) [0x7fe128dd809b]]</span></div>
<div><span>4: [./dpdk-pdump(main&#43;0xe2) [0x555555597dd2]]</span></div>
<div><span>3: [./dpdk-pdump(rte_eal_init&#43;0xc06) [0x555555678416]]</span></div>
<div><span>..........</span></div>
<div><span>Aborted (core dumped)</span></div>
<div><br>
</div>
<div><br>
</div>
<div>Attached the same errors also.</div>
<div><br>
</div>
<div>I need in help in figuring out where I'm going wrong.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks,<br>
Rajesh kumar S R<br>
</div>
<div><br>
</div>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ovs-discuss-bounces@openvswitch.org &lt;ovs-discuss-bounces@openvswitch.org&gt; on behalf of Rajesh Kumar &lt;rajesh.kumar@certesnetworks.com&gt;<br>
<b>Sent:</b> Monday, September 16, 2019 1:00:56 PM<br>
<b>To:</b> ovs-discuss@openvswitch.org<br>
<b>Subject:</b> [ovs-discuss] OVS - PDUMP: Pdump initialization failure in different container</font>
<div>&nbsp;</div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>In our kubernetes setup, we are running OVS in a pod with dpdk enabled.</p>
<p>Using 18.11.2.<br>
</p>
<p>I wanted to use dpdk-pdump as packet capture tool and trying to run pdump in separate pod.</p>
<p>As pdump is a secondary process, it will map to the hugepages allocated by primary process (OVS-vswitchd).</p>
<p><span>I'm getting these 2 errors while starting PDUMP as secondary process in a separate pod.</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span><span>Without the container setup, I was able to bringup pdump with OVS</span><br>
</span></p>
<p><span><br>
</span></p>
<p><span><br>
</span></p>
<p><span></span><br>
</p>
</div>
</div>
</body>
</html>