From owner-freebsd-virtualization@freebsd.org Sun Jan 10 00:00:01 2016 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 6EE69A6A50A for ; Sun, 10 Jan 2016 00:00:01 +0000 (UTC) (envelope-from barasingha@crossedbar.com) Received: from p3plsmtpa12-03.prod.phx3.secureserver.net (p3plsmtpa12-03.prod.phx3.secureserver.net [68.178.252.232]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5AA3F1C50 for ; Sun, 10 Jan 2016 00:00:00 +0000 (UTC) (envelope-from barasingha@crossedbar.com) Received: from TITAN ([209.94.253.146]) by p3plsmtpa12-03.prod.phx3.secureserver.net with id 3zyN1s00L3AH1mx01zyPwC; Sat, 09 Jan 2016 16:58:23 -0700 From: "barasingha" To: References: <000001d14b17$478b0840$d6a118c0$@com> <5691662B.30006@freebsd.org> In-Reply-To: <5691662B.30006@freebsd.org> Subject: RE: bhyve won't let go Date: Sat, 9 Jan 2016 17:58:28 -0600 Message-ID: <000d01d14b39$a3e46b50$ebad41f0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdFLF/ZbakOsz3hOSgWDAqg4rQhmnAAIZhVw Content-Language: en-us 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: Sun, 10 Jan 2016 00:00:01 -0000 Problem solved. Thanks. Barasingha -----Original Message----- From: owner-freebsd-virtualization@freebsd.org [mailto:owner-freebsd-virtualization@freebsd.org] On Behalf Of Allan Jude Sent: Saturday, January 09, 2016 1:58 PM To: freebsd-virtualization@freebsd.org Subject: Re: bhyve won't let go On 2016-01-09 14:52, barasingha wrote: > I am running 10.2 Release. > > > > I am running pfsense as a guest of bhyve. Using passthru, pfsense is > given > 2 nics. I wish to run the vm headless. > > > > I have written a rc script and can use the script to manually control > the vm or enable it to run at bootup. > > > > The problem is that I can't get both the guest and host to run at > boot. If vm is enabled, bootup hangs once bhyve is called. In this > scenario I can ssh into pfsense but not into the host. If I halt the > vm the host will finally continue to boot. > > > > When controlled manually the same thing happens, however I can then > open another shell to provide host control. > > > > sample: > > bhyveload -m 4G -c /dev/nmdm0A -d /directory/to/boot/disk name > > bhyve -c 2 -m 4G -A -H -P \ > > -s 0,hostbridge \ > > -s 1,lpc \ > > -s n,others \ > > -l com1, /dev/nmdm0A \ > > name > > > > Any ideas? I think I have a problem in /etc/ttys on either the host or vm. > > > > Thanks, > > Barasingha > > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > The bhyve command doesn't exit until the VM shuts down. Have your rc script that runs at startup, run vmrun or whatever you are doing via 'daemon' or something, so it goes into the background. -- Allan Jude From owner-freebsd-virtualization@freebsd.org Sun Jan 10 21:00:31 2016 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 8DCE5A6BC41 for ; Sun, 10 Jan 2016 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C3591B33 for ; Sun, 10 Jan 2016 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0AL01Wk004728 for ; Sun, 10 Jan 2016 21:00:31 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201601102100.u0AL01Wk004728@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 10 Jan 2016 21:00:31 +0000 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: Sun, 10 Jan 2016 21:00:31 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 202321 | [bhyve,patch] More verbose error reporting in bhy New | 202322 | [bhyve,patch] add option to have bhyve write its 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Tue Jan 12 13:09:22 2016 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 3D259A6C364 for ; Tue, 12 Jan 2016 13:09:22 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from mail1.yamagi.org (yugo.yamagi.org [212.48.122.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 080C31DC6 for ; Tue, 12 Jan 2016 13:09:21 +0000 (UTC) (envelope-from lists@yamagi.org) Received: from [192.168.100.101] (helo=aka) by mail1.yamagi.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1aIy9J-0000E2-35 for freebsd-virtualization@freebsd.org; Tue, 12 Jan 2016 13:34:09 +0100 Date: Tue, 12 Jan 2016 13:34:03 +0100 From: Yamagi Burmeister To: freebsd-virtualization@freebsd.org Subject: MFC of bhyve UEFI / Windows support? Message-Id: <20160112133403.32b27985cc9984042e08fea0@yamagi.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Tue, 12 Jan 2016 13:09:22 -0000 Hello, just a small question: Is a MFC of the bhyve UEFI / Windows support planed in time for FreeBSD 10.3? I've been running several Windows 10 instances under a patched 10-STABLE for some time now and at least for me they're totally stable and without any problems. Nevertheless having a regular release with bhyve UEFI / Windows support would be nice. My 10-STABLE branch has the following revisions merged from HEAD: - 284539 - 284630 - 284688 - 285217 - 286837 - 286838 - 288470 - 288522 - 288524 - 288826 - 289001 Regards, Yamagi -- Homepage: www.yamagi.org XMPP: yamagi@yamagi.org GnuPG/GPG: 0xEFBCCBCB From owner-freebsd-virtualization@freebsd.org Wed Jan 13 13:04:20 2016 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 DF6E2A8072D for ; Wed, 13 Jan 2016 13:04:20 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A07481BBF for ; Wed, 13 Jan 2016 13:04:20 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 4A1B66E005D; Wed, 13 Jan 2016 14:04:17 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u0DD4GZq065126; Wed, 13 Jan 2016 14:04:16 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u0DD4FHX064533; Wed, 13 Jan 2016 14:04:15 +0100 (CET) (envelope-from lars) Date: Wed, 13 Jan 2016 14:04:15 +0100 From: Lars Engels To: Yamagi Burmeister Cc: freebsd-virtualization@freebsd.org Subject: Re: MFC of bhyve UEFI / Windows support? Message-ID: <20160113130415.GY78415@e-new.0x20.net> References: <20160112133403.32b27985cc9984042e08fea0@yamagi.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vibeUmT56nyRRFD+" Content-Disposition: inline In-Reply-To: <20160112133403.32b27985cc9984042e08fea0@yamagi.org> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Wed, 13 Jan 2016 13:04:21 -0000 --vibeUmT56nyRRFD+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 12, 2016 at 01:34:03PM +0100, Yamagi Burmeister wrote: > Hello, > just a small question: Is a MFC of the bhyve UEFI / Windows support > planed in time for FreeBSD 10.3? I've been running several Windows 10 > instances under a patched 10-STABLE for some time now and at least for > me they're totally stable and without any problems. Nevertheless having > a regular release with bhyve UEFI / Windows support would be nice. >=20 > My 10-STABLE branch has the following revisions merged from HEAD: > - 284539 > - 284630 > - 284688 > - 285217 > - 286837 > - 286838 > - 288470 > - 288522 > - 288524 > - 288826 > - 289001 +1 for this suggestion! --vibeUmT56nyRRFD+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWlktPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t1OYIAMrzJ597/JCzW3bDBesTy0Ca 9RBemZX4Z0MbeY9jEFIQITUWVxuGBlpRDBjXOfbXSSXSqzCZ3RDSTf7scHDZK8Qn 5+pAFiyFqwskL9FsobzgIeXoGA6nWUDX5gjpY3Bh/mSiU9YaLIP+qGo9s9HryBAD DHBUm5dfh9yZwOGtz50FRbyvEFeI/fXa9Q32pffQbcL6n/PNsPECaBajBpQn2OZ6 gikPl3BxUZh2AUd4hfNUSLzdh7pCEtYg4w8FXO84nSpUOoi4qJ3Edfcyg8CvTLuu G++Y0E07eqo14ORdVH987GQ7LnP4lzhSA8FNxIKvKJk6pEaLEnLkWfAAxTqeD7I= =46v6 -----END PGP SIGNATURE----- --vibeUmT56nyRRFD+-- From owner-freebsd-virtualization@freebsd.org Wed Jan 13 16:22:48 2016 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 DE5B0A80EEE for ; Wed, 13 Jan 2016 16:22:48 +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 A217C1EE5 for ; Wed, 13 Jan 2016 16:22:48 +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 C180220B4B6D for ; Thu, 14 Jan 2016 02:13:35 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id BB3F1281132 for ; Thu, 14 Jan 2016 02:13:35 +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 K6GMDsNuzJit for ; Thu, 14 Jan 2016 02:13:35 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 51DFE280A63; Thu, 14 Jan 2016 02:13:32 +1000 (AEST) Subject: Re: MFC of bhyve UEFI / Windows support? To: Yamagi Burmeister References: <20160112133403.32b27985cc9984042e08fea0@yamagi.org> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <569677AD.5040706@freebsd.org> Date: Wed, 13 Jan 2016 08:13:33 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160112133403.32b27985cc9984042e08fea0@yamagi.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=BP8T1AkG c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=3FMX7HLxAAAA:8 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=6I5d2MoRAAAA:8 a=C_IRinGWAAAA:8 a=N659UExz7-8A:10 a=7aQ_Q-yQQ-AA:10 a=0uFyY4kOSlQIRrLS2_0A:9 a=pILNOxqGKmIA:10 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: Wed, 13 Jan 2016 16:22:49 -0000 Hi, > just a small question: Is a MFC of the bhyve UEFI / Windows support > planed in time for FreeBSD 10.3? Not planned. > I've been running several Windows 10 > instances under a patched 10-STABLE for some time now and at least for > me they're totally stable and without any problems. Nevertheless having > a regular release with bhyve UEFI / Windows support would be nice. > > My 10-STABLE branch has the following revisions merged from HEAD: You've done most of the work :) Contact neel@ and myself offline and hopefully we may be able to get this in. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed Jan 13 16:50:54 2016 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 B9851A81900 for ; Wed, 13 Jan 2016 16:50:54 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) Received: from nm34-vm6.bullet.mail.ne1.yahoo.com (nm34-vm6.bullet.mail.ne1.yahoo.com [98.138.229.86]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8872012EA for ; Wed, 13 Jan 2016 16:50:53 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452703653; bh=bD/T6z2mWokw+zVUnNV/SY/fvrtEDwVHxWsE8MVqX8U=; h=Subject:From:To:Date:From:Subject; b=UkURswds1BFADlZZb47T7bvhwAfVKYS4GUXT+FE6jt9Yyvt4UEFtU2W9fE27wFXrUvQBVfiogz0PSOEuYqRKgxKwBkDmyWzpfdlftHQYkkMIR/YXL+BnTj6mH0iEouT7HAe0PTuI8JgOR08dPvRdtsMK9It74dlThHMeiwdGSvbxKZef3FBgIGVS9QNwJ04ZOlMk3a8Pmh/n2kD+JYAybs81Nvm+5QMho8PzkAIpD3nvSonmO9tAHr/CC6uLCQyAaQN+2uU3KAD4RoMRi/8OfqdSxbQ3Km55IVp85vAmGvvLuTaOIPXPl2s0CrF5M3kWORMPvXlXT28GYXC+5vLwfg== Received: from [127.0.0.1] by nm34.bullet.mail.ne1.yahoo.com with NNFMP; 13 Jan 2016 16:47:33 -0000 Received: from [98.138.101.128] by nm34.bullet.mail.ne1.yahoo.com with NNFMP; 13 Jan 2016 16:44:49 -0000 Received: from [98.138.226.124] by tm16.bullet.mail.ne1.yahoo.com with NNFMP; 13 Jan 2016 16:44:49 -0000 Received: from [127.0.0.1] by smtp203.mail.ne1.yahoo.com with NNFMP; 13 Jan 2016 16:44:49 -0000 X-Yahoo-Newman-Id: 195460.36656.bm@smtp203.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: 3X58eggVM1lr0uasSJGg6JFC0EHmlFkvebbuQJUD_a089E6 kRMf_XGipQ9FBmZc6Yb0nhgBzy7GFbrjxu4hguEw30BnMoLswktFIPwo9kDJ WgGisVTyLIhEqoq.DRG8dfbajR9L8Cdq6N6E2C38jReGdnH6isRPikxrAxdg vlbQlpZEszR2nxSIAp_cp7Bu16KgZhz9CESyzHe0InGRiCV6SOr_q_w3EnSq NK8vzT58mbCCqN0CGJzfLXBeIktX.kEfh_vk6Z_5aQhKRxX1l_7PSLXobDi4 XUoMVDBbMbQ9KCaaI8cvEo27Dc4aSLIW4DgXS6eFBOpqaAn6Fw1ghOd6c.se g02eFTmItk8UPectpomgl_XQJqMy7ABJNx5EkcN4q3sV7GtZW51qdGw0Q1aL aG6LwYN.SY8xe.4MgcDyDe0YKjDu8OZJ1a.GCN_kZ.RpvF6B9ERk3IgQAzJl yGgbfdByMJXyX2d5lP4gAPsey7BjoewPy_iAa4w2qAYogV7JdPnIi.5FPsSg jqJTvz6fPRTZu6cACuufgLdTPLOoek7r0YUeY_TyzXnE- X-Yahoo-SMTP: 6sUo5IiswBDB2TZm6JKJ6DaI.Rsz4O0- Message-ID: <1452703487.2393.2.camel@yahoo.com> Subject: UEFI with Linux guests From: Georgios Amanakis To: freebsd-virtualization@freebsd.org Date: Wed, 13 Jan 2016 11:44:47 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3 Mime-Version: 1.0 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: Wed, 13 Jan 2016 16:50:54 -0000 Hello, I'd like to ask whether UEFI is supported with Linux guests. I know it already works on HEAD with Windows guests. I tried to run Archlinux with the UEFI binaries supplied on the FAQ of Bhyve but it fails. Regards, George From owner-freebsd-virtualization@freebsd.org Wed Jan 13 18:11:37 2016 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 0881CA816D5 for ; Wed, 13 Jan 2016 18:11:37 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FAE411A6 for ; Wed, 13 Jan 2016 18:11:36 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-lb0-x230.google.com with SMTP id bc4so294608402lbc.2 for ; Wed, 13 Jan 2016 10:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XMJSV698Imju0o1SsyJCXyM21MMrkf1eIOr3TXZA26Q=; b=g8+FIMXZed/xtKwa8i38O87aBOxKt3xY8hg1mADYuwZEins/NIyb94n+tZ86rrua22 TqJzYiwnllc5MQ/IxT7fO7BmhB5lsdPfuGdbdmJ5eSEswBNZvPaGdMfB1RUdLZyWy7ds 8ckkCG1wBARe6HkjM7D30GQ84vHGzrAHfMxZU2Q+295KGDG2wG+BkETIJtLRbRDTgA9t jyI11hEyAEvM7fl9LDbiz1yOnEYGdIrnfe+zJE6PD0IXysPQT9dgw3V5xu5wJvoCXy6u MY2KWBkmKTqIDOq+f2KdJjXsltfr3j07b84bqpzo0WPVjWrYqmg+muGcxdoCTGGTbLaC YiDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XMJSV698Imju0o1SsyJCXyM21MMrkf1eIOr3TXZA26Q=; b=M3tM6Z5xygiVPOSqNbCn2tAkFWDxURZLb1obvInTUNSH2VWgb8gWyJfeCuV+ahq+QD WxVwVRETqOfxTE6/nzu3pdFhmeLzJpFPUZotjWQf3dNxQ1Yi2IDWsVCTKD0l8S1a4IYM GwqzU79OGEVK6QNTxKNzmWw08PImrHdsA4k2fPHWf1u2i1yRQUjO4YRIWlSa/2CkK1aP wK3a4Sro11/VS/UNnIKiHBBdHzsbvb4WUnPP6nK4tTf1OPlVLBFKppPYq5VP538NGCH+ 1ekUz6WGw6G6sl+LrdSsKM0ka9Q8pDacZvSjrBEopwkNu06nfNlcUt8JdGxty/LxW0iC OzlA== X-Gm-Message-State: ALoCoQloaV29n8cagxs8jGcj1suSOQXTLsQoiuqidy5ApVDnBuEWv5K4AuaTwjKPEeqtTlXlZtlgiiFCueNrzNXk2OXBV1E7bw== MIME-Version: 1.0 X-Received: by 10.112.157.69 with SMTP id wk5mr51501374lbb.74.1452708693346; Wed, 13 Jan 2016 10:11:33 -0800 (PST) Received: by 10.25.170.83 with HTTP; Wed, 13 Jan 2016 10:11:33 -0800 (PST) In-Reply-To: <1452703487.2393.2.camel@yahoo.com> References: <1452703487.2393.2.camel@yahoo.com> Date: Wed, 13 Jan 2016 11:11:33 -0700 Message-ID: Subject: Re: UEFI with Linux guests From: Trent Thompson To: Georgios Amanakis Cc: FreeBSD virtualization Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Wed, 13 Jan 2016 18:11:37 -0000 George, I've had limited success in running Linux guests using UEFI. When using the NON-CSM firmware, I can manually edit the GRUB menu to force a serial console to be used. I can then boot into the install environment and get the distro installed to the hard disk. After installation is done, I can start the guest with UEFI firmware again and have a usable OS. There is a pretty major catch though, after I destroy the guest using bhyvectl, then try to boot it once more with UEFI, it will fail to boot correctly (hard drive error, if I recall). I never got as far as trying it out with the CSM firmware, though. I've tried this on a few different Linux "flavors" but I have not tried Arch specifically. I hope any of this helps! -Trent From owner-freebsd-virtualization@freebsd.org Thu Jan 14 03:27:02 2016 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 8D89EA6D5D2 for ; Thu, 14 Jan 2016 03:27:02 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) Received: from nm16-vm3.bullet.mail.ne1.yahoo.com (nm16-vm3.bullet.mail.ne1.yahoo.com [98.138.91.146]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5308718EA for ; Thu, 14 Jan 2016 03:27:01 +0000 (UTC) (envelope-from g_amanakis@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1452741887; bh=LKgeED91t0tQJLne9b5E11F3PwXUuzvmBwF2on5xE3w=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From:Subject; b=HVajom4dSjFwvInLIEcKm1tNJib5DYK7tMWwDXLmvU6KkheyPjCvYH2MNznrjHu3ApielHYP6Rt9FyLVbrzFpEdYLWcs8Dat3iGaO4RY3w/ziFyfK5/f1sOZWm5JB7qY9Pr6++6PNJ3oyFPCHlxxCI6C9PQZbN8R37n1MDVn7F/8Ns5Qjz6N4NpC/pacvLrOaNX3AXV3EirtWekEtbOmwb32cBwrFqscc8d29zb3fbhzmhr/wxPMDMED+jdfge89TBt8KJ/caAIlNFDJrzAMHBHO9SpKRDUDXKHRebAkk1wtX/l0PEFS6BzJs7Pu7pFgyE5MRPr/lqE4OIykqnLKEQ== Received: from [98.138.100.102] by nm16.bullet.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 Received: from [98.138.84.46] by tm101.bullet.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 Received: from [127.0.0.1] by smtp114.mail.ne1.yahoo.com with NNFMP; 14 Jan 2016 03:24:47 -0000 X-Yahoo-Newman-Id: 432415.25522.bm@smtp114.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: upy4VzcVM1knhbT3.goUZdgaRbZ05kxtuHddTuBhxQxP3kx hLie4IAWZT2C4tWyMPwzIWHfJuHxelY.9WoOPmD6wJR5ZUMG48IGO2XqwaxS 966RBV8uX9ccOTWfgSxXCxqXTihH6UMucHSInIWfXGPH6ptItIyLbWGHy_ue hAOKQ_tOON3Z3m8vnLpgAaE_mrhdmouFWivxJbigOymZCOVHI.D5FDLNlR5a 5GZaKtpO3mwG8AZu_lVBHapMvRsuQGdJK9yVGgKyHokDvxIy4srDTW5cF.p5 qCeO.HHJSydAhhhMr.KeYso3GUfNJgQwuaF1ufWvIHqWaQzgjgpFA2Stm3yC voI9bqxylsdkyYb5SQpnCa4SC5UT9mIhaWx7E5cBzyXdLEZwl5Uz9VmA45y6 sNd9aBjqS.v2BRVoWdRDStfae6HpXmsovyQupNvpJoEMX.2sNylGpJryek1A IqZ0ny6_01BssE2CgrtkAUjdUMW0hzuEJjXTHq2OvvWmVL7soydiwW96RPBq QQohNTWz4ezo0JwOi8Tvy40u3vszXG4N69A-- X-Yahoo-SMTP: 6sUo5IiswBDB2TZm6JKJ6DaI.Rsz4O0- Message-ID: <1452741886.7959.1.camel@yahoo.com> Subject: Re: UEFI with Linux guests From: Georgios Amanakis To: Trent Thompson Cc: FreeBSD virtualization Date: Wed, 13 Jan 2016 22:24:46 -0500 In-Reply-To: References: <1452703487.2393.2.camel@yahoo.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Thu, 14 Jan 2016 03:27:02 -0000 Trent, Thank you for the valuable feedback. Indeed I successfully run archlinux by using the UEFI binaries on the bhyve FAQ page and appending "console=3DttyS0" to the boot option of GRUB. Regards,=C2=A0 George On Wed, 2016-01-13 at 11:11 -0700, Trent Thompson wrote: > George, >=20 > I've had limited success in running Linux guests using UEFI. When > using the NON-CSM firmware, I can manually edit the GRUB menu to > force a serial console to be used.=C2=A0 >=20 > I can then boot into the install environment and get the distro > installed to the hard disk. After installation is done, I can start > the guest with UEFI firmware again and have a usable OS.=C2=A0 > There is a pretty major catch though, after I destroy the guest using > bhyvectl, then try to boot it once more with UEFI, it will fail to > boot correctly (hard drive error, if I recall). >=20 > I never got as far as trying it out with the CSM firmware, though.=C2=A0= =C2=A0 >=20 > I've tried this on a few different Linux "flavors" but I have not > tried Arch specifically.=C2=A0 >=20 > I hope any of this helps! >=20 > -Trent >=20 From owner-freebsd-virtualization@freebsd.org Thu Jan 14 14:19:23 2016 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 54E54A8279C for ; Thu, 14 Jan 2016 14:19:23 +0000 (UTC) (envelope-from jad@sinodun.com) Received: from shcp01.hosting.zen.net.uk (shcp01.hosting.zen.net.uk [88.98.24.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 191331155 for ; Thu, 14 Jan 2016 14:19:22 +0000 (UTC) (envelope-from jad@sinodun.com) Received: from [62.232.251.194] (port=21864 helo=[192.168.11.20]) by shcp01.hosting.zen.net.uk with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1aJhvS-0003u1-Gd for freebsd-virtualization@freebsd.org; Thu, 14 Jan 2016 13:26:56 +0000 From: "John Dickinson" To: freebsd-virtualization@freebsd.org Subject: patch to improve use of ZFS volumes with vmrun.sh Date: Thu, 14 Jan 2016 13:26:56 +0000 Message-ID: <297CFBF1-625A-4B41-AB6A-2ACDD0E703C4@sinodun.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_B0048A7E-0E0C-466F-B147-D18860AADF8A_="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Mailer: MailMate (1.9.3r5187) X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp01.hosting.zen.net.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sinodun.com X-Get-Message-Sender-Via: shcp01.hosting.zen.net.uk: authenticated_id: jad+sinodun.com/only user confirmed/virtual account not confirmed 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: Thu, 14 Jan 2016 14:19:23 -0000 This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_B0048A7E-0E0C-466F-B147-D18860AADF8A_= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, In case it is of use to anyone, here is a little patch to improve use of = ZFS volumes with vmrun.sh --- /usr/share/examples/bhyve/vmrun.sh 2015-08-12 15:27:20.000000000 +000= 0 +++ ./vmrun.sh 2016-01-14 13:17:27.972055736 +0000 @@ -166,11 +166,24 @@ make_and_check_diskdev() { local virtio_diskdev=3D"$1" + local ZVOL=3D0 # Create the virtio diskdev file if needed - if [ ! -f ${virtio_diskdev} ]; then + case "${virtio_diskdev}" in + /dev/zvol/*) ZVOL=3D1 ;; + esac + + if [ $ZVOL -eq 0 ]; then + if [ ! -f ${virtio_diskdev} ]; then echo "virtio disk device file \"${virtio_diskdev}\" does not e= xist." echo "Creating it ..." truncate -s 8G ${virtio_diskdev} > /dev/null + fi + else + if [ ! -c ${virtio_diskdev} ]; then + echo "virtio disk device volume \"${virtio_diskdev}\" does n= ot exist." + echo "Please create it" + exit 1 + fi fi = if [ ! -r ${virtio_diskdev} ]; then regards John John Dickinson http://sinodun.com Sinodun Internet Technologies Ltd. Magdalen Centre Oxford Science Park Robert Robinson Avenue Oxford OX4 4GA U.K. --=_MailMate_B0048A7E-0E0C-466F-B147-D18860AADF8A_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBAgAGBQJWl6IgAAoJEC3GFEI9J+IsJzgP/2BU8klYLbtL6paKwppMkIP9 7hTtmdo4fo7FSx7fgq1ISQZKlA8Ecni4fTAWhIfdXZEex3hldPj6Wx3/u2Zxuf4v ey0qsSb9dwO0M9mflpxBcvUsVByT3D3P4DBn8KGLcTytMfeh2RNByZ68hhO/CIUf f2S6ANpu/H4mYG2+UbvQiKowMCmam+BN0mtN8fT/B4v0t38+p0OC4auJppMNJvkt NAH4BGZM1izX0mT8XsXrnQfbJYz7owGr6Ea9o97t806xW4bheUnKnVkAbWdvPbNj zCYfL0zKa0skzGEizdt+hZVQb57pwnKw15VI/Qh547GNu0CDyRU3EPL3HkmgBKqC tlOASdi+YnFYublhtviHLa/lbscTSksLxmgkbZn7ctBmWVCKhe+u1JJuJjVP7lCx sXEpF0v/PHAMWDFEY2BGFx8d0ow/z3gu/VsixEQm22NNRNge8Lht3oR7a5DihiWi FC7uQdla8SxbMVBUURHRtC7XpIFtHArYFlNoxbEy9xh2Jd/PBxLJitqit5nxETgK qn/hNCEFu+Zol9oQDqG46iJ32s8cP6rndf4bZa423kXUDnFdpMP9PF+C0fCkkjzd KFZnAXFM5WKW9I+nqWCelSxcs5jX9ouiocsV280/2r0S/IXJKMqNfW2sLfDOBpFW Rag72nrcL3WyAWUrhb1+ =/21H -----END PGP SIGNATURE----- --=_MailMate_B0048A7E-0E0C-466F-B147-D18860AADF8A_=--