[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP-MU4N8DsafjBWUVw5Fw0pdnjfYszbARpoRmnFn=s=MsQtGzw@mail.gmail.com>
Date: Thu, 19 Mar 2015 09:26:55 -0700
From: Shannon Nelson <shannon.nelson@...el.com>
To: Stefan Assmann <sassmann@...hat.com>
Cc: jacob jacob <opstkusr@...il.com>, Bandan Das <bsd@...hat.com>,
Alex Williamson <alex.williamson@...hat.com>,
QEMU Developers <qemu-devel@...gnu.org>,
kvm-devel <kvm@...r.kernel.org>, netdev@...r.kernel.org
Subject: Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM)
On Thu, Mar 19, 2015 at 1:15 AM, Stefan Assmann <sassmann@...hat.com> wrote:
> Interesting, the following might explain why my XL710 feels a bit
> sketchy then. ;-)
> # ethtool -i p4p1
> driver: i40e
> version: 1.2.37-k
> firmware-version: f4.22.26225 a1.1 n4.24 e12ef
> Looks like the firmware on this NIC is even older.
>
> I tried to update the firmware with nvmupdate64e and the first thing I
> noticed is that you cannot update the firmware even with todays linux
> git. The tool errors out because it cannot access the NVM. Only with a
> recent net-next kernel I was able to update the firmware.
> ethtool -i p4p1
> driver: i40e
> version: 1.2.37-k
> firmware-version: f4.33.31377 a1.2 n4.42 e1932
>
> However during the update I got a lot of errors in dmesg.
> [ 301.796664] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0702 received
> [ 301.893933] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0703 received
> [ 302.005223] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0703 received
> [...]
> [ 387.884635] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0703 received
> [ 387.896862] i40e 0000:82:00.0: ARQ Overflow Error detected
> [ 387.902995] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0703 received
These are bogus messages should not have been generated, but it seems
there's a case statement missing in the upstream code. I'll get a
patch together for this later today.
> [...]
> [ 391.583799] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 391.714217] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 391.842656] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 391.973080] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 392.107586] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 392.244140] i40e 0000:82:00.0: NVMUpdate write failed err=-53 status=0x0 errno=-16 module=70 offset=0x0 size=2
> [ 392.373966] i40e 0000:82:00.0: ARQ Error: Unknown event 0x0703 received
These are an annoying result of a user tool issue.
>
> Not sure if that flash was actually successful or not.
Since the driver was able to restart and give you the version
information from ethtool -i, the update was successful. You are not
supposed to have to powercycle your system after the NVM update, but
it's a good idea anyway, especially when updating the older firmware
like what you had.
sln
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists