Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 06:15:36 -0800 (PST)
From:      G B <g_patrickb@yahoo.com>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   BHyVe on 10-Current r245673
Message-ID:  <1359468936.78130.YahooMailNeo@web162906.mail.bf1.yahoo.com>

next in thread | raw e-mail | index | archive | help
I am using FreeBSD 10-Current r245673 as a host on an HP p2-1394.=A0 I have=
 the host OS installed on 1 drive using UFS and a second drive using ZFS wi=
th a pool named 'tank.'=A0 They layout for zfs for my guest install is /tan=
k/guest01.=0A=A0=0AWhen using the command:=0A# bhyveload -d /tmp/FreeBSD-9.=
1-RELEASE-amd64-disk1.iso -m 512 -h /tank/guest01 guest01 && bhyve -c 2 -a =
-A -m 512 -g 0 -P -H -s 1,virtio-net,tap0 -s 2,virtio-blk,diskdev guest01 &=
& sleep 20 && ifconfig tap0 up=0A=A0=0AI get the boot screen for FreeBSD 9.=
1 and after the timed pause it fails with:=0ACould not open backing file: N=
o such file or directory=0AACPI tables require and ioapic=0AAssertion faile=
d: (error =3D=3D 0), function main, file /usr/src/usr.sbin/bhyve/bhyverun.c=
, line 774.=0AAbort (core dumped)=0Aroot@localhost:/tmp#=0A=A0=0AI am using=
 the bhyveload comamnd from a PDF I found from BSDCan but when I used the -=
m 768 -M 1024 as used in the doc it failed with a syntax error, so I switch=
ed to using just -m 512.=A0 My .iso is in /tmp as indicated in my command w=
ith '-d'.=A0 =0A=A0=0AI'm guessing my command is wrong, but not sure where.=
=A0 Any help would be appreciated.=A0 =0A=A0=0AThanks,=0AGary
From owner-freebsd-current@FreeBSD.ORG  Tue Jan 29 14:54:51 2013
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id BF4C73D8
 for <freebsd-current@freebsd.org>; Tue, 29 Jan 2013 14:54:51 +0000 (UTC)
 (envelope-from lifanov@mail.lifanov.com)
Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12])
 by mx1.freebsd.org (Postfix) with ESMTP id 9917CFD2
 for <freebsd-current@freebsd.org>; Tue, 29 Jan 2013 14:54:51 +0000 (UTC)
Received: from [10.1.3.105] (cnet520-windstream.mcclatchyinteractive.com
 [166.108.16.2])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.lifanov.com (Postfix) with ESMTPSA id E0DD51A07B7;
 Tue, 29 Jan 2013 14:54:50 +0000 (UTC)
Message-ID: <5107E2B9.8090607@mail.lifanov.com>
Date: Tue, 29 Jan 2013 09:54:49 -0500
From: Nikolai Lifanov <lifanov@mail.lifanov.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20130109 Thunderbird/17.0.2
MIME-Version: 1.0
To: G B <g_patrickb@yahoo.com>
Subject: Re: BHyVe on 10-Current r245673
References: <1359468936.78130.YahooMailNeo@web162906.mail.bf1.yahoo.com>
In-Reply-To: <1359468936.78130.YahooMailNeo@web162906.mail.bf1.yahoo.com>
X-Enigmail-Version: 1.5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-current@freebsd.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jan 2013 14:54:51 -0000

On 01/29/2013 09:15 AM, G B wrote:
> I am using FreeBSD 10-Current r245673 as a host on an HP p2-1394.
> I have the host OS installed on 1 drive using UFS and a second
> drive using ZFS with a pool named 'tank.'  They layout for zfs for
> my guest install is /tank/guest01.
> 
> When using the command: # bhyveload -d
> /tmp/FreeBSD-9.1-RELEASE-amd64-disk1.iso -m 512 -h /tank/guest01
> guest01 && bhyve -c 2 -a -A -m 512 -g 0 -P -H -s 1,virtio-net,tap0
> -s 2,virtio-blk,diskdev guest01 && sleep 20 && ifconfig tap0 up
> 
> I get the boot screen for FreeBSD 9.1 and after the timed pause it
> fails with: Could not open backing file: No such file or directory 
> ACPI tables require and ioapic Assertion failed: (error == 0),
> function main, file /usr/src/usr.sbin/bhyve/bhyverun.c, line 774. 
> Abort (core dumped) root@localhost:/tmp#
> 
> I am using the bhyveload comamnd from a PDF I found from BSDCan but
> when I used the -m 768 -M 1024 as used in the doc it failed with a
> syntax error, so I switched to using just -m 512.  My .iso is in
> /tmp as indicated in my command with '-d'.
> 
> I'm guessing my command is wrong, but not sure where.  Any help
> would be appreciated.
> 
> Thanks, Gary _______________________________________________ 
> freebsd-current@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-current To
> unsubscribe, send any mail to
> "freebsd-current-unsubscribe@freebsd.org"
> 

> "diskdev" is your actual disk (i.e. -s 
> 2,virtio-blk,/dev/zvol/tank/guest01). Also, you need a zvol if you
> are doing this. Also, "-h" in bhyveload specifies a directory with
> a loader config, kernel, and modules. You definitely don't need it
> with an ".iso" boot.

Also, see examples here:
http://mirrors.nycbug.org/pub/BHyVe/r244024/INSTRUCTIONS-COPYRIGHT.txt
and files here: http://mirrors.nycbug.org/pub/BHyVe/r244024/

Also, check http://callfortesting.org/ for some more examples.

- Nikolai Lifanov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359468936.78130.YahooMailNeo>