From owner-freebsd-virtualization@FreeBSD.ORG Mon Oct 20 16:30:54 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F25CF15 for ; Mon, 20 Oct 2014 16:30:54 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9777F6 for ; Mon, 20 Oct 2014 16:30:53 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A0F9C621DF for ; Mon, 20 Oct 2014 16:30:52 +0000 (UTC) Message-ID: <544538D6.80101@freebsd.org> Date: Mon, 20 Oct 2014 12:31:18 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: moving from virtualbox to bhyve References: <20141020162043.GA66615@potato.growveg.org> In-Reply-To: <20141020162043.GA66615@potato.growveg.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oRlt8iu73hmg5cKjoVCHCogjnFGKgHaA2" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 20 Oct 2014 16:30:54 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oRlt8iu73hmg5cKjoVCHCogjnFGKgHaA2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2014-10-20 12:20, John wrote: > Hi, >=20 > I'm trying to move from virtualbox to bhyve. From the server I've succe= ssfully > converted an ubuntu guest on vbox to raw. What I'm trying to do is to l= oad that > into bhyve, (on another freebsd server) and I'm at the limits of my kno= wledge=20 > here; this isn't my speciality. >=20 > The most recent information relevant to what I want to do, I found at=20 > https://www.monkeybrains.net/support/bhyve >=20 > but (not his fault!) what I'm trying to accomplish is not what he set o= ut to do. >=20 > Has anyone done what I'm trying to do, or anyone know how to do it? The= furthest=20 > I got was with this, the guest.img is the raw ubuntu from vbox: >=20 > # bhyve -AI -H -P -s 0:0,hostbridge -s 1,lpc -s 2:0,virtio-net,tap1 -s = 3:0,virtio-blk, \ > ./guest.img -l com1,stdio -c 4 -m 1024M linuxguest >=20 > [ 0.000000] Initializing cgroup subsys cpuset > [ 0.000000] Initializing cgroup subsys cpu > [ 0.000000] Initializing cgroup subsys cpuacct > [ 0.000000] Linux version 3.11.0-26-generic (buildd@comet) (gcc vers= ion 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #45-Ubuntu SMP Tue Jul 15 04:= 02:06 UTC 2014 (Ubuntu 3.11.0-26.45-generic 3.11.10.12) > [ 0.000000] Command line: console=3DttyS0 BOOT_IMAGE=3D/boot/vmlinuz= -3.11.0-26-generic root=3DUUID=3D9cd5a28b-8746-41f3-9b0e-8a950b8c5206 ro > [ 0.000000] KERNEL supported cpus: > [ 0.000000] Intel GenuineIntel > [ 0.000000] AMD AuthenticAMD > [ 0.000000] Centaur CentaurHauls > =20 > [...] >=20 > [ 0.696113] io scheduler deadline registered (default) > [ 0.696437] io scheduler cfq registered > [ 0.696705] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 > [ 0.697052] pciehp: PCI Express Hot Plug Controller Driver version: = 0.4 > [ 0.697502] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/= input/input0 > [ 0.697951] ACPI: Power Button [PWRF] > [ 0.698214] GHES: HEST is not enabled! > [ 0.698808] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled= > [ 0.719861] 00:01: ttyS0 at I/O 0x3f8 (irq =3D 4) is a 16550A > [ 0.740907] 00:02: ttyS1 at I/O 0x2f8 (irq =3D 3) is a 16550A > [ 0.742883] Linux agpgart interface v0.103 > [ 0.744250] brd: module loaded > [ 0.745010] loop: module loaded > Segmentation fault (core dumped) >=20 > thanks, >=20 What version of FreeBSD are you using? You might want to try the latest 10.1 RC (or HEAD if you are so included) instead, as they have much improved bhyve. --=20 Allan Jude --oRlt8iu73hmg5cKjoVCHCogjnFGKgHaA2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJURTjZAAoJEJrBFpNRJZKf7ekQAKtf6TLXiSt/cMruEOel+ca2 nr9MLQnmIY4vXOXOBHboWx6ndI3fFtQaGXSEsiTibjZ/lH8oZTTEoT5GFRsCUjD7 HaPiReJMRFh7tqwZz3xjQLPrfxJBk62+iqd4ef95j2rWj4vUnox11gDtKcQjUMjd zx3KPbuDTkx0mHXEzHnZi5u4AK8dEM6//tT9PdgUgCHYKdXTKk9pD/Et8suIeFxm V8nyWLCLVbBJZ2BrVUdiGI8yGeh9M1BkOyLsEfMNxWYLAZ20BmwjYqJsrlX4PD4k hgHSD9tIE9NmzJaWUDKGd1mg+zHgl/pdN9yR4eProEq1snkL7LbwhaWnPVrykPbg NdJcsSpqjO5FoXbmdiJ8iEUtK8r/TyqPt1ugOU5/Vb6tnuVAfgoSybp/palVkxvS GuPYGGlZD3gb9uBuwwzKXSJ2DhBvGsCTqTEv8hUNznq8CL6c1b2bzFKlBrnhodz4 TpcncpKYLRRuPY7N8W2erXPDZtjDW0QrWoAXvdmrQo7MezZ0BiP9pdE1R94VdkeV OTxqIZiiRelbnKNudbotsjtU95jDMScPRSWtGMju5RVfRdUCvbbBfCGkLadvz8W4 XkcJxNJR7VenuHysIn7VNk75FCUmyPHDIUw6WJBCh/xq4VO28qrcTKNpiZcD1BM6 +oMbavTferYrQedA3PS0 =lD1F -----END PGP SIGNATURE----- --oRlt8iu73hmg5cKjoVCHCogjnFGKgHaA2--