[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

2014-12-16 Thread Rick LaMont
My DPDK application works fine when it's the primary process but crashes whenever --proc-type=secondary. The segmentation fault occurs in this call to mmap() within rte_eal_hugepage_attach(): /* * fdzero is mmapped to get a contiguous block of virtual * addresses of the a

[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

2014-12-17 Thread Bruce Richardson
On Tue, Dec 16, 2014 at 11:12:36PM -0500, Rick LaMont wrote: > My DPDK application works fine when it's the primary process but crashes > whenever --proc-type=secondary. The segmentation fault occurs in this call > to mmap() within rte_eal_hugepage_attach(): > > /* > * fdzero is m

[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

2014-12-17 Thread Rick LaMont
> The most likely cause of failure in mapping the memory is that the range > requested is already used by another memory mapping in the processes address > space. Two possible paths to look at this: > 1) examine the /proc//maps file for the secondary process Brilliant advice, Bruce! This was indee