From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id 1399191E4 for ; Fri, 4 Dec 2015 18:36:00 +0100 (CET) Received: by pfbg73 with SMTP id g73so29896676pfb.1 for ; Fri, 04 Dec 2015 09:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=1jR5SVyfyE+sWIKCfs5/PQo6JrsPjs3s/lFwUYNU7hE=; b=gyjVGIaNIQxhcKUysDRAzTW58Wq1eLcSACqPtnJX5MiL9yGFFIiXCzW7wkhCKKlp11 DbIfKQkY39G6k3JNP/NmOA3MrFL20bfFDyMWzyNdhT3yB1Eyx1Qc+ru7xzMWRJTZZF7m nQXVDLIc3nc7KiK5pklCa9BHg10CChcowDv9Og/wPCO2Rep7CAOdX9kMqzOXIcF7mrhe KAQ6zu8ZXvAY1WfMq0czqLQrmHaGKxiEIOaDTqzwMlBrmghh6Y4bUUsHOqkxjzeQYRCl N2dKpPHFpRDA0ZM1vzYtl6ckf1KifGA9XMgiGLGnfwwP2gax9BgIPoxiF09eSY+thkoT q/ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=1jR5SVyfyE+sWIKCfs5/PQo6JrsPjs3s/lFwUYNU7hE=; b=k+dG2eH8cZEd2JqEXLpaM37RR4c3bUZrv86k4xgbJt8AarthqpEN2RNUZ9WGzDosXo PJKokMoZ9/Gl6fM1hbr7qSL1En4TwNlxV3HdPD7oNZYog71M9xuHIgzBF3ZtQ0obk/He 0E1DVAxyeOrKB8/40HosHy2moW89g3UYZy3c2fxxczg9aPFf6uSxmL+ojWG6cfGRQt0/ pSONZ4KTZ/YmCP5IpUUD4yrUp1PMYrddJnBu3VNu45GyMwYhdppEV2QBOu3r50nNIQ46 N/vE8weC0AUShh42n4aYIBY3hxb9x8PCman/SKmd0tP5p72AGGAzk6HAtcF3UNdjncO6 ZOxg== X-Gm-Message-State: ALoCoQnFkbOwjrU3T1HrKBF/ZjX8nw6vFi4Uen9msUq2OXH2HyeWhjZTxNW/9S7QQK/wDBXxzdwH X-Received: by 10.98.68.209 with SMTP id m78mr22780874pfi.46.1449250559478; Fri, 04 Dec 2015 09:35:59 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id fc8sm18407480pab.21.2015.12.04.09.35.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 09:35:59 -0800 (PST) Date: Fri, 4 Dec 2015 09:36:08 -0800 From: Stephen Hemminger To: "Eimear Morrissey" Message-ID: <20151204093608.79483a75@xeon-e3> In-Reply-To: <201512041126.tB4BQJS9022446@d06av07.portsmouth.uk.ibm.com> References: <201512041126.tB4BQJS9022446@d06av07.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Fri, 04 Dec 2015 17:36:00 -0000 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_i40e_pmd > EAL: PCI memory mapped at 0x7f5d40000000 > EAL: PCI memory mapped at 0x7f5d40800000 > PMD: eth_i40e_dev_init(): 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_allocate_dma_mem_d was not providing correct addresses. 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.