From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Nelson Subject: Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM) Date: Thu, 19 Mar 2015 09:26:55 -0700 Message-ID: References: <550A85B3.4070703@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: jacob jacob , Bandan Das , Alex Williamson , QEMU Developers , kvm-devel , netdev@vger.kernel.org To: Stefan Assmann Return-path: Received: from mail-ie0-f182.google.com ([209.85.223.182]:36149 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbbCSQ0z (ORCPT ); Thu, 19 Mar 2015 12:26:55 -0400 In-Reply-To: <550A85B3.4070703@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Mar 19, 2015 at 1:15 AM, Stefan Assmann 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYdHh-0000ZU-LB for qemu-devel@nongnu.org; Thu, 19 Mar 2015 12:27:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYdHb-0006fv-Qt for qemu-devel@nongnu.org; Thu, 19 Mar 2015 12:27:01 -0400 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:36990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYdHb-0006fn-Lb for qemu-devel@nongnu.org; Thu, 19 Mar 2015 12:26:55 -0400 Received: by igcqo1 with SMTP id qo1so79824998igc.0 for ; Thu, 19 Mar 2015 09:26:55 -0700 (PDT) MIME-Version: 1.0 Sender: shannon.lee.nelson@gmail.com In-Reply-To: <550A85B3.4070703@redhat.com> References: <550A85B3.4070703@redhat.com> Date: Thu, 19 Mar 2015 09:26:55 -0700 Message-ID: From: Shannon Nelson Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] PCI passthrough of 40G ethernet interface (Openstack/KVM) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Assmann Cc: kvm-devel , Bandan Das , netdev@vger.kernel.org, Alex Williamson , QEMU Developers , jacob jacob On Thu, Mar 19, 2015 at 1:15 AM, Stefan Assmann 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