Can you try to specify the socket memory parameter
--socket-mem 1024,0
?

So the command
sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile --detach

becomes
sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 --socket-mem 1024,0
-- unix:$DB_SOCK --pidfile –detach


From: Charlie Li [mailto:charlie...@gmail.com]
Sent: Tuesday, June 28, 2016 4:41 PM
To: Fischetti, Antonio <antonio.fische...@intel.com>
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid 
argument (0xffffffffffffffff)

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<mailto: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<mailto:discuss-boun...@openvswitch.org>]
 On Behalf Of Charlie Li
Sent: Friday, June 24, 2016 4:36 PM
To: discuss@openvswitch.org<mailto: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<http://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

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to