From owner-freebsd-net@freebsd.org Tue Sep 12 19:21:34 2017 Return-Path: Delivered-To: freebsd-net@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 2939AE19137 for ; Tue, 12 Sep 2017 19:21:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F343682AE3 for ; Tue, 12 Sep 2017 19:21:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8CJLXvE065158 for ; Tue, 12 Sep 2017 19:21:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211062] [ixv] sr-iov virtual function driver fails to attach Date: Tue, 12 Sep 2017 19:21:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ultima@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2017 19:21:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211062 --- Comment #8 from Richard Gallamore --- Booting up a windows 10: nice -n -20 bhyve \ -c 4 -m 8G -w -H -S \ -s 0,hostbridge \ -s 3,ahci-cd,${IMAGES}/null.iso \ -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \ -s 6:0,passthru,129/0/133 \ -l bootrom,${IMAGES}/BHYVE_UEFI.fd \ -s 29,fbuf,tcp=3D${VNC},w=3D1600,h=3D900 \ -s 30,xhci,tablet \ -s 31,lpc -l com1,stdio \ ${NAME} pciconf -lv: ppt0@pci0:129:0:133: 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 While windows 10 is booting an error is received: Assertion failed: (error =3D=3D 0), function modify_bar_registration, file /usr/src/head/src/usr.sbin/bhyve/pci_emul.c, line 491. Abort trap Booting a debian 8 (jessie): nice -n -20 bhyve \ -c 2 -m 4G -w -H -S \ -s 0,hostbridge \ -s 5,ahci-hd,${ZVOL_DIR}/${NAME} \ -s 6:0,passthru,129/0/133 \ -l bootrom,${IMAGES}/BHYVE_UEFI.fd \ -s 29,fbuf,tcp=3D${VNC},w=3D1440,h=3D900 \ -s 30,xhci,tablet \ -s 31,lpc -l com1,stdio \ ${NAME} This boots successfully, however # dmesg | grep ixgbe has errors: ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 2. 12.1-k ixgbevf: Copyright (c) 2009 - 2012 Intel corporation. ixgbevf: 0000:00:06.0: enabling device (0004 -> 0006) ixgbevf: 0000:00:06.0: PF still in reset state. Is the PF interface up? ixgbevf: 0000:00:06.0: Assigning random MAC address ixgbevf: 0000:00:06.0: irq 48 for MSI/MSI-X ixgbevf: 0000:00:06.0: irq 49 for MSI/MSI-X # ip link set eth0 up ixgbevf: Unable to start - perhaps the PF Driver isn't up yet RTNETLINK answers: Network is down Hope this helps. --=20 You are receiving this mail because: You are the assignee for the bug.=