<div dir="ltr"><div>Hi, it seems the above error is due to the fact I don't have NUMA enabled even though half of my cores use socket 0 and half of my cores use socket 1. For some reason all the hugepage allocations are on socket 0 (it makes sense as I don't have NUMA enabled). Also I am unable to use:<br>

   <br>   sudo ./testpmd -c ff -n 4 -r 2 --socket-mem=1024,1024 command to allocate memory to socket 1 as it is not part of dpdk usage which is weird (do I have to have NUMA enabled to use this feature?)<br><br></div>I have two Intel quad-core Xeon 5506. I am not sure how to enable NUMA on them or if these Intel chips even support them. Does anyone know?<br>

<br>Peter<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 4:23 PM, Peter Chen <span dir="ltr"><<a href="mailto:peter.feifan.chen@gmail.com" target="_blank">peter.feifan.chen@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just a bit more of information, I am using ubuntu 12.04 server. <br></div><div class="HOEnZb"><div class="h5">

<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 3:56 PM, Peter Chen <span dir="ltr"><<a href="mailto:peter.feifan.chen@gmail.com" target="_blank">peter.feifan.chen@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi All,<br><br></div>    I am trying to install dpdk. Since it says to run test and testpmd to see if everything works, I ran those apps. <br>


<br></div>    So far test works fine for me. However when I run testpmd, I get the following:<br>
<br></div>    <b>probe driver: 8086:10c8 rte_ixgbe_pmd<br></b></div><b>    unbind kernel driver /sys/bus/pci/devices/0000:04:00.0/driver/unbind<br></b></div><b>    bind PCI device 0000:04:00.0 to igb_uio driver<br></b></div>



<b>    Device bound<br></b></div><b>    map PCI resource for device 0000:04:00.0<br></b></div><b>    PCI memory mapped at 0x7f0e680e6000<br></b><div><div><div><div><div><b>    rte_memzone_reserve_aligned(): No appropriate segment found<br>



</b></div><div><b>    pci_uio_map_resource(): cannot store uio mmap details<br></b></div><div><b>    Error - exiting with code: 1<br></b></div><div><b>    No probed ethernet devices - check that CONFIG_RTE_LIBRTE_IGB_PMD =y and that CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your configuration file </b><br>



<br></div><div>     Below is what I see in dmesg:<br><br></div><div>     <b>igb_uio 0000:04:00.0: irq 79 for MSI/MSI-X<br></b></div><div><b>     uio device registered with irq 4f <br><br></b></div><div><b>     </b>My setup is a dell R510 with two quad-core Xeons (E5506), 32 GB memory. It has 5 NICs of which two are up (eth0: BCM5716 and eth4 Intel 82598EB 10 Gigabit). Both NICs are on the same subnet before I had dpdk attach to eth4 by running the following command:<br>



<br></div><div>     <b>sudo ./testpmd -c ff -n 4 -r 2 -m 2048 -b 0000:01:00.0</b> <br></div><div>     <br></div><div>     0000:04:00.0 is the Intel and 0000:01:00.0 is the Broadcom. <br><br>     Originally I was getting the "No probed ethernet devices" because I had a non-supported NIC, however 82598 is a supported NIC and it seems that dpdk did bind to the Intel NIC. However, rte_eth_dev_count() somehow still returns 0. Any help would be great! Thanks!<span><font color="#888888"><br>



 <br></font></span></div><span><font color="#888888"><div>Peter<br></div></font></span></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>