Hi Antonio,

Please see the dumps in the attached file.

Thanks,
Charlie

On Tue, Jun 28, 2016 at 2:39 AM, Fischetti, Antonio <
antonio.fische...@intel.com> wrote:

> Hi Charlie,
>
> while this issue is happening with Fed23 can you check what are the 2
> outputs of
>
>
>
> 1.       sudo $DPDK_DIR/tools/dpdk_nic_bind.py --status
>
>
>
> and also
>
>
>
> 2.       lspci | grep 02:00
>
>
>
> ?
>
>
>
> Antonio
>
>
>
> *From:* discuss [mailto:discuss-boun...@openvswitch.org] *On Behalf Of 
> *Charlie
> Li
> *Sent:* Friday, June 24, 2016 4:36 PM
> *To:* discuss@openvswitch.org
> *Subject:* [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid
> argument (0xffffffffffffffff)
>
>
>
> Hello,
>
>
>
> I am trying to set up openvswitch-2.5.0 with DPDK-2.2.0 by following "
> INSTALL.DPDK.md".
>
>
>
> First tried with Ubuntu server 16.04 and it worked as expected.
>
>
>
> But when tried with Fedora server 23, it hit the following error
>
>
>
> EAL: pci_map_resource(): cannot mmap(10, 0x7f1800000000, 0x80000, 0x0):
> Invalid argument (0xffffffffffffffff)
>
>
>
> when invoking
>
>
>
> sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile --detach
>
>
>
> I tested it on the same hardware platform and followed the same
> instructions. Why it only failed with Fedora?
>
>
>
> I am also attaching the detailed logs from both Ubuntu (working case) and
> Fedora (failing case).
>
>
>
> Any help is appreciated.
>
>
>
> Thanks,
>
> Charlie
>
[cli@cli-desktop utilities]$ cd $OVS_DIR/vswitchd
[cli@cli-desktop vswitchd]$ sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 -- 
unix:$DB_SOCK --pidfile --detach
2016-06-28T15:31:45Z|00001|dpdk|INFO|No -vhost_sock_dir provided - defaulting 
to /usr/local/var/run/openvswitch
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x40000000 bytes
EAL: Virtual area found at 0x7f7900000000 (size = 0x40000000)
EAL: Requesting 1 pages of size 1024MB from socket 0
EAL: TSC frequency is ~2096067 KHz
EAL: Master lcore 0 is ready (tid=ee425ac0;cpuset=[0])
EAL: PCI device 0000:02:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
EAL: pci_map_resource(): cannot mmap(10, 0x7f7940000000, 0x80000, 0x0): Invalid 
argument (0xffffffffffffffff)
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:02:00.0 cannot be used
[cli@cli-desktop vswitchd]$
[cli@cli-desktop vswitchd]$ sudo $DPDK_DIR/tools/dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:02:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio 
unused=ixgbe
0000:02:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio 
unused=ixgbe

Network devices using kernel driver
===================================
0000:01:00.0 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller' 
if=enp1s0f0 drv=r8169 unused=igb_uio *Active*

Other network devices
=====================
<none>
[cli@cli-desktop vswitchd]$   lspci | grep 02:00
02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
[cli@cli-desktop vswitchd]$
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to