From owner-freebsd-virtualization@freebsd.org Mon Apr 25 03:31:41 2016 Return-Path: Delivered-To: freebsd-virtualization@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 4A128B1BAE7 for ; Mon, 25 Apr 2016 03:31:41 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 0C4971655 for ; Mon, 25 Apr 2016 03:31:41 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yw0-x234.google.com with SMTP id o66so185610382ywc.3 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=CNX/Yq+uoV7hEVjEa0Z16Su4TQDn9HKwRo6VJGp6XHE=; b=NoX5RFLYOHDzzHz0FJcUz67jZG46et4yMjsKVxHoKLyxX/wLRfrP9hnwaRvMBCGrBS WXHACIE6q1ZMK3A9dbQUJrhINVQlsN4B/h4XGxQG5h+xvGb0Re57lsoejzE+lo+TkZ/C 4jpxSmd8m8u4z51NJBGWPJoPsZFBVhYmx2kAg61eM5Wv5rvw125unpvWT8zGIj4F5Jcs oZXEKZ1gDL9F+unteMpyw1iE+R8IB8DGyEGaE/PmmE+T6QY9WAPvE/G+qQ+48oNm/sxW qhUTM93uHFmXHoipHIFJDcHuJz8d1llsXxrmBgJQvStf/E5psRK1JAywcgrtg8/qRRLc BDQQ== 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=CNX/Yq+uoV7hEVjEa0Z16Su4TQDn9HKwRo6VJGp6XHE=; b=AGsYOkRqm6wphjbCX1kPo0IkSwk4PGzkK3Du3Cbd1wcHHe0W8NK3LYDP9dAX8MgXkj vlBsi5HanHlyGMocN3fzVFL91zfZL5/RxZM9c7qmU2LBDCr/H27AK+dxrArwjMg9vo/G MFwadllu86bfz7ElEvzAtHFYdS3zFsqBZJgBKLY5U3aDe9rRaPGCACK9F4xsVfSMLHAL 0YFW4LXaET1D0pAueawNyrziaUZU0FcdSj1mAWQroBMjOtYfDoINUSH1S45Lv93p0KV5 wH3d8L6j4KqT1/ApvXlL6+CJWkaMAHOOM7D+9y7V00v9Kkxc2bl14xxJbOOxDtonjrVP Iwxw== X-Gm-Message-State: AOPr4FUeNlHnhhjAC9j8gg2Kk79rO6ZCXEgOdio232pXO47OtqIrLRmB1Y1xr3YYg+INmbz/bEOxyWn2kAg1OQ== MIME-Version: 1.0 X-Received: by 10.37.224.133 with SMTP id x127mt20981267ybg.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-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." 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