From owner-freebsd-virtualization@freebsd.org Thu Jan 18 08:58:21 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 404D1EBE8F1 for ; Thu, 18 Jan 2018 08:58:21 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id EE7A2813D6 for ; Thu, 18 Jan 2018 08:58:20 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id C57D420B4BB4 for ; Thu, 18 Jan 2018 18:58:12 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id C0023280AB0 for ; Thu, 18 Jan 2018 18:58:12 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jNWaX7UU-0zQ for ; Thu, 18 Jan 2018 18:58:12 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 983632818D7; Thu, 18 Jan 2018 18:58:10 +1000 (AEST) Subject: Re: Bhyve passthrough problems To: Mario Lobo References: <20180117202250.6ef90c6d@Papi.lobos> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: Date: Thu, 18 Jan 2018 00:58:08 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180117202250.6ef90c6d@Papi.lobos> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=KPZ08mNo c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=RgaUWeydRksA:10 a=F3yxotcADMa9Rns8wiMA:9 a=QEXdDO2ut3YA:10 wl=host:3 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: Thu, 18 Jan 2018 08:58:21 -0000 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. later, Peter.