Hi,

As I see ?RING: Cannot reserve memory?. Please allocate enough huge page memory 
and see what happens.

Also once you encounter such error please restart  both primary and secondary 
process.

Please paste me the full  error log, if you still face the issue.

Thanks,
Reshma


From: Nishant Verma [mailto:[email protected]]
Sent: Thursday, July 21, 2016 9:10 PM
To: Pattan, Reshma <reshma.pattan at intel.com>
Cc: users at dpdk.org
Subject: Re: pdump help

Hi Reshma,

Tried things pointed by you(libpcap Installed & config parameter is set).
But still things are not working.

"
root at ubuntu:/home/oneweb/dpdk/app/pdump# ./dpdk_pdump --proc-type=secondary 
-- --pdump 
'device_id=03:00.0,queue=*,rx-dev=/tmp/rx-file.pcap,tx-dev=/tmp/tx-file.pcap'
EAL: Detected 16 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the 
kernel.
EAL:    This may cause issues with mapping memory into secondary processes
PMD: bnxt_rte_pmd_init() called for (null)
EAL: PCI device 0000:03:00.0 on NUMA socket 0
EAL:   probe driver: 8086:15ad rte_ixgbe_pmd
EAL: PCI device 0000:03:00.1 on NUMA socket 0
EAL:   probe driver: 8086:15ad rte_ixgbe_pmd
PMD: eth_ixgbe_dev_init(): No TX queues configured yet. Using default TX 
function.
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL: PCI device 0000:05:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 rte_igb_pmd
RING: Cannot reserve memory
EAL: Error - exiting with code: 1
  Cause: File exists:create_mp_ring_vdev:649
"


Rgds,
Nishant


On Thu, Jul 21, 2016 at 5:16 AM, Pattan, Reshma <reshma.pattan at 
intel.com<mailto:reshma.pattan at intel.com>> wrote:
Hi,

Pdump tool is designed based on PCAP PMD. So you need to install libpcap 
package and set CONFIG_RTE_LIBRTE_PMD_PCAP flag to ?y?
in config/common_base file and recompile the DPDK and run pdump tool. Please 
let me know if that fix the issue.

This dependency is mentioned in the  document 
?doc/guides/sample_app_ug/pdump.rst.?

Thanks,
Reshma

From: Nishant Verma [mailto:vnish11 at gmail.com<mailto:[email protected]>]
Sent: Wednesday, July 20, 2016 8:08 PM
To: Pattan, Reshma <reshma.pattan at intel.com<mailto:reshma.pattan at 
intel.com>>
Subject: pdump help

Hi Reshma,

i am facing some issue in executing pdump. I have seen in logs that you 
recently updated the code. Please let me know if i am doing anything wrong.


app/pdump# ./dpdk_pdump -- --pdump 
'device_id=03:00.0,queue=*,rx-dev=/tmp/rx-1-file.pcap,tx-dev=tx-1-file.pcap'

This is the error i am getting.
Cause: File exists:create_mp_ring_vdev:649

?Thanks a lot.?

--
Rgds,
Nishant






--
Rgds,
Nishant



Reply via email to