From owner-freebsd-virtualization@freebsd.org Thu Sep 7 18:05:27 2017 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 162AAE05CFC for ; Thu, 7 Sep 2017 18:05:27 +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 9C7BA6A071 for ; Thu, 7 Sep 2017 18:05:26 +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 04039210A291 for ; Fri, 8 Sep 2017 04:05:23 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id E4B3B2809CC for ; Fri, 8 Sep 2017 04:05:22 +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 hSOY_kpzsCrI for ; Fri, 8 Sep 2017 04:05:22 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (96-82-80-65-static.hfc.comcastbusiness.net [96.82.80.65]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id E9AAE2809A2; Fri, 8 Sep 2017 04:05:20 +1000 (AEST) Subject: Re: bhyve passthrough fails To: Farhan Khan Cc: freebsd-virtualization@freebsd.org References: From: Peter Grehan Message-ID: <5e672671-22d6-3569-ea2b-a8105b8e3334@freebsd.org> Date: Thu, 7 Sep 2017 11:05:17 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: 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.2 cv=XKlAcUpE c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=mwgbnDbW7alINpy3vhoKyg==:17 a=IkcTkHD0fZMA:10 a=2JCJgTwv5E4A:10 a=-OhNdOWJgklVJANl9ocA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Sep 2017 18:05:27 -0000 > I would not mind sending you on-going feedback or debugging information > if it helps.> > Could it be a chipset issue? This is a lower-end laptop. It can do > virtualization, but the passthrough issue seemed to fail. I was on > FreeBSD 11.1. It may be due to this (and also my issue which was on AMD, may be due to a reboot where I didn't enable the iommu). If that is the case, the error handling could certainly be improved :( You can check to see if there is an IOMMU available by looking for the APCI DMAR table: acpidump -t | grep DMAR later, Peter.