Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpdk_daq_initialize: No ports found! #3

Open
faith2239 opened this issue Jun 20, 2019 · 0 comments
Open

dpdk_daq_initialize: No ports found! #3

faith2239 opened this issue Jun 20, 2019 · 0 comments

Comments

@faith2239
Copy link

faith2239 commented Jun 20, 2019

Hello, I have a problem. When I execute this command snort --daq-dir /usr/local/lib/daq --daq dpdk --daq-var dpdk_args="-c 3" -i dpdk0:dpdk1 --daq-mode inline -c /etc/snort/snort.conf -Q -f 'not ip', I will output the following prompts.
/usr/local/lib/daq/daq_dpdk.so: dlopen: /usr/local/lib/daq/daq_dpdk.so: undefined symbol: per_lcore__rte_errno dpdk DAQ configured to inline. EAL: Detected lcore 0 as core 0 on socket EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 0 on socket 0 EAL: Detected lcore 3 as core 1 on socket 0 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory) EAL: VFIO modules not loaded, skipping VFIO support... EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x31400000 bytes EAL: Virtual area found at 0x7f4bf6800000 (size = 0x31400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f4bf6400000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f4bf6000000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f4bf5a00000 (size = 0x400000) EAL: Ask a virtual area of 0xe400000 bytes EAL: Virtual area found at 0x7f4be7400000 (size = 0xe400000) EAL: Requesting 512 pages of size 2MB from socket 0 EAL: TSC frequency is ~3101000 KHz EAL: Master lcore 0 is ready (tid=31dae940;cpuset=[0]) EAL: lcore 1 is ready (tid=2abd0700;cpuset=[1]) ERROR: Can't initialize DAQ dpdk (-3) - dpdk_daq_initialize: No ports found! Fatal Error, Quitting..
environment:Ubuntu-14.04, DPDK-16.04, DAQ-2.1.0, snort-2.9.13
I tried to specify the .so file for all drivers in the Makefile, but it failed. When testing the testpmd and l2fwd demo, rte_eth_dev_count() returns > 0, and these problems do not occur.
I would appreciate if you could give me some advice. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant