From owner-freebsd-virtualization@freebsd.org Tue Jan 3 19:36:13 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 B5DE2C9DA2F for ; Tue, 3 Jan 2017 19:36:13 +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 7ACFD1CB1 for ; Tue, 3 Jan 2017 19:36:13 +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 912A32126640 for ; Wed, 4 Jan 2017 05:35:52 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 87695280990 for ; Wed, 4 Jan 2017 05:35:52 +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 K-lXb6hDiJ0R for ; Wed, 4 Jan 2017 05:35:52 +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 7E04F28095E; Wed, 4 Jan 2017 05:35:50 +1000 (AEST) Subject: Re: pci_virtio_block.c Assertion failed: line 216 To: Harry Schmalzbauer References: <586BFC91.4090404@omnilan.de> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <2a8308c3-1570-08a3-a993-0f699fcd267d@freebsd.org> Date: Tue, 3 Jan 2017 12:36:06 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <586BFC91.4090404@omnilan.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=YJDv8VOx c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=mwgbnDbW7alINpy3vhoKyg==:17 a=N659UExz7-8A:10 a=IgFoBzBjUZAA:10 a=PQ0L5NmckLWsrE2ixREA:9 a=pILNOxqGKmIA: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: Tue, 03 Jan 2017 19:36:13 -0000 Hi Harry, > trying to use bhyve(8) with virtio-blk and Windows guest results in core > dump: > Assertion failed: (n >= 2 && n <= BLOCKIF_IOV_MAX + 2), function > pci_vtblk_proc, file usr.sbin/bhyve/pci_virtio_block.c, line > 216. > Abort trap (core dumped) > > Unfortunately this is on a production-test machine which lacks gdb etc. > Will try to reproduce on antoher machine, but maybe someone already > knows that problem? virtio-blk isn't currently supported with Windows guests. You'll need to use ahci-hd for now. However, I do have a fix that can hopefully be committed shortly. later, Peter.