From owner-freebsd-hardware@freebsd.org Mon Apr 25 03:31:41 2016 Return-Path: Delivered-To: freebsd-hardware@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49239B1BAE6 for ; Mon, 25 Apr 2016 03:31:41 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B36E1654 for ; Mon, 25 Apr 2016 03:31:41 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id j74so161603384ywg.1 for ; Sun, 24 Apr 2016 20:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:cc; bh=VAuJSnlYpksE4Ijbka3jJec31r6zd2VImeiFVOxzH50=; b=BDuehG8d9ZM1F1ISwfO3pxTgtEF8Csqwq/n1fOwZRJkhyE2O0kr7SVx84G+Bh60KTH Kwp0ZVRMZ5yimseTxKSJ6AKsLEklWdS94+HqEr6rb37LWMl7AZwSIShUv04vhJpeIcoI /TZcYkfSm01lIE/5AsH0sPYggZlbO8Zmbgw3bNE/ImuVICOLtyNFVbMJwE6sTRjBalQk eBGDjSwfEAOzqAnV9a6EtM0lvkQ7yRAwqQW40QRUEXF42ylC12UFza+ntkdCc5hPzsRi mt34GzeWGeZsM4CwYDl/lUxHOlETZgbUEgg67ncEyiBU+NuFfNAvGx5js4GS+zmA/W1v HGvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:cc; bh=VAuJSnlYpksE4Ijbka3jJec31r6zd2VImeiFVOxzH50=; b=HdB0UjuM2jKHti4IhneyLMUfqW1dWyTJVxaB3CTURZ52PoghAcIA/phnob1lSimqeU 44Gx9KfnmisfBn0zI4ThNjsOHJTV4nmlvBmnHvwLowDdxoMQefO7zALnh7vE2cWgGYTa fYRKOGK5DaQgl6oghRvNJtckZg1BJQmPQWk6NDvko6pAiKxr4R/4k6L97Zyj0OoFxGqQ uYqFrFjkbrMUCVgMqkk9OEEwcWz6nBMfPYGx+A/Xbsir484z+VOt1Fyb2kTirLVwhNSU 1skar+r6dyGOR/bmU6+tQIRJRe1SXsAYuXNp5ZbBFvkUXZnhCLGpBN7GLkRoa0sgeRxn Q2/A== X-Gm-Message-State: AOPr4FVF2jpFFxOP9zDYhLXdatlqBICSomKyiOi7ephQt+JkWZbD+txZBdCS1LKojNojXxK0S3Z5JczUc3wLKQ== MIME-Version: 1.0 X-Received: by 10.37.224.133 with SMTP id x127mt20981266ybg.141.1461555100235; Sun, 24 Apr 2016 20:31:40 -0700 (PDT) Received: by 10.129.5.216 with HTTP; Sun, 24 Apr 2016 20:31:40 -0700 (PDT) Date: Sun, 24 Apr 2016 23:31:40 -0400 Message-ID: Subject: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, reset_hw() failed with error -100) From: Ultima Cc: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org, freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 03:31:41 -0000 The sr-iov vf driver is failing to attach. # pciconf -lv: (filtered to only relevant output) ix0@pci0:129:0:0: class=0x020000 card=0x00001458 chip=0x15288086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Controller 10-Gigabit X540-AT2' class = network subclass = ethernet ix1@pci0:129:0:1: class=0x020000 card=0x00001458 chip=0x15288086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Ethernet Controller 10-Gigabit X540-AT2' class = network subclass = ethernet none155@pci0:129:0:129: class=0x020000 card=0x00001458 chip=0x15158086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'X540 Ethernet Controller Virtual Function' class = network subclass = ethernet none156@pci0:129:0:131: class=0x020000 card=0x00001458 chip=0x15158086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'X540 Ethernet Controller Virtual Function' class = network subclass = ethernet # devctl attach pci0:129:0:129 devctl: Failed to attach pci0:129:0:129: Input/output error # dmesg ixv0: at device 0.129 numa-domain 1 on pci12 ixv0: Using MSIX interrupts with 2 vectors ixv0: ixgbe_reset_hw() failed with error -100 device_attach: ixv0 attach returned 5 # cat /etc/iovctl.conf PF { device : ix1; num_vfs : 31; } DEFAULT { passthrough : true; } VF-0 { passthrough : false; } VF-1 { passthrough : false; } Any ideas? Ultima From owner-freebsd-hardware@freebsd.org Thu Apr 28 20:36:12 2016 Return-Path: Delivered-To: freebsd-hardware@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C22BFB1F764; Thu, 28 Apr 2016 20:36:12 +0000 (UTC) (envelope-from cramerj@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.freebsd.org (Postfix) with ESMTP id 948FA127F; Thu, 28 Apr 2016 20:36:12 +0000 (UTC) (envelope-from cramerj@intel.com) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 28 Apr 2016 13:36:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,548,1455004800"; d="scan'208";a="955072668" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by fmsmga001.fm.intel.com with ESMTP; 28 Apr 2016 13:36:10 -0700 Received: from orsmsx155.amr.corp.intel.com (10.22.240.21) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 28 Apr 2016 13:36:10 -0700 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.229]) by ORSMSX155.amr.corp.intel.com ([169.254.7.253]) with mapi id 14.03.0248.002; Thu, 28 Apr 2016 13:36:09 -0700 From: cramerj To: Ultima CC: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" , "freebsd-hardware@freebsd.org" Subject: RE: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, reset_hw() failed with error -100) Thread-Topic: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, reset_hw() failed with error -100) Thread-Index: AQHRnqMQZnyHMV17gky4xGYv8b9bOZ+f3arw Date: Thu, 28 Apr 2016 20:36:08 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjFiYTFkZDAtZjVkMy00ZGMzLWIxNjgtNTVhMzFiZjExYWRhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoickxLdk41QWtVTFZBdHhvbjVrNitHSlFPRUpQektlQVlBdTV3QU5NTG50WT0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 20:36:12 -0000 Yeah, we're running into some issues with our implementation. I'm working = on the VF driver now and hope to get some of these bugs fixed within the ne= xt couple weeks. Thanks, -Jeb -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freeb= sd.org] On Behalf Of Ultima Sent: Sunday, April 24, 2016 8:32 PM Cc: freebsd-current@freebsd.org; freebsd-virtualization@freebsd.org; freebs= d-hardware@freebsd.org Subject: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, rese= t_hw() failed with error -100) The sr-iov vf driver is failing to attach. # pciconf -lv: (filtered to only relevant output) ix0@pci0:129:0:0: class=3D0x020000 card=3D0x00001458 chip=3D0x15288086 rev= =3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ethernet Controller 10-Gigabit X540-AT2' class =3D network subclass =3D ethernet ix1@pci0:129:0:1: class=3D0x020000 card=3D0x00001458 chip=3D0x15288086 rev= =3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Ethernet Controller 10-Gigabit X540-AT2' class =3D network subclass =3D ethernet none155@pci0:129:0:129: class=3D0x020000 card=3D0x00001458 chip=3D0x1515808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'X540 Ethernet Controller Virtual Function' class =3D network subclass =3D ethernet none156@pci0:129:0:131: class=3D0x020000 card=3D0x00001458 chip=3D0x1515808= 6 rev=3D0x01 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'X540 Ethernet Controller Virtual Function' class =3D network subclass =3D ethernet # devctl attach pci0:129:0:129 devctl: Failed to attach pci0:129:0:129: Input/output error # dmesg ixv0: at device 0.129 numa-domain 1 on pci12 ixv0: Using MSIX interrupts with 2 vectors ixv0: ixgbe_reset_hw() failed with error -100 device_attach: ixv0 attach returned 5 # cat /etc/iovctl.conf PF { device : ix1; num_vfs : 31; } DEFAULT { passthrough : true; } VF-0 { passthrough : false; } VF-1 { passthrough : false; } Any ideas? Ultima _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-hardware@freebsd.org Thu Apr 28 22:55:30 2016 Return-Path: Delivered-To: freebsd-hardware@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C873B1D6BE; Thu, 28 Apr 2016 22:55:30 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AA8E18A9; Thu, 28 Apr 2016 22:55:30 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x22a.google.com with SMTP id o66so151318556ywc.3; Thu, 28 Apr 2016 15:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=PwrSPDwCJNfhr5QgLhsdCHh2ICT35eWDkatEQywhmZ0=; b=e+6Dto8uXJT2So6GbF6MGgEekrTmti+IbGkXPPez4dXLg9E82+Yqdxz/bF5HotD5Q8 iH81hjgQda01hJ14bcIkL1yUSae77yNaV975WzPGKdoRtm65eC8W8/IRbcb62CijN1k1 Wq9YgzUhOybaqpwd5KXN7L+oPPcbaGp1eE6ZWqFLd6bei0TmN9On1hJqcWg7r52U8r3S r1l7ByPUbHolL68JPXv73WACUV8SW2OCk6t0kBxyu3AN06HrvGWoXqvlZeotVTdSTMKY 83EzdKoR1Sxlpp7IUtV1YjS1CzQwftEMwfFR/Yw39GRX3UkS+dJbmkDDXnJ1vzHX1S8L A8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=PwrSPDwCJNfhr5QgLhsdCHh2ICT35eWDkatEQywhmZ0=; b=EZer4EHx5/51Spc/em4VuFJE6xRZadyMJmw446BTIeYsanlite1J+lBJFK9rdjSCqV dT2FuySsgi/YswQiawg74aigNFU6d/CMh+Wp0HCuXGCV03vmZTtFUG2gW9/o/Gmk/dvI ASNR6rxbsqJQ9wqez6sCu+TV7XAv7spxoQw7iery2pLE9cvxaB6eRkkScE9kZ/JKP7Va bTbIglaaSTupkIY4GGj+7McY5qSoc3u4wo3CmRfWFDrdvvM50wagC/MlzZ+f87YeOkff wPkesTxUMeAgibfvZhqbAly0QjI4yD41YrXRUMrmt6evhOMD2XiEXBB5ODC8WHsFj3/8 q4Ag== X-Gm-Message-State: AOPr4FXw+EJcXq1y4TWnbEuBIgYcL38X6W9FS3vCh6t03kKvmXpg/F0Jy/nlJlBK+LIBpJqbftTed0DXase0Mw== MIME-Version: 1.0 X-Received: by 10.129.2.66 with SMTP id 63mr9457347ywc.250.1461884129278; Thu, 28 Apr 2016 15:55:29 -0700 (PDT) Received: by 10.129.5.216 with HTTP; Thu, 28 Apr 2016 15:55:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Apr 2016 18:55:29 -0400 Message-ID: Subject: Re: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, reset_hw() failed with error -100) From: Ultima To: cramerj Cc: "freebsd-current@freebsd.org" , "freebsd-virtualization@freebsd.org" , "freebsd-hardware@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 22:55:30 -0000 Jeb, Okay, just wanted to make sure it was known. =] Ultima On Thu, Apr 28, 2016 at 4:36 PM, cramerj wrote: > Yeah, we're running into some issues with our implementation. I'm working > on the VF driver now and hope to get some of these bugs fixed within the > next couple weeks. > > Thanks, > -Jeb > > -----Original Message----- > From: owner-freebsd-current@freebsd.org [mailto: > owner-freebsd-current@freebsd.org] On Behalf Of Ultima > Sent: Sunday, April 24, 2016 8:32 PM > Cc: freebsd-current@freebsd.org; freebsd-virtualization@freebsd.org; > freebsd-hardware@freebsd.org > Subject: ixv device_attach: ixv0 attach returned 5 (was sr-iov issues, > reset_hw() failed with error -100) > > The sr-iov vf driver is failing to attach. > > > # pciconf -lv: (filtered to only relevant output) > ix0@pci0:129:0:0: class=0x020000 card=0x00001458 chip=0x15288086 rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Ethernet Controller 10-Gigabit X540-AT2' > class = network > subclass = ethernet > ix1@pci0:129:0:1: class=0x020000 card=0x00001458 chip=0x15288086 rev=0x01 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Ethernet Controller 10-Gigabit X540-AT2' > class = network > subclass = ethernet > none155@pci0:129:0:129: class=0x020000 card=0x00001458 chip=0x15158086 > rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = 'X540 Ethernet Controller Virtual Function' > class = network > subclass = ethernet > none156@pci0:129:0:131: class=0x020000 card=0x00001458 chip=0x15158086 > rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = 'X540 Ethernet Controller Virtual Function' > class = network > subclass = ethernet > > # devctl attach pci0:129:0:129 > devctl: Failed to attach pci0:129:0:129: Input/output error > > # dmesg > ixv0: 1.4.6-k> at device 0.129 numa-domain 1 on pci12 > ixv0: Using MSIX interrupts with 2 vectors > ixv0: ixgbe_reset_hw() failed with error -100 > device_attach: ixv0 attach returned 5 > > # cat /etc/iovctl.conf > PF { > device : ix1; > num_vfs : 31; > } > > DEFAULT { > passthrough : true; > } > VF-0 { > passthrough : false; > } > VF-1 { > passthrough : false; > } > > > Any ideas? > > Ultima > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >