From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 23 16:24:35 2014 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B483095B for ; Sun, 23 Feb 2014 16:24:35 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C9E81D9B for ; Sun, 23 Feb 2014 16:24:35 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id B351C153AA7; Sun, 23 Feb 2014 17:24:33 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QQJjERQudxkh; Sun, 23 Feb 2014 17:24:31 +0100 (CET) Received: from [IPv6:2001:4cb8:3:1:3ce8:7381:241a:6e9b] (unknown [IPv6:2001:4cb8:3:1:3ce8:7381:241a:6e9b]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 9A259153AA6; Sun, 23 Feb 2014 17:24:31 +0100 (CET) Message-ID: <530A20BE.4050602@digiware.nl> Date: Sun, 23 Feb 2014 17:24:30 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Craig Rodrigues Subject: Re: Bhyve and Ubuntu booting References: <53090599.5000505@digiware.nl> <20AAA4CA-38F9-4D07-BAAA-434F8BC20129@digiware.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Sun, 23 Feb 2014 16:24:35 -0000 On 23-2-2014 15:57, Craig Rodrigues wrote: >> I'm also looking into running a Ubuntu vm. i want to test/use > zoneminder, and all my FreeBSD attempts run into trouble. >> So I'm also still looking for grub-bhyve..... > > grub2-bhyve is in ports: http://www.freshports.org/sysutils/grub2-bhyve/ Yup, took me some time to realize that on this experimental box portsnap was not running nightly... > If you do a web search, you'll find several HOWTO articles for using it. > Recently, Rudy wrote a nice one: > http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-February/002305.html I did have that, from his announcement, But trying to follow that, I get: --- freetest# bhyvectl --destroy --vm=ubuntu freetest# grub-bhyve -r cd0 -m ./device.map -M 2048 ubuntu GNU GRUB version 2.00 > [I select to install Ubuntu Server] freetest# bhyve -c 2 -m 2048M -H -P -A \ ? -s 0:0,hostbridge \ ? -s 1:0,lpc -s 2:0,virtio-net,tap3 \ ? -s 3,ahci-cd,ubuntu-13.10.iso -l com1,stdio \ ? -s 4,virtio-blk,/dev/zvol/zfsroot/ubuntu ubuntu vm exit rdmsr 0xc0010015, cpu 0 --- And I've seen discussions in other threads about reading/writing cpu registers where some bits should be 0, but trap when being set.... (Or something close to this...???) So it could again be due to the amdsrc tree differences? --WjW And again this is running on my AMD-board. /dev/zvol/zfsroot/ubuntu is a 10G zvol tap3 is created and up and ./ubuntu-13.10.iso is the ubuntu server ISO suggested by Rudy.