DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] i40evf DPDK init_adminq failed: -53
@ 2016-01-29 20:34 Saurabh Mishra
  2016-02-01  8:16 ` Qiu, Michael
  0 siblings, 1 reply; 7+ messages in thread
From: Saurabh Mishra @ 2016-01-29 20:34 UTC (permalink / raw)
  To: dev, users

Has anybody seen this before? What's the workaround or fix? We are using
dpdk-2.2.0 on KVM centos:

Host PF version: 1.0.11-k on Centos7


[root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary -- -p
3 --num-procs=2 --proc-id=0

[.]

EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)

EAL: Requesting 1024 pages of size 2MB from socket 0

EAL: TSC frequency is ~2600141 KHz

EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
clock cycles !

EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])

EAL: PCI device 0000:00:04.0 on NUMA socket 0

EAL:   probe driver: 8086:154c rte_i40evf_pmd

EAL:   PCI memory mapped at 0x7ffff6200000

EAL:   PCI memory mapped at 0x7ffff6210000

EAL: PCI device 0000:00:05.0 on NUMA socket 0

EAL:   probe driver: 8086:154c rte_i40evf_pmd

EAL:   PCI memory mapped at 0x7ffff6214000

EAL:   PCI memory mapped at 0x7ffff6224000

PMD: i40evf_init_vf(): init_adminq failed: -53

PMD: i40evf_dev_init(): Init vf failed

EAL: Error - exiting with code: 1

  Cause: Requested device 0000:00:05.0 cannot be used

[root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status


Network devices using DPDK-compatible driver

============================================

0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic

0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic


Network devices using kernel driver

===================================

0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
unused=igb_uio,uio_pci_generic *Active*


Other network devices

=====================

<none>

[root@ ~]#



04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller X710
for 10GbE SFP+ (rev 01)

04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller X710
for 10GbE SFP+ (rev 01)

04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
Function (rev 01)

04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
Function (rev 01)

04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
Function (rev 01)

04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
Function (rev 01)



[root@oscompute3 ~]# dmesg | tail

[2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
pending

[root@oscompute3 ~]#


/Saurabh

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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-01-29 20:34 [dpdk-dev] i40evf DPDK init_adminq failed: -53 Saurabh Mishra
@ 2016-02-01  8:16 ` Qiu, Michael
  2016-02-01 18:25   ` Saurabh Mishra
  0 siblings, 1 reply; 7+ messages in thread
From: Qiu, Michael @ 2016-02-01  8:16 UTC (permalink / raw)
  To: Saurabh Mishra, dev, users, Zhang, Helin, Xu, Qian Q

Hi, Saurabh

It's known issue, to fix this you'd better to upgrade the firmware
version of i40e.

BTW, will it work in guest with kernel driver?

If yes, to workaround(somebody reports it does not work for them):
Remove i40e.ko in guest, so that it will not auto-loaded when boot up.

Hope it works for you.

Thanks,
Michael


On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
> Has anybody seen this before? What's the workaround or fix? We are using
> dpdk-2.2.0 on KVM centos:
>
> Host PF version: 1.0.11-k on Centos7
>
>
> [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary -- -p
> 3 --num-procs=2 --proc-id=0
>
> [.]
>
> EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
>
> EAL: Requesting 1024 pages of size 2MB from socket 0
>
> EAL: TSC frequency is ~2600141 KHz
>
> EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
> clock cycles !
>
> EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
>
> EAL: PCI device 0000:00:04.0 on NUMA socket 0
>
> EAL:   probe driver: 8086:154c rte_i40evf_pmd
>
> EAL:   PCI memory mapped at 0x7ffff6200000
>
> EAL:   PCI memory mapped at 0x7ffff6210000
>
> EAL: PCI device 0000:00:05.0 on NUMA socket 0
>
> EAL:   probe driver: 8086:154c rte_i40evf_pmd
>
> EAL:   PCI memory mapped at 0x7ffff6214000
>
> EAL:   PCI memory mapped at 0x7ffff6224000
>
> PMD: i40evf_init_vf(): init_adminq failed: -53
>
> PMD: i40evf_dev_init(): Init vf failed
>
> EAL: Error - exiting with code: 1
>
>   Cause: Requested device 0000:00:05.0 cannot be used
>
> [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
>
>
> Network devices using DPDK-compatible driver
>
> ============================================
>
> 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>
> 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>
>
> Network devices using kernel driver
>
> ===================================
>
> 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
> unused=igb_uio,uio_pci_generic *Active*
>
>
> Other network devices
>
> =====================
>
> <none>
>
> [root@ ~]#
>
>
>
> 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller X710
> for 10GbE SFP+ (rev 01)
>
> 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller X710
> for 10GbE SFP+ (rev 01)
>
> 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
>
>
> [root@oscompute3 ~]# dmesg | tail
>
> [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [root@oscompute3 ~]#
>
>
> /Saurabh
>


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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-02-01  8:16 ` Qiu, Michael
@ 2016-02-01 18:25   ` Saurabh Mishra
  2016-02-01 19:49     ` Saurabh Mishra
  2016-02-02  2:36     ` Zhang, Helin
  0 siblings, 2 replies; 7+ messages in thread
From: Saurabh Mishra @ 2016-02-01 18:25 UTC (permalink / raw)
  To: Qiu, Michael; +Cc: dev, users

Hi Michael --

What are the steps to upgrade i40e firmware. We are using CentOS7

It didn't work with guest VF driver either on ESXi and KVM.

Sure. I will blacklist i40evf driver and try it out.

Thanks,
/Saurabh


On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael <michael.qiu@intel.com> wrote:

> Hi, Saurabh
>
> It's known issue, to fix this you'd better to upgrade the firmware
> version of i40e.
>
> BTW, will it work in guest with kernel driver?
>
> If yes, to workaround(somebody reports it does not work for them):
> Remove i40e.ko in guest, so that it will not auto-loaded when boot up.
>
> Hope it works for you.
>
> Thanks,
> Michael
>
>
> On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
> > Has anybody seen this before? What's the workaround or fix? We are using
> > dpdk-2.2.0 on KVM centos:
> >
> > Host PF version: 1.0.11-k on Centos7
> >
> >
> > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary
> -- -p
> > 3 --num-procs=2 --proc-id=0
> >
> > [.]
> >
> > EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
> >
> > EAL: Requesting 1024 pages of size 2MB from socket 0
> >
> > EAL: TSC frequency is ~2600141 KHz
> >
> > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using
> unreliable
> > clock cycles !
> >
> > EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
> >
> > EAL: PCI device 0000:00:04.0 on NUMA socket 0
> >
> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
> >
> > EAL:   PCI memory mapped at 0x7ffff6200000
> >
> > EAL:   PCI memory mapped at 0x7ffff6210000
> >
> > EAL: PCI device 0000:00:05.0 on NUMA socket 0
> >
> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
> >
> > EAL:   PCI memory mapped at 0x7ffff6214000
> >
> > EAL:   PCI memory mapped at 0x7ffff6224000
> >
> > PMD: i40evf_init_vf(): init_adminq failed: -53
> >
> > PMD: i40evf_dev_init(): Init vf failed
> >
> > EAL: Error - exiting with code: 1
> >
> >   Cause: Requested device 0000:00:05.0 cannot be used
> >
> > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
> >
> >
> > Network devices using DPDK-compatible driver
> >
> > ============================================
> >
> > 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
> >
> > 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
> >
> >
> > Network devices using kernel driver
> >
> > ===================================
> >
> > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
> > unused=igb_uio,uio_pci_generic *Active*
> >
> >
> > Other network devices
> >
> > =====================
> >
> > <none>
> >
> > [root@ ~]#
> >
> >
> >
> > 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller
> X710
> > for 10GbE SFP+ (rev 01)
> >
> > 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller
> X710
> > for 10GbE SFP+ (rev 01)
> >
> > 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> > Function (rev 01)
> >
> > 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> > Function (rev 01)
> >
> > 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> > Function (rev 01)
> >
> > 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> > Function (rev 01)
> >
> >
> >
> > [root@oscompute3 ~]# dmesg | tail
> >
> > [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> > pending
> >
> > [root@oscompute3 ~]#
> >
> >
> > /Saurabh
> >
>
>

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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-02-01 18:25   ` Saurabh Mishra
@ 2016-02-01 19:49     ` Saurabh Mishra
  2016-02-01 22:44       ` Saurabh Mishra
  2016-02-02  2:36     ` Zhang, Helin
  1 sibling, 1 reply; 7+ messages in thread
From: Saurabh Mishra @ 2016-02-01 19:49 UTC (permalink / raw)
  To: Qiu, Michael; +Cc: dev, users

Hi,

So I tried to update the firmware and it says "Update not available" for
i40e

Intel(R) Ethernet NVM Update Tool

NVMUpdate version 1.25.20.03

Copyright (C) 2013 - 2015 Intel Corporation.



WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR POWER OFF
THE SYSTEM DURING THIS UPDATE

Inventory in progress. Please wait [|.........]

+



Num Description                            Device-Id B:D   Adapter Status

=== ====================================== ========= =====
====================

01) Intel(R) Ethernet Server Adapter X520- 8086-10FB 130:00 Update not
available

02) Intel(R) Ethernet Converged Network Ad 8086-1572 07:00 Update not
available



Tool execution completed with the following status: All operations
completed successfully

Press any key to exit.


[root] esxcfg-nics -l

Name    PCI          Driver      Link Speed     Duplex MAC Address
MTU    Description

vmnic6  0000:07:00.0 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c0
1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+

vmnic7  0000:07:00.1 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c2
1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+

vmnic8  0000:82:00.0 ixgbe       Up   10000Mbps Full   00:1b:21:90:f9:f8
1500   Intel(R) 82599 10 Gigabit Dual Port Network Connection

[root] ethtool -i vmnic6

driver: i40e

version: 1.3.38

firmware-version: 4.41 0x80001866 16.5.20

bus-info: 0000:07:00.0

On Mon, Feb 1, 2016 at 10:25 AM, Saurabh Mishra <saurabh.globe@gmail.com>
wrote:

> Hi Michael --
>
> What are the steps to upgrade i40e firmware. We are using CentOS7
>
> It didn't work with guest VF driver either on ESXi and KVM.
>
> Sure. I will blacklist i40evf driver and try it out.
>
> Thanks,
> /Saurabh
>
>
> On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael <michael.qiu@intel.com>
> wrote:
>
>> Hi, Saurabh
>>
>> It's known issue, to fix this you'd better to upgrade the firmware
>> version of i40e.
>>
>> BTW, will it work in guest with kernel driver?
>>
>> If yes, to workaround(somebody reports it does not work for them):
>> Remove i40e.ko in guest, so that it will not auto-loaded when boot up.
>>
>> Hope it works for you.
>>
>> Thanks,
>> Michael
>>
>>
>> On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
>> > Has anybody seen this before? What's the workaround or fix? We are using
>> > dpdk-2.2.0 on KVM centos:
>> >
>> > Host PF version: 1.0.11-k on Centos7
>> >
>> >
>> > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary
>> -- -p
>> > 3 --num-procs=2 --proc-id=0
>> >
>> > [.]
>> >
>> > EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
>> >
>> > EAL: Requesting 1024 pages of size 2MB from socket 0
>> >
>> > EAL: TSC frequency is ~2600141 KHz
>> >
>> > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using
>> unreliable
>> > clock cycles !
>> >
>> > EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
>> >
>> > EAL: PCI device 0000:00:04.0 on NUMA socket 0
>> >
>> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>> >
>> > EAL:   PCI memory mapped at 0x7ffff6200000
>> >
>> > EAL:   PCI memory mapped at 0x7ffff6210000
>> >
>> > EAL: PCI device 0000:00:05.0 on NUMA socket 0
>> >
>> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>> >
>> > EAL:   PCI memory mapped at 0x7ffff6214000
>> >
>> > EAL:   PCI memory mapped at 0x7ffff6224000
>> >
>> > PMD: i40evf_init_vf(): init_adminq failed: -53
>> >
>> > PMD: i40evf_dev_init(): Init vf failed
>> >
>> > EAL: Error - exiting with code: 1
>> >
>> >   Cause: Requested device 0000:00:05.0 cannot be used
>> >
>> > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
>> >
>> >
>> > Network devices using DPDK-compatible driver
>> >
>> > ============================================
>> >
>> > 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>> >
>> > 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>> >
>> >
>> > Network devices using kernel driver
>> >
>> > ===================================
>> >
>> > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
>> > unused=igb_uio,uio_pci_generic *Active*
>> >
>> >
>> > Other network devices
>> >
>> > =====================
>> >
>> > <none>
>> >
>> > [root@ ~]#
>> >
>> >
>> >
>> > 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller
>> X710
>> > for 10GbE SFP+ (rev 01)
>> >
>> > 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller
>> X710
>> > for 10GbE SFP+ (rev 01)
>> >
>> > 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>> > Function (rev 01)
>> >
>> > 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>> > Function (rev 01)
>> >
>> > 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>> > Function (rev 01)
>> >
>> > 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>> > Function (rev 01)
>> >
>> >
>> >
>> > [root@oscompute3 ~]# dmesg | tail
>> >
>> > [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
>> > pending
>> >
>> > [root@oscompute3 ~]#
>> >
>> >
>> > /Saurabh
>> >
>>
>>
>

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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-02-01 19:49     ` Saurabh Mishra
@ 2016-02-01 22:44       ` Saurabh Mishra
  2016-02-02  3:00         ` Qiu, Michael
  0 siblings, 1 reply; 7+ messages in thread
From: Saurabh Mishra @ 2016-02-01 22:44 UTC (permalink / raw)
  To: Qiu, Michael; +Cc: dev, users

Hi, on KVM system, after doing NVM upgrade to new firmware and I don't
see init_adminq
failed messages.

Thanks,
/Saurabh

On Mon, Feb 1, 2016 at 11:49 AM, Saurabh Mishra <saurabh.globe@gmail.com>
wrote:

> Hi,
>
> So I tried to update the firmware and it says "Update not available" for
> i40e
>
> Intel(R) Ethernet NVM Update Tool
>
> NVMUpdate version 1.25.20.03
>
> Copyright (C) 2013 - 2015 Intel Corporation.
>
>
>
> WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR POWER
> OFF THE SYSTEM DURING THIS UPDATE
>
> Inventory in progress. Please wait [|.........]
>
> +
>
>
>
> Num Description                            Device-Id B:D   Adapter Status
>
> === ====================================== ========= =====
> ====================
>
> 01) Intel(R) Ethernet Server Adapter X520- 8086-10FB 130:00 Update not
> available
>
> 02) Intel(R) Ethernet Converged Network Ad 8086-1572 07:00 Update not
> available
>
>
>
> Tool execution completed with the following status: All operations
> completed successfully
>
> Press any key to exit.
>
>
> [root] esxcfg-nics -l
>
> Name    PCI          Driver      Link Speed     Duplex MAC Address
> MTU    Description
>
> vmnic6  0000:07:00.0 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c0
> 1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+
>
> vmnic7  0000:07:00.1 i40e        Up   10000Mbps Full   3c:fd:fe:04:11:c2
> 1500   Intel Corporation Ethernet Controller X710 for 10GbE SFP+
>
> vmnic8  0000:82:00.0 ixgbe       Up   10000Mbps Full   00:1b:21:90:f9:f8
> 1500   Intel(R) 82599 10 Gigabit Dual Port Network Connection
>
> [root] ethtool -i vmnic6
>
> driver: i40e
>
> version: 1.3.38
>
> firmware-version: 4.41 0x80001866 16.5.20
>
> bus-info: 0000:07:00.0
>
> On Mon, Feb 1, 2016 at 10:25 AM, Saurabh Mishra <saurabh.globe@gmail.com>
> wrote:
>
>> Hi Michael --
>>
>> What are the steps to upgrade i40e firmware. We are using CentOS7
>>
>> It didn't work with guest VF driver either on ESXi and KVM.
>>
>> Sure. I will blacklist i40evf driver and try it out.
>>
>> Thanks,
>> /Saurabh
>>
>>
>> On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael <michael.qiu@intel.com>
>> wrote:
>>
>>> Hi, Saurabh
>>>
>>> It's known issue, to fix this you'd better to upgrade the firmware
>>> version of i40e.
>>>
>>> BTW, will it work in guest with kernel driver?
>>>
>>> If yes, to workaround(somebody reports it does not work for them):
>>> Remove i40e.ko in guest, so that it will not auto-loaded when boot up.
>>>
>>> Hope it works for you.
>>>
>>> Thanks,
>>> Michael
>>>
>>>
>>> On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
>>> > Has anybody seen this before? What's the workaround or fix? We are
>>> using
>>> > dpdk-2.2.0 on KVM centos:
>>> >
>>> > Host PF version: 1.0.11-k on Centos7
>>> >
>>> >
>>> > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary
>>> -- -p
>>> > 3 --num-procs=2 --proc-id=0
>>> >
>>> > [.]
>>> >
>>> > EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
>>> >
>>> > EAL: Requesting 1024 pages of size 2MB from socket 0
>>> >
>>> > EAL: TSC frequency is ~2600141 KHz
>>> >
>>> > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using
>>> unreliable
>>> > clock cycles !
>>> >
>>> > EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
>>> >
>>> > EAL: PCI device 0000:00:04.0 on NUMA socket 0
>>> >
>>> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>>> >
>>> > EAL:   PCI memory mapped at 0x7ffff6200000
>>> >
>>> > EAL:   PCI memory mapped at 0x7ffff6210000
>>> >
>>> > EAL: PCI device 0000:00:05.0 on NUMA socket 0
>>> >
>>> > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>>> >
>>> > EAL:   PCI memory mapped at 0x7ffff6214000
>>> >
>>> > EAL:   PCI memory mapped at 0x7ffff6224000
>>> >
>>> > PMD: i40evf_init_vf(): init_adminq failed: -53
>>> >
>>> > PMD: i40evf_dev_init(): Init vf failed
>>> >
>>> > EAL: Error - exiting with code: 1
>>> >
>>> >   Cause: Requested device 0000:00:05.0 cannot be used
>>> >
>>> > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
>>> >
>>> >
>>> > Network devices using DPDK-compatible driver
>>> >
>>> > ============================================
>>> >
>>> > 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>>> >
>>> > 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>>> >
>>> >
>>> > Network devices using kernel driver
>>> >
>>> > ===================================
>>> >
>>> > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
>>> > unused=igb_uio,uio_pci_generic *Active*
>>> >
>>> >
>>> > Other network devices
>>> >
>>> > =====================
>>> >
>>> > <none>
>>> >
>>> > [root@ ~]#
>>> >
>>> >
>>> >
>>> > 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller
>>> X710
>>> > for 10GbE SFP+ (rev 01)
>>> >
>>> > 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller
>>> X710
>>> > for 10GbE SFP+ (rev 01)
>>> >
>>> > 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>>> > Function (rev 01)
>>> >
>>> > 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>>> > Function (rev 01)
>>> >
>>> > 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>>> > Function (rev 01)
>>> >
>>> > 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
>>> > Function (rev 01)
>>> >
>>> >
>>> >
>>> > [root@oscompute3 ~]# dmesg | tail
>>> >
>>> > [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command
>>> 15
>>> > pending
>>> >
>>> > [root@oscompute3 ~]#
>>> >
>>> >
>>> > /Saurabh
>>> >
>>>
>>>
>>
>

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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-02-01 18:25   ` Saurabh Mishra
  2016-02-01 19:49     ` Saurabh Mishra
@ 2016-02-02  2:36     ` Zhang, Helin
  1 sibling, 0 replies; 7+ messages in thread
From: Zhang, Helin @ 2016-02-02  2:36 UTC (permalink / raw)
  To: Saurabh Mishra, Qiu, Michael; +Cc: dev, users

Hi Saurabh

XL710/X710 firmware update tool/images can be found on www.intel.com, that’s the formal way.
Please try there first.

Regards,
Helin

From: Saurabh Mishra [mailto:saurabh.globe@gmail.com]
Sent: Tuesday, February 2, 2016 2:25 AM
To: Qiu, Michael
Cc: dev@dpdk.org; users@dpdk.org; Zhang, Helin; Xu, Qian Q
Subject: Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53

Hi Michael --

What are the steps to upgrade i40e firmware. We are using CentOS7

It didn't work with guest VF driver either on ESXi and KVM.

Sure. I will blacklist i40evf driver and try it out.

Thanks,
/Saurabh


On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael <michael.qiu@intel.com<mailto:michael.qiu@intel.com>> wrote:
Hi, Saurabh

It's known issue, to fix this you'd better to upgrade the firmware
version of i40e.

BTW, will it work in guest with kernel driver?

If yes, to workaround(somebody reports it does not work for them):
Remove i40e.ko in guest, so that it will not auto-loaded when boot up.

Hope it works for you.

Thanks,
Michael


On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
> Has anybody seen this before? What's the workaround or fix? We are using
> dpdk-2.2.0 on KVM centos:
>
> Host PF version: 1.0.11-k on Centos7
>
>
> [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=primary -- -p
> 3 --num-procs=2 --proc-id=0
>
> [.]
>
> EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
>
> EAL: Requesting 1024 pages of size 2MB from socket 0
>
> EAL: TSC frequency is ~2600141 KHz
>
> EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
> clock cycles !
>
> EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
>
> EAL: PCI device 0000:00:04.0 on NUMA socket 0
>
> EAL:   probe driver: 8086:154c rte_i40evf_pmd
>
> EAL:   PCI memory mapped at 0x7ffff6200000
>
> EAL:   PCI memory mapped at 0x7ffff6210000
>
> EAL: PCI device 0000:00:05.0 on NUMA socket 0
>
> EAL:   probe driver: 8086:154c rte_i40evf_pmd
>
> EAL:   PCI memory mapped at 0x7ffff6214000
>
> EAL:   PCI memory mapped at 0x7ffff6224000
>
> PMD: i40evf_init_vf(): init_adminq failed: -53
>
> PMD: i40evf_dev_init(): Init vf failed
>
> EAL: Error - exiting with code: 1
>
>   Cause: Requested device 0000:00:05.0 cannot be used
>
> [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
>
>
> Network devices using DPDK-compatible driver
>
> ============================================
>
> 0000:00:04.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>
> 0000:00:05.0 'Device 154c' drv=igb_uio unused=uio_pci_generic
>
>
> Network devices using kernel driver
>
> ===================================
>
> 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
> unused=igb_uio,uio_pci_generic *Active*
>
>
> Other network devices
>
> =====================
>
> <none>
>
> [root@ ~]#
>
>
>
> 04:00.0 *Ether*net controller: Intel Corporation *Ether*net Controller X710
> for 10GbE SFP+ (rev 01)
>
> 04:00.1 *Ether*net controller: Intel Corporation *Ether*net Controller X710
> for 10GbE SFP+ (rev 01)
>
> 04:02.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:02.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:0a.0 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
> 04:0a.1 *Ether*net controller: Intel Corporation XL710/X710 Virtual
> Function (rev 01)
>
>
>
> [root@oscompute3 ~]# dmesg | tail
>
> [2064188.042835] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.062836] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.082862] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.102838] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.122850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.142852] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.162850] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.182845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.202845] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [2064188.222858] i40evf 0000:04:0a.1: i40evf_add_ether_addrs: command 15
> pending
>
> [root@oscompute3 ~]#
>
>
> /Saurabh
>


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

* Re: [dpdk-dev] i40evf DPDK init_adminq failed: -53
  2016-02-01 22:44       ` Saurabh Mishra
@ 2016-02-02  3:00         ` Qiu, Michael
  0 siblings, 0 replies; 7+ messages in thread
From: Qiu, Michael @ 2016-02-02  3:00 UTC (permalink / raw)
  To: Saurabh Mishra; +Cc: dev, users

On 2/2/2016 6:44 AM, Saurabh Mishra wrote:
> Hi, on KVM system, after doing NVM upgrade to new firmware and I don't
> see init_adminq failed messages.
>

Glade to see you have fix the issue:)

Thanks,
Michael
> Thanks,
> /Saurabh
>
> On Mon, Feb 1, 2016 at 11:49 AM, Saurabh Mishra
> <saurabh.globe@gmail.com <mailto:saurabh.globe@gmail.com>> wrote:
>
>     Hi,
>
>     So I tried to update the firmware and it says "Update not
>     available" for i40e
>
>     Intel(R) Ethernet NVM Update Tool
>
>     NVMUpdate version 1.25.20.03
>
>     Copyright (C) 2013 - 2015 Intel Corporation.
>
>
>
>     WARNING: TO AVOID DAMAGE TO YOUR DEVICE, DO NOT EXIT OR REBOOT OR
>     POWER OFF THE SYSTEM DURING THIS UPDATE
>
>     Inventory in progress. Please wait [|.........]
>
>     +
>
>
>
>     Num Description                            Device-Id B:D   Adapter
>     Status
>
>     === ====================================== ========= =====
>     ====================
>
>     01) Intel(R) Ethernet Server Adapter X520- 8086-10FB 130:00 Update
>     not available
>
>     02) Intel(R) Ethernet Converged Network Ad 8086-1572 07:00 Update
>     not available
>
>
>
>     Tool execution completed with the following status: All operations
>     completed successfully
>
>     Press any key to exit.
>
>
>     [root] esxcfg-nics -l
>
>     Name    PCI          Driver      Link Speed     Duplex MAC Address
>           MTU    Description                   
>
>     vmnic6  0000:07:00.0 i40e        Up   10000Mbps Full  
>     3c:fd:fe:04:11:c0 1500   Intel Corporation Ethernet Controller
>     X710 for 10GbE SFP+
>
>     vmnic7  0000:07:00.1 i40e        Up   10000Mbps Full  
>     3c:fd:fe:04:11:c2 1500   Intel Corporation Ethernet Controller
>     X710 for 10GbE SFP+
>
>     vmnic8  0000:82:00.0 ixgbe       Up   10000Mbps Full  
>     00:1b:21:90:f9:f8 1500   Intel(R) 82599 10 Gigabit Dual Port
>     Network Connection
>
>     [root] ethtool -i vmnic6
>
>     driver: i40e
>
>     version: 1.3.38
>
>     firmware-version: 4.41 0x80001866 16.5.20
>
>     bus-info: 0000:07:00.0
>
>
>     On Mon, Feb 1, 2016 at 10:25 AM, Saurabh Mishra
>     <saurabh.globe@gmail.com <mailto:saurabh.globe@gmail.com>> wrote:
>
>         Hi Michael --
>
>         What are the steps to upgrade i40e firmware. We are using CentOS7
>
>         It didn't work with guest VF driver either on ESXi and KVM.
>
>         Sure. I will blacklist i40evf driver and try it out.
>
>         Thanks,
>         /Saurabh
>
>
>         On Mon, Feb 1, 2016 at 12:16 AM, Qiu, Michael
>         <michael.qiu@intel.com <mailto:michael.qiu@intel.com>> wrote:
>
>             Hi, Saurabh
>
>             It's known issue, to fix this you'd better to upgrade the
>             firmware
>             version of i40e.
>
>             BTW, will it work in guest with kernel driver?
>
>             If yes, to workaround(somebody reports it does not work
>             for them):
>             Remove i40e.ko in guest, so that it will not auto-loaded
>             when boot up.
>
>             Hope it works for you.
>
>             Thanks,
>             Michael
>
>
>             On 1/30/2016 4:35 AM, Saurabh Mishra wrote:
>             > Has anybody seen this before? What's the workaround or
>             fix? We are using
>             > dpdk-2.2.0 on KVM centos:
>             >
>             > Host PF version: 1.0.11-k on Centos7
>             >
>             >
>             > [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4
>             --proc-type=primary -- -p
>             > 3 --num-procs=2 --proc-id=0
>             >
>             > [.]
>             >
>             > EAL: Virtual area found at 0x7fff75800000 (size = 0x200000)
>             >
>             > EAL: Requesting 1024 pages of size 2MB from socket 0
>             >
>             > EAL: TSC frequency is ~2600141 KHz
>             >
>             > EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no
>             -> using unreliable
>             > clock cycles !
>             >
>             > EAL: Master lcore 1 is ready (tid=f7fed880;cpuset=[1])
>             >
>             > EAL: PCI device 0000:00:04.0 on NUMA socket 0
>             >
>             > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>             >
>             > EAL:   PCI memory mapped at 0x7ffff6200000
>             >
>             > EAL:   PCI memory mapped at 0x7ffff6210000
>             >
>             > EAL: PCI device 0000:00:05.0 on NUMA socket 0
>             >
>             > EAL:   probe driver: 8086:154c rte_i40evf_pmd
>             >
>             > EAL:   PCI memory mapped at 0x7ffff6214000
>             >
>             > EAL:   PCI memory mapped at 0x7ffff6224000
>             >
>             > PMD: i40evf_init_vf(): init_adminq failed: -53
>             >
>             > PMD: i40evf_dev_init(): Init vf failed
>             >
>             > EAL: Error - exiting with code: 1
>             >
>             >   Cause: Requested device 0000:00:05.0 cannot be used
>             >
>             > [root@PA-VM ~]# ./dpdk-2.2.0/tools/dpdk_nic_bind.py --status
>             >
>             >
>             > Network devices using DPDK-compatible driver
>             >
>             > ============================================
>             >
>             > 0000:00:04.0 'Device 154c' drv=igb_uio
>             unused=uio_pci_generic
>             >
>             > 0000:00:05.0 'Device 154c' drv=igb_uio
>             unused=uio_pci_generic
>             >
>             >
>             > Network devices using kernel driver
>             >
>             > ===================================
>             >
>             > 0000:00:03.0 'RTL-8139/8139C/8139C+' if=eth0 drv=8139cp
>             > unused=igb_uio,uio_pci_generic *Active*
>             >
>             >
>             > Other network devices
>             >
>             > =====================
>             >
>             > <none>
>             >
>             > [root@ ~]#
>             >
>             >
>             >
>             > 04:00.0 *Ether*net controller: Intel Corporation
>             *Ether*net Controller X710
>             > for 10GbE SFP+ (rev 01)
>             >
>             > 04:00.1 *Ether*net controller: Intel Corporation
>             *Ether*net Controller X710
>             > for 10GbE SFP+ (rev 01)
>             >
>             > 04:02.0 *Ether*net controller: Intel Corporation
>             XL710/X710 Virtual
>             > Function (rev 01)
>             >
>             > 04:02.1 *Ether*net controller: Intel Corporation
>             XL710/X710 Virtual
>             > Function (rev 01)
>             >
>             > 04:0a.0 *Ether*net controller: Intel Corporation
>             XL710/X710 Virtual
>             > Function (rev 01)
>             >
>             > 04:0a.1 *Ether*net controller: Intel Corporation
>             XL710/X710 Virtual
>             > Function (rev 01)
>             >
>             >
>             >
>             > [root@oscompute3 ~]# dmesg | tail
>             >
>             > [2064188.042835] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.062836] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.082862] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.102838] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.122850] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.142852] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.162850] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.182845] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.202845] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [2064188.222858] i40evf 0000:04:0a.1:
>             i40evf_add_ether_addrs: command 15
>             > pending
>             >
>             > [root@oscompute3 ~]#
>             >
>             >
>             > /Saurabh
>             >
>
>
>
>


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

end of thread, other threads:[~2016-02-02  3:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-29 20:34 [dpdk-dev] i40evf DPDK init_adminq failed: -53 Saurabh Mishra
2016-02-01  8:16 ` Qiu, Michael
2016-02-01 18:25   ` Saurabh Mishra
2016-02-01 19:49     ` Saurabh Mishra
2016-02-01 22:44       ` Saurabh Mishra
2016-02-02  3:00         ` Qiu, Michael
2016-02-02  2:36     ` Zhang, Helin

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).