DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Eimear Morrissey" <eimear.morrissey@ie.ibm.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [i40e] Failed to init adminq?
Date: Mon, 7 Dec 2015 11:13:58 +0000	[thread overview]
Message-ID: <OFFA06AFB3.5380776D-ON00257F14.003B4CC1-80257F14.003DB43A@notes.na.collabserv.com> (raw)
In-Reply-To: <20151204093608.79483a75@xeon-e3>




Stephen Hemminger <stephen@networkplumber.org> wrote on 12/04/2015 05:36:08
PM:

> From: Stephen Hemminger <stephen@networkplumber.org>
> 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" <eimear.morrissey@ie.ibm.com> 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.
>

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

      reply	other threads:[~2015-12-07 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 11:25 Eimear Morrissey
2015-12-04 17:36 ` Stephen Hemminger
2015-12-07 11:13   ` Eimear Morrissey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFFA06AFB3.5380776D-ON00257F14.003B4CC1-80257F14.003DB43A@notes.na.collabserv.com \
    --to=eimear.morrissey@ie.ibm.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).