From owner-freebsd-virtualization@freebsd.org Sat Oct 24 03:13:26 2015 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 348D0A1B0B3 for ; Sat, 24 Oct 2015 03:13:26 +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 EBE881C2A for ; Sat, 24 Oct 2015 03:13:25 +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 ESMTP id E705A11607 for ; Sat, 24 Oct 2015 13:13:24 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id DE345280F80 for ; Sat, 24 Oct 2015 13:13:24 +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 10024) with ESMTP id UGBgyMa6HDE0 for ; Sat, 24 Oct 2015 13:13:24 +1000 (AEST) Received: from Peters-MacBook-Pro.local (unknown [64.245.0.210]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 09041280500; Sat, 24 Oct 2015 13:13:21 +1000 (AEST) Subject: Re: error running grub-bhyve with -S To: John Nielsen References: <71AAD86C-6966-46AA-BD73-2D0CE1E2C213@jnielsen.net> <56291C6F.9070405@freebsd.org> <8B7A0F48-9307-405A-A7F3-5E1B579DAA34@jnielsen.net> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <562AF750.5030303@freebsd.org> Date: Fri, 23 Oct 2015 20:13:20 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <8B7A0F48-9307-405A-A7F3-5E1B579DAA34@jnielsen.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 24 Oct 2015 03:13:26 -0000 >> The -S option will force allocation of guest memory (required by >> passthru). Is there 1G of free mem available on the machine when >> grub-bhyve was run ? > > Hi, thanks for the response. Yes, the machine had something like 6GB > free (not including cache/buf). I also tried running grub-bhyve with > smaller memory values down to and including 32MB (just to see if it > would work, not because I expect my VM to run with that), and without > a -M flag (which, IIRC, defaults to 256MB). I always got the same > error. I can get that error if vmm.ko isn't loaded, but in that case the bhyvectl command would also error out and it doesn't appear to in your case. Some questions: Is this on FreeBSD CURRENT ? Does grub-bhyve work without the -S option ? Or, with -S but a different VM name ? Does the issue persist after a reboot ? later, Peter.