From owner-freebsd-virtualization@freebsd.org Mon Jan 22 14:54:44 2018 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 736EEEC4B49 for ; Mon, 22 Jan 2018 14:54:44 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 112757F1E9; Mon, 22 Jan 2018 14:54:43 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w0MEsbA8009747; Mon, 22 Jan 2018 15:54:38 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 80445EED; Mon, 22 Jan 2018 15:54:37 +0100 (CET) Message-ID: <5A65FB2D.7010908@omnilan.de> Date: Mon, 22 Jan 2018 15:54:37 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Peter Grehan CC: Mario Lobo , freebsd-virtualization@freebsd.org Subject: Re: Bhyve passthrough problems References: <20180117202250.6ef90c6d@Papi.lobos> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Mon, 22 Jan 2018 15:54:39 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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, 22 Jan 2018 14:54:44 -0000 Bezüglich Peter Grehan's Nachricht vom 18.01.2018 09:58 (localtime): > Hi Mario, > >> I'm trying to passthrough a firewire pci card to a windows 7 64 guest. > > First, you'll need to verify if that card supports MSI or MSI-x since > that is required by bhyve for passthru support. This can be seen with > 'pciconf -lbc' on the FreeBSD host. > >> VM exits with: >> >> Assertion failed: (mr->name == memp->name), function >> unregister_mem, file /usr/src/usr.sbin/bhyve/mem.c, line 265. >> Abort trap > > This is bug in bhyve when running Windows with PCI devices that have > more than 1 memory BAR (e.g. Intel igb ethernet devices), due to the > order that Windows determines BAR sizes. I've been meaning to fix this > for a long time so will try and get to it. Thanks in advance, Peter! Inderictly related, but also a big improvement for bhyve, could you have a minute on that too: https://lists.freebsd.org/pipermail/freebsd-virtualization/2017-November/005875.html Thanks, -harry