From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.81]) by dpdk.org (Postfix) with ESMTP id 86DB095A3 for ; Mon, 7 Dec 2015 12:32:15 +0100 (CET) Received: from /spool/local by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Mon, 7 Dec 2015 11:32:14 -0000 Received: from us1a3-smtp04.a3.dal06.isc4sb.com (10.106.154.237) by smtp.notes.na.collabserv.com (10.106.227.88) with smtp.notes.na.collabserv.com ESMTP; Mon, 7 Dec 2015 11:32:09 -0000 Received: from us1a3-mail95.a3.dal06.isc4sb.com ([10.146.21.14]) by us1a3-smtp04.a3.dal06.isc4sb.com with ESMTP id 2015120711140101-262764 ; Mon, 7 Dec 2015 11:14:01 +0000 In-Reply-To: <20151204093608.79483a75@xeon-e3> To: Stephen Hemminger Message-ID: From: "Eimear Morrissey" Date: Mon, 7 Dec 2015 11:13:58 +0000 References: <201512041126.tB4BQJS9022446@d06av07.portsmouth.uk.ibm.com> <20151204093608.79483a75@xeon-e3> X-KeepSent: FA06AFB3:5380776D-00257F14:003B4CC1; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1FP4 Octobe4, 2013 X-Disclaimed: 25151 X-TNEFEvaluated: 1 x-cbid: 15120711-4536-0000-0000-0000053EB849 X-IBM-ISS-SpamDetectors: Score=0.449102; BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.449102; ST=0; TS=0; UL=0; ISC= X-IBM-ISS-DetailInfo: BY=3.00004641; HX=3.00000236; KW=3.00000007; PH=3.00000004; SC=3.00000122; SDB=6.00627409; UDB=6.00280131; UTC=2015-12-07 11:32:10 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [i40e] Failed to init adminq? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 11:32:16 -0000 Stephen Hemminger wrote on 12/04/2015 05:36:08 PM: > From: Stephen Hemminger > To: Eimear Morrissey/Ireland/IBM@IBMIE > Cc: dev@dpdk.org > Date: 12/04/2015 05:36 PM > Subject: Re: [dpdk-dev] [i40e] Failed to init adminq? > > On Fri, 4 Dec 2015 11:25:09 +0000 > "Eimear Morrissey" wrote: > > > > > > > Hi, > > > > I'm having an issue with the i40e pmd failing to initialise a port. I've > > tried powercycling with the linux i40e driver removed and blacklisted as > > suggested here: http://dpdk.org/ml/archives/dev/2015-June/019132.html, but > > it's still persisting. It used to initialise without issues so I'm not sure > > what could have changed? I'm running it in the host at the moment but I > > have used that port pci passthrough'd to a guest also. > > > > Any suggestions as to what could be causing this? > > > > Thanks, > > Eimear > > > > EAL: PCI device 0000:86:00.0 on NUMA socket 1 > > EAL: probe driver: 8086:1572 rte=5Fi40e=5Fpmd > > EAL: PCI memory mapped at 0x7f5d40000000 > > EAL: PCI memory mapped at 0x7f5d40800000 > > PMD: eth=5Fi40e=5Fdev=5Finit(): Failed to init adminq: -54 > > EAL: Error - exiting with code: 1 > > Cause: Requested device 0000:86:00.0 cannot be used > > > For me, it turned out to be a bug in earlier version > of a patch to support xen dom0. This happens if the memory zone > setup in i40e=5Fallocate=5Fdma=5Fmem=5Fd was not providing correct addres= ses. > > Anyway check if you have that correct. > > Also, updating firmware took more effort than expected. > 1. Need to run Intel's out of tree Linux driver for i40e > or the version in 4.4-rc1 or later. > 2. Need to use Linux driver (ie no DPDK) > 3. System needs access to internet to download firmware > > Overall, it is one of those "pray for bits" updates. > I'm using DPDK 2.1.0 - I'm not sure if that has the correct patch version or not? What's confusing is that it used to work but now it's completely stopped working & nothing (powercycling, binding to different drivers and back, even replacing the actual card) seems to affect it. I haven't upgraded the firmware on the card, but will try. -Eimear