DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] dpdk-users] : unable to run the applications due to PMD failure
@ 2017-02-02  5:27 amartya.das
  2017-02-02  8:25 ` gowrishankar muthukrishnan
  0 siblings, 1 reply; 2+ messages in thread
From: amartya.das @ 2017-02-02  5:27 UTC (permalink / raw)
  To: users

Hi,

I am using the OVS-DPDK at the host machine and creating a couple of virtual ports to connect to my VM. (OVS 2.6.1 and DPDK 16.07)

In the VM I am binding one of the ports to DPDK (16.04)
./tools/dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:00:03.0 'Virtio network device' drv=igb_uio unused=virtio_pci

Network devices using kernel driver
===================================
0000:00:02.0 'Virtio network device' if= drv=virtio-pci unused=virtio_pci,igb_uio

Other network devices
=====================
<none>

Now I am running the sample applications and getting the error for PMD driver and getting a core-dump.


[root@localhost l2fwd]# ./build/l2fwd -c f -n 4 -- -q 8 -p ffff
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 0 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 0 on socket 0
EAL: Detected lcore 4 as core 0 on socket 0
EAL: Detected lcore 5 as core 0 on socket 0
EAL: Detected lcore 6 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 7 lcore(s)
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 0x200000 bytes
EAL: Virtual area found at 0x7f2117c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x32e00000 bytes
EAL: Virtual area found at 0x7f20e4c00000 (size = 0x32e00000)
EAL: Ask a virtual area of 0x46000000 bytes
EAL: Virtual area found at 0x7f209ea00000 (size = 0x46000000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f209e600000 (size = 0x200000)
EAL: Ask a virtual area of 0x3e200000 bytes
EAL: Virtual area found at 0x7f2060200000 (size = 0x3e200000)
EAL: Ask a virtual area of 0x93c00000 bytes
EAL: Virtual area found at 0x7f1fcc400000 (size = 0x93c00000)
EAL: Ask a virtual area of 0x5a200000 bytes
EAL: Virtual area found at 0x7f1f72000000 (size = 0x5a200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f71c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f71800000 (size = 0x200000)
EAL: Ask a virtual area of 0x400000 bytes
EAL: Virtual area found at 0x7f1f71200000 (size = 0x400000)
EAL: Ask a virtual area of 0x3f800000 bytes
EAL: Virtual area found at 0x7f1f31800000 (size = 0x3f800000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f31400000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f31000000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f30c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x1600000 bytes
EAL: Virtual area found at 0x7f1f2f400000 (size = 0x1600000)
EAL: Ask a virtual area of 0xc00000 bytes
EAL: Virtual area found at 0x7f1f2e600000 (size = 0xc00000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f2e200000 (size = 0x200000)
EAL: Ask a virtual area of 0x600000 bytes
EAL: Virtual area found at 0x7f1f2da00000 (size = 0x600000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f2d600000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f2d200000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f1f2ce00000 (size = 0x200000)
EAL: Requesting 3908 pages of size 2MB from socket 0
EAL: TSC frequency is ~1995191 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=1a9b38c0;cpuset=[0])
EAL: lcore 2 is ready (tid=18ab2700;cpuset=[2])
EAL: lcore 1 is ready (tid=192b3700;cpuset=[1])
EAL: lcore 3 is ready (tid=2be8d700;cpuset=[3])
EAL: PCI device 0000:00:02.0 on NUMA socket -1
EAL:   probe driver: 1af4:1000 rte_virtio_pmd
EAL:   Not managed by a supported kernel driver, skipped
Segmentation fault (core dumped)

Can you please suggest a solution for this?

Thanks,
Amartya

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] dpdk-users] : unable to run the applications due to PMD failure
  2017-02-02  5:27 [dpdk-users] dpdk-users] : unable to run the applications due to PMD failure amartya.das
@ 2017-02-02  8:25 ` gowrishankar muthukrishnan
  0 siblings, 0 replies; 2+ messages in thread
From: gowrishankar muthukrishnan @ 2017-02-02  8:25 UTC (permalink / raw)
  To: amartya.das; +Cc: users

On Thursday 02 February 2017 10:57 AM, amartya.das@wipro.com wrote:
> EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or directory)

Is vfio_pci module loaded ? If not, try modprobe vfio_pci.

Thanks,
Gowrishankar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-02  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-02  5:27 [dpdk-users] dpdk-users] : unable to run the applications due to PMD failure amartya.das
2017-02-02  8:25 ` gowrishankar muthukrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).