From owner-freebsd-virtualization@FreeBSD.ORG Sun Jun 30 08:54:37 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 33681EC3 for ; Sun, 30 Jun 2013 08:54:37 +0000 (UTC) (envelope-from Martin.Birgmeier@aon.at) Received: from email.aon.at (smtpout02.highway.telekom.at [195.3.96.113]) by mx1.freebsd.org (Postfix) with ESMTP id 81ECC1820 for ; Sun, 30 Jun 2013 08:54:35 +0000 (UTC) Received: (qmail 11396 invoked from network); 30 Jun 2013 08:54:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on WARSBL507.highway.telekom.at X-Spam-Level: Received: from 178-190-56-101.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([178.190.56.101]) (envelope-sender ) by smarthub82.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 30 Jun 2013 08:54:33 -0000 X-A1Mail-Track-Id: 1372582473:11383:smarthub82:178.190.56.101:1 Received: from mizar-v1.xyzzy (mizar-v1.xyzzy [192.168.1.51]) by gandalf.xyzzy (8.14.5/8.14.5) with ESMTP id r5U8sX1a013514 for ; Sun, 30 Jun 2013 10:54:33 +0200 (CEST) (envelope-from Martin.Birgmeier@aon.at) Message-ID: <51CFF24A.5010103@aon.at> Date: Sun, 30 Jun 2013 10:54:34 +0200 From: Martin Birgmeier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: VirtualBox GUI: Fix memory size computation (native implementation of RTSystemQueryTotalRam) X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------020301080806090508080404" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Jun 2013 08:54:37 -0000 This is a multi-part message in MIME format. --------------020301080806090508080404 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit VirtualBox on FreeBSD needs an implementation of RTSystemQueryTotalRam. I have put together the attached patches, comments are welcome. Regards, Martin --------------020301080806090508080404 Content-Type: text/plain; charset=ISO-8859-1; name="patch-src-VBox-Runtime-Makefile.kmk" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-src-VBox-Runtime-Makefile.kmk" --- ./src/VBox/Runtime/Makefile.kmk.ORIG 2013-06-21 14:27:18.000000000 +0200 +++ ./src/VBox/Runtime/Makefile.kmk 2013-06-30 09:44:38.000000000 +0200 @@ -844,7 +844,7 @@ r3/posix/RTMemProtect-posix.cpp \ r3/posix/RTPathUserHome-posix.cpp \ r3/posix/RTSystemQueryOSInfo-posix.cpp \ - r3/posix/RTSystemQueryTotalRam-posix.cpp \ + r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp \ r3/posix/RTTimeNow-posix.cpp \ r3/posix/RTTimeSet-posix.cpp \ r3/posix/dir-posix.cpp \ --------------020301080806090508080404 Content-Type: text/plain; charset=ISO-8859-1; name="patch-src-VBox-Runtime-r3-freebsd-RTSystemQueryTotalRam-freebsd.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="patch-src-VBox-Runtime-r3-freebsd-RTSystemQueryTotalRam-free"; filename*1="bsd.cpp" --- ./src/VBox/Runtime/r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp.ORIG 2013-06-30 09:27:59.000000000 +0200 +++ ./src/VBox/Runtime/r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp 2013-06-30 09:51:29.000000000 +0200 @@ -0,0 +1,80 @@ +/* $Id: RTSystemQueryTotalRam-freebsd.cpp $ */ +/** @file + * IPRT - RTSystemQueryTotalRam, FreeBSD style + */ + +/* + * Copyright (C) 2013 Martin Birgmeier, Oracle Corporation + * + * This file is part of VirtualBox Open Source Edition (OSE), as + * available from http://www.virtualbox.org. This file is free software; + * you can redistribute it and/or modify it under the terms of the GNU + * General Public License (GPL) as published by the Free Software + * Foundation, in version 2 as it comes in the "COPYING" file of the + * VirtualBox OSE distribution. VirtualBox OSE is distributed in the + * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. + * + * The contents of this file may alternatively be used under the terms + * of the Common Development and Distribution License Version 1.0 + * (CDDL) only, as it comes in the "COPYING.CDDL" file of the + * VirtualBox OSE distribution, in which case the provisions of the + * CDDL are applicable instead of those of the GPL. + * + * You may elect to license modified versions of this file under the + * terms and conditions of either the GPL or the CDDL or both. + */ + + +/******************************************************************************* +* Header Files * +*******************************************************************************/ +#include +#include "internal/iprt.h" + +#include +#include +#include + +/* FreeBSD */ +#include +#include +#include + +RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) +{ + int mib[2]; + size_t pcblen = sizeof(*pcb); + + AssertPtrReturn(pcb, VERR_INVALID_POINTER); + + mib[0] = CTL_HW; + mib[1] = HW_PHYSMEM; /* HW_REALMEM is also possible, but + includes non-main memory as well */ + *pcb = 0; + if (sysctl(mib, 2, pcb, &pcblen, NULL, 0) == 0) { + if (pcblen == sizeof(*pcb)) + return VINF_SUCCESS; + else + return VERR_NO_MEMORY; /* XXX */ + } + return RTErrConvertFromErrno(errno); +} + +RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) +{ + int mib[2]; + size_t pcblen = sizeof(*pcb); + + AssertPtrReturn(pcb, VERR_INVALID_POINTER); + + mib[0] = CTL_HW; + mib[1] = HW_USERMEM; + *pcb = 0; + if (sysctl(mib, 2, pcb, &pcblen, NULL, 0) == 0) { + if (pcblen == sizeof(*pcb)) + return VINF_SUCCESS; + else + return VERR_NO_MEMORY; /* XXX */ + } + return RTErrConvertFromErrno(errno); +} --------------020301080806090508080404-- From owner-freebsd-virtualization@FreeBSD.ORG Sun Jun 30 10:35:32 2013 Return-Path: Delivered-To: freebsd-virtualization@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 386C2E9F for ; Sun, 30 Jun 2013 10:35:32 +0000 (UTC) (envelope-from m.tsatsenko@gmail.com) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id F29441A97 for ; Sun, 30 Jun 2013 10:35:31 +0000 (UTC) Received: by mail-ve0-f178.google.com with SMTP id pb11so2984574veb.23 for ; Sun, 30 Jun 2013 03:35:31 -0700 (PDT) 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:content-transfer-encoding; bh=OvT98zWVXXd2bfBbdi0uMUFK1KTtnc9VgT58BBJ1vxk=; b=bKOsndTBKtsDiy8I6g+jNPBLuGYEM7YHAMctjjw/dmuzmruaqxeEuyUw3iFpq9Jzu1 Ez5P5JnC0rsz6QBWGjVnQBCX1WsdG+bgERkdnUTyDy4qhPg2oNQ+C/pFsbhLs81VTxP8 Cn9rb1r4wZ3ogC7t0EfdJ99ew68D9ODahcaqE/6Q4q60QNs9lr+EpgLKHrgWYhgEmiQL JRWW3IryG2STkc4ih5PpIK+rxV5oYBDCFanaKcJ5Y2fuLD515YkGWstR9QXP1ZM5k4T0 w+pFyA9+KbUz40HLfQfXWxk2USc4ZqKcWQ5DOvzMG9KV6Kg2kqXSGyRz1OmRvUa8IE5P yGEQ== MIME-Version: 1.0 X-Received: by 10.52.32.133 with SMTP id j5mr6829745vdi.103.1372588531338; Sun, 30 Jun 2013 03:35:31 -0700 (PDT) Received: by 10.58.206.108 with HTTP; Sun, 30 Jun 2013 03:35:31 -0700 (PDT) In-Reply-To: <51CFF24A.5010103@aon.at> References: <51CFF24A.5010103@aon.at> Date: Sun, 30 Jun 2013 14:35:31 +0400 Message-ID: Subject: Re: VirtualBox GUI: Fix memory size computation (native implementation of RTSystemQueryTotalRam) From: Mikhail Tsatsenko To: Martin Birgmeier Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Jun 2013 10:35:32 -0000 2013/6/30 Martin Birgmeier : > VirtualBox on FreeBSD needs an implementation of RTSystemQueryTotalRam. > I have put together the attached patches, comments are welcome. Hi, Thanks for you work. Are you agree that the patches are under the MIT license? It is required for sending them upstream. > Regards, > > Martin > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@free= bsd.org" -- =ED=C9=C8=C1=C9=CC From owner-freebsd-virtualization@FreeBSD.ORG Sun Jun 30 10:46:49 2013 Return-Path: Delivered-To: freebsd-virtualization@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 6B4451E3 for ; Sun, 30 Jun 2013 10:46:49 +0000 (UTC) (envelope-from Martin.Birgmeier@aon.at) Received: from email.aon.at (nat-warsl417-01.aon.at [195.3.96.119]) by mx1.freebsd.org (Postfix) with ESMTP id BAF141AE4 for ; Sun, 30 Jun 2013 10:46:47 +0000 (UTC) Received: (qmail 12551 invoked from network); 30 Jun 2013 10:46:45 -0000 Received: from smarthub83.res.a1.net (HELO email.aon.at) ([172.18.1.203]) (envelope-sender ) by fallback44.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 30 Jun 2013 10:46:45 -0000 Received: (qmail 25593 invoked from network); 30 Jun 2013 10:46:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on WARSBL607.highway.telekom.at X-Spam-Level: Received: from 178-190-56-101.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([178.190.56.101]) (envelope-sender ) by smarthub83.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 30 Jun 2013 10:46:39 -0000 X-A1Mail-Track-Id: 1372589199:25574:smarthub83:178.190.56.101:1 Received: from mizar-v1.xyzzy (mizar-v1.xyzzy [192.168.1.51]) by gandalf.xyzzy (8.14.5/8.14.5) with ESMTP id r5UAkc5r019427; Sun, 30 Jun 2013 12:46:38 +0200 (CEST) (envelope-from Martin.Birgmeier@aon.at) Message-ID: <51D00C8F.9010102@aon.at> Date: Sun, 30 Jun 2013 12:46:39 +0200 From: Martin Birgmeier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 MIME-Version: 1.0 To: Mikhail Tsatsenko Subject: Re: VirtualBox GUI: Fix memory size computation (native implementation of RTSystemQueryTotalRam) References: <51CFF24A.5010103@aon.at> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 30 Jun 2013 10:46:49 -0000 Yes, I agree with using the MIT license. Regards, Martin On 06/30/13 12:35, Mikhail Tsatsenko wrote: > 2013/6/30 Martin Birgmeier : >> VirtualBox on FreeBSD needs an implementation of RTSystemQueryTotalRam. >> I have put together the attached patches, comments are welcome. > Hi, > Thanks for you work. > Are you agree that the patches are under the MIT license? It is > required for sending them upstream. >> Regards, >> >> Martin >> >> >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > > > -- > νΙΘΑΙΜ > > > From owner-freebsd-virtualization@FreeBSD.ORG Mon Jul 1 10:51:38 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D50E638C for ; Mon, 1 Jul 2013 10:51:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id B88FE1FED for ; Mon, 1 Jul 2013 10:51:38 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id kp12so4847650pab.21 for ; Mon, 01 Jul 2013 03:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kBrC8o1AkUydNSypgqf8Arr6eDgdbYSbWQr6oF7KQwk=; b=JkIa6/69W1Ijp6bAzg7DJvFLMFz03J0XNzGfLqboWeaOP1CUpOl71D2ay+HHiApunu EE/N+PXxHw2DcGh+xDB01QtF67WeUlVHdv1v/pno8CISDO93xtOLvJ0nUM0bcZAX0eSc K9t8tLP456FNR/z7buZaCY5NisdmBZU4xb8UNVtDLAU3ErSWdKCJ+1fsiyUxmrTEHt1V sGcbqrJ73IL1VWD7ftaIGJ1QxI2hwg2dRcbypYJNXtdVD+sVeAFmBd0CNef3sLqajoAc wSNtLnCq//vZQ1VuI8tph+S9GuRhVYzEtWVDkUF9mP8Ul8Nnd4vwOhXWRrFa7uDG7BNd YHIw== MIME-Version: 1.0 X-Received: by 10.67.2.71 with SMTP id bm7mr22810526pad.144.1372675898515; Mon, 01 Jul 2013 03:51:38 -0700 (PDT) Received: by 10.68.130.133 with HTTP; Mon, 1 Jul 2013 03:51:38 -0700 (PDT) Date: Mon, 1 Jul 2013 06:51:38 -0400 Message-ID: Subject: bhyve vs. physical cores From: Aryeh Friedman To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 01 Jul 2013 10:51:38 -0000 Can bhyve run more cores then are physically present... I have 2 vm's one with 2 cpu's and one with 1 on a 4 core host and the 2 core doesn't start if the 1 core is running but if I make both 1 core they both run just fine From owner-freebsd-virtualization@FreeBSD.ORG Mon Jul 1 11:06:57 2013 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 41065665 for ; Mon, 1 Jul 2013 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 31CD810F1 for ; Mon, 1 Jul 2013 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r61B6vkr085974 for ; Mon, 1 Jul 2013 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r61B6u4m085972 for freebsd-virtualization@FreeBSD.org; Mon, 1 Jul 2013 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Jul 2013 11:06:56 GMT Message-Id: <201307011106.r61B6u4m085972@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-virtualization@FreeBSD.org Subject: Current problem reports assigned to freebsd-virtualization@FreeBSD.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 01 Jul 2013 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/170096 virtualization[vimage] Dynamically-attached network interface will c o kern/169991 virtualization[run] [vimage] panic after device plugged in o kern/165252 virtualization[vimage] [pf] [panic] kernel panics with VIMAGE and PF o kern/161094 virtualization[vimage] [pf] [panic] kernel panic with pf + VIMAGE wh o kern/160541 virtualization[vimage][pf][patch] panic: userret: Returning on td 0x o kern/160496 virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE o kern/148155 virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel opt a kern/147950 virtualization[vimage] [carp] VIMAGE + CARP = kernel crash s kern/143808 virtualization[pf] pf does not work inside jail a kern/141696 virtualization[rum] [vimage] [panic] rum(4)+ vimage = kernel panic 10 problems total. From owner-freebsd-virtualization@FreeBSD.ORG Mon Jul 1 16:05:29 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9C7EA83D for ; Mon, 1 Jul 2013 16:05:29 +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 61D6F1276 for ; Mon, 1 Jul 2013 16:05:28 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id EB6E0122ED; Tue, 2 Jul 2013 02:05:26 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (mobile-198-228-215-165.mycingular.net [198.228.215.165]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BNB25409 (AUTH peterg@ptree32.com.au); Tue, 2 Jul 2013 02:05:25 +1000 Message-ID: <51D1A8C0.1020309@freebsd.org> Date: Mon, 01 Jul 2013 09:05:20 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: bhyve vs. physical cores References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 01 Jul 2013 16:05:29 -0000 > Can bhyve run more cores then are physically present... Should be able to. Try the '-P' option - it may help. > I have 2 vm's > one with 2 cpu's and one with 1 on a 4 core host and the 2 core > doesn't start if the 1 core is running but if I make both 1 core they > both run just fine When you say 'doesn't start' - does that mean it won't boot at all ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 20:21:09 2013 Return-Path: Delivered-To: freebsd-virtualization@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 F1B865FD for ; Tue, 2 Jul 2013 20:21:09 +0000 (UTC) (envelope-from avollmerhaus@googlemail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE5A134C for ; Tue, 2 Jul 2013 20:21:09 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id m6so4566430wiv.2 for ; Tue, 02 Jul 2013 13:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ImAGKUAPokvlwinTNFb9FpwoROFeIRElK9Tvxlf6Nys=; b=lRuAeZXFcAeu1KFbdAidu5MfM73AVbm5uIEffx1F4dRvJH2sR3T7mRdlN3yyk5+bV0 YQlCiJloDmU6GS9YIbSlmdEjjBR60tYtKA/uH2VXHpfC59ZQZDZEJqVp9PDKLmjfC9o7 425RHfkuPsqSNupXF5dkY2Uq0s7aGb0xrJgRvAaisJZ+K+V8kQTYrZlThAfLjOvCDVkQ uiS+3PWi2BXK9TyVdrhO2VEGmb38kfmGkvdwT9pwKSm1exad9+/MPW2HMcq1JvGO/3uH G69gBT1b6GHDWJtXJ7grQGNRNM5RCW1QAyvPEbt/3AU5b8oTd8kpy5nnxyD8gtEULFGN sg/w== X-Received: by 10.194.90.244 with SMTP id bz20mr25208157wjb.69.1372796468656; Tue, 02 Jul 2013 13:21:08 -0700 (PDT) Received: from [192.168.0.64] (p4FF12BF4.dip0.t-ipconnect.de. [79.241.43.244]) by mx.google.com with ESMTPSA id cd11sm25024804wib.10.2013.07.02.13.21.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 13:21:07 -0700 (PDT) Message-ID: <51D33631.6030807@googlemail.com> Date: Tue, 02 Jul 2013 22:21:05 +0200 From: Aljoscha Vollmerhaus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130521 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Problem with KVM / FreeBSD Guest Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 20:21:10 -0000 Hi folks, I'm having some problems getting FreeBSD to work as a guest os. The host is a linux machine using qemu / kvm for virtualization. Everything works fine when i give the vm only one cpu, but as soon as there ist more than 1 cpu involved, this happens: http://i.imgur.com/RnfCI46.png I installed using a single cpu and updated the system via freebsd-update, but no luck. Any ideas? Regards, A. Vollmerhaus From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 20:32:03 2013 Return-Path: Delivered-To: freebsd-virtualization@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 C8525BB2 for ; Tue, 2 Jul 2013 20:32:03 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by mx1.freebsd.org (Postfix) with ESMTP id 6296D145E for ; Tue, 2 Jul 2013 20:32:03 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id c10so5580311wiw.2 for ; Tue, 02 Jul 2013 13:32:02 -0700 (PDT) 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=I0fQVyG6eU079UOhZ9iyF2wt2XqV268ur/ViM55BgDI=; b=FKNo45g/dclWHDEwSeWhakudiK83u/jr1dOBgingTRCqgkN/etxU/2isUrP27JCy7x kjSAA09WRFHTgY/x62upFXWQAAs3rqBsqx1AJrCIx1usS2WNpSjB7SwBRRwiViEH+JM3 zrO/VVByRxbTDTcVlYcLoHIbOHlGYX3HkbZyL24yKAgQyLnNROzlDlstMN4277dpKAe9 F82DeLWLgRpDXMwxqskLsyxU3pToQkhtqgiW+ZfhnIT0Vl1zUSzfTtpzzJOsxt+OcCkh dmVea2nhSJULz7E1/PcZJRCoUDRfdfYVUIY+Rq0MmgY0pxwBGu/8P3j8f4rpz7YhDxld 24+w== MIME-Version: 1.0 X-Received: by 10.180.185.175 with SMTP id fd15mr16528928wic.34.1372797122526; Tue, 02 Jul 2013 13:32:02 -0700 (PDT) Received: by 10.194.23.165 with HTTP; Tue, 2 Jul 2013 13:32:02 -0700 (PDT) In-Reply-To: <51D33631.6030807@googlemail.com> References: <51D33631.6030807@googlemail.com> Date: Tue, 2 Jul 2013 13:32:02 -0700 Message-ID: Subject: Re: Problem with KVM / FreeBSD Guest From: Jack Vogel To: Aljoscha Vollmerhaus Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 20:32:03 -0000 What version/distro of Linux are you using. I've had both a 2 and 4 cpu kvm guest for development purposes here at Intel and it worked fine. Last I used it was on Fedora 17 if memory serves, its been a while. Jack On Tue, Jul 2, 2013 at 1:21 PM, Aljoscha Vollmerhaus < avollmerhaus@googlemail.com> wrote: > Hi folks, > > I'm having some problems getting FreeBSD to work as a guest os. > The host is a linux machine using qemu / kvm for virtualization. > > Everything works fine when i give the vm only one cpu, but as soon as > there ist more than 1 cpu involved, this happens: > http://i.imgur.com/RnfCI46.png > > I installed using a single cpu and updated the system via freebsd-update, > but no luck. > > Any ideas? > > Regards, > > A. Vollmerhaus > ______________________________**_________________ > freebsd-virtualization@**freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**virtualization > To unsubscribe, send any mail to "freebsd-virtualization-** > unsubscribe@freebsd.org " > From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 20:54:06 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 48B16112 for ; Tue, 2 Jul 2013 20:54:06 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 264FD167E for ; Tue, 2 Jul 2013 20:54:06 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id rl6so6732137pac.29 for ; Tue, 02 Jul 2013 13:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=j46vn5d8jpvov5nypA5BTGYVkUmLsFaamfjq7S1KPP8=; b=jS4vvz6seIQ+Addeo/M6VZTFUm7oECEnKjXezJtoe0sq+N+VSSTD0M03q9X2Qum/e2 qy6bFblo/uQReZNwgcsI4W0hkxZXCAoINLPl3IK2pQkV4kWavzJYqlTw8odlq/iR1mxF ubLmeRKuyW6tPfOeJtfmZ2pzG2pd6Nt+yEKRPDoT8zG4kLZ8s4HAABslPHiWKO1zU7tk OvZLMfVxF8T2P10AZ4/SSmg85QQISwVM9r/wO1AJMA2CsKef0poFXVgNOvE3tQHX9TBO sMpdJkB/OVRj0Ti1tVxH6B74QziDW37tyyYzvSqqq7d7vS1+d8jNckUZUcaTICUGhQ2/ +BkQ== MIME-Version: 1.0 X-Received: by 10.68.179.225 with SMTP id dj1mr30627286pbc.193.1372798444362; Tue, 02 Jul 2013 13:54:04 -0700 (PDT) Received: by 10.68.130.133 with HTTP; Tue, 2 Jul 2013 13:54:04 -0700 (PDT) Date: Tue, 2 Jul 2013 16:54:04 -0400 Message-ID: Subject: bhyve bug report and a question From: Aryeh Friedman To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 20:54:06 -0000 This is a bug report that is to informal for a PR... bhyve does not send a shutdown signal to guest OS's and wait from them to halt.... this is despite having -H on the command line From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 20:55:52 2013 Return-Path: Delivered-To: freebsd-virtualization@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 D6DCE2D4 for ; Tue, 2 Jul 2013 20:55:52 +0000 (UTC) (envelope-from avollmerhaus@googlemail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by mx1.freebsd.org (Postfix) with ESMTP id 6F702169B for ; Tue, 2 Jul 2013 20:55:52 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id y10so5113694wgg.8 for ; Tue, 02 Jul 2013 13:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=l0kqrBswZb2kwZhHj5f3XqW/tsqyxCj/CCk7Z+Ok2Pg=; b=0x9826gHtG6fr4U2EPz9JgBiJU3xjDcwuvgzL609jz/t9UsCf2zcz0QxQdJ03pXOj3 b3wQ+EP0UzSkU4jDW+5SiDJuWZVWqZKR/tMTUwZXmDzCKs39YgS7m4r5py6Ww5s2cJa2 X0+WzjFAcQI+fJqqbiF18gGup6sp7XUcqAy+JfHfgiYFHQJ4x2SgZZB4d1naRdRMAD4s BgeiJxdY5jyUe54uAHEia2u+oC6FRhNSTnsBVa8R3k2NNoslzOA1Lq4OIfe0/pV7x4R6 v44ulkQp21fXMfHn3gd7GLgs4nScrgD1l8SK+N1yLiUkPxu/n+wtgvW0IRIhETLD/mvR FL3g== X-Received: by 10.180.160.165 with SMTP id xl5mr16483680wib.46.1372798551573; Tue, 02 Jul 2013 13:55:51 -0700 (PDT) Received: from [192.168.0.64] (p4FF12BF4.dip0.t-ipconnect.de. [79.241.43.244]) by mx.google.com with ESMTPSA id u9sm25203206wif.6.2013.07.02.13.55.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 13:55:50 -0700 (PDT) Message-ID: <51D33E55.3010906@googlemail.com> Date: Tue, 02 Jul 2013 22:55:49 +0200 From: Aljoscha Vollmerhaus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130521 Thunderbird/17.0.6 MIME-Version: 1.0 To: Jack Vogel Subject: Re: Problem with KVM / FreeBSD Guest References: <51D33631.6030807@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 20:55:52 -0000 On 07/02/2013 10:32 PM, Jack Vogel wrote: > What version/distro of Linux are you using. I've had both a 2 and 4 > cpu kvm guest for > development purposes here at Intel and it worked fine. Last I used it > was on Fedora 17 > if memory serves, its been a while. > > Jack > Thanks for the quick reply, on the Host I'm running Gentoo Linux, kernel 3.7.10, qemu 1.4.1 (managed through libvirt). There 17 VMs, 1 Windows and the rest linux, they all work fine with up to 8 virtual cpus, so I'm guessing FreeBSD as a guest is at fault here. A. V. From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 22:36:47 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B083753C for ; Tue, 2 Jul 2013 22:36:47 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2C71A1E for ; Tue, 2 Jul 2013 22:36:47 +0000 (UTC) Received: from vincemacbook.unsane.co.uk (vincemacbook.unsane.co.uk [10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.7/8.14.6) with ESMTP id r62Maipb033370 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 2 Jul 2013 23:36:45 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <51D355FC.7090205@unsane.co.uk> Date: Tue, 02 Jul 2013 23:36:44 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Aljoscha Vollmerhaus Subject: Re: Problem with KVM / FreeBSD Guest References: <51D33631.6030807@googlemail.com> <51D33E55.3010906@googlemail.com> In-Reply-To: <51D33E55.3010906@googlemail.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 22:36:47 -0000 On 02/07/2013 21:55, Aljoscha Vollmerhaus wrote: > On 07/02/2013 10:32 PM, Jack Vogel wrote: >> What version/distro of Linux are you using. I've had both a 2 and 4 >> cpu kvm guest for >> development purposes here at Intel and it worked fine. Last I used it >> was on Fedora 17 >> if memory serves, its been a while. >> >> Jack >> > > Thanks for the quick reply, > > on the Host I'm running Gentoo Linux, kernel 3.7.10, qemu 1.4.1 > (managed through libvirt). > There 17 VMs, 1 Windows and the rest linux, they all work fine with up > to 8 virtual cpus, so I'm guessing FreeBSD as a guest is at fault here. > For what is worth I have -CURRENT and 9-STABLE KVM guests on a centos 6.4 KVM host. qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64 libvirt-0.10.2-18.el6_4.8.x86_64 [root@nodule.namesco.net ~]# uname -a Linux nodule.unsane.co.uk 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux So it certainly can work. I havent tested more than 4 CPUs that I can think of. Havent had to do anything special. Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-STABLE #1 r252202: Tue Jun 25 12:30:35 BST 2013 root@ipamtest.unsane.co.uk:/usr/obj/usr/src/sys/GENERIC amd64 gcc version 4.2.1 20070831 patched [FreeBSD] CPU: QEMU Virtual CPU version (cpu64-rhel6) (2333.39-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6d3 Family = 0x6 Model = 0xd Stepping = 3 Features=0x783f3fd Features2=0x80002001 AMD Features=0x20100800 AMD Features2=0x1 real memory = 2147483648 (2048 MB) avail memory = 2042982400 (1948 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Vince > A. V. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 23:04:02 2013 Return-Path: Delivered-To: freebsd-virtualization@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 CD521B10 for ; Tue, 2 Jul 2013 23:04:02 +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 922EB1B08 for ; Tue, 2 Jul 2013 23:04:02 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 3CBF01254E; Wed, 3 Jul 2013 09:04:00 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BNC00120 (AUTH peterg@ptree32.com.au); Wed, 3 Jul 2013 09:03:59 +1000 Message-ID: <51D35C5D.90703@freebsd.org> Date: Tue, 02 Jul 2013 16:03:57 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: bhyve bug report and a question References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 23:04:02 -0000 Hi Aryeh, > bhyve does not send a shutdown signal to guest OS's and wait from them > to halt.... This requires a couple of things - an ACPI event channel in bhyve to inform the guest of events, and a way to signal bhyve to raise these events e.g. a simulated power-button press. On the TODO list. > this is despite having -H on the command line Ah, so that's different: the -H option signals the VT-x hardware that it should exit when the guest issues a HALT instruction. This is then used by bhyve as an indication that the guest vCPU is in an idle state and can be put to sleep until an async event arrives. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Tue Jul 2 23:54:13 2013 Return-Path: Delivered-To: freebsd-virtualization@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 9C0812D0 for ; Tue, 2 Jul 2013 23:54:13 +0000 (UTC) (envelope-from avollmerhaus@googlemail.com) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) by mx1.freebsd.org (Postfix) with ESMTP id 31E701C86 for ; Tue, 2 Jul 2013 23:54:12 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id f11so5210650wgh.27 for ; Tue, 02 Jul 2013 16:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JFwFLzn3mMQoIC36TU9ZrfAcfsh/gc1tt1DwuJV8RyU=; b=rVfVUGm/fJwBZ+LQbYlfT3xHCFHvsvpfrzxU7GQ8gokbIXbNhjcCOY7kqhCRPzpgvr seazwBP1NDpyCATK696hOEfvqNMpFdN0YVxGZLOmrjT4OUwVbL5vikBIF1yTodYGq18d 7ZhphteualrBUkv3VzQPPQxV2k2j9l0+Hh9zqkZPhIYb5+1RPGjnp+T6Ca9kMM1nb7F/ rAV6S4UEppA+QBO2T28OMGEAqJGKtFM3qVPE9XsjcvhYUuhDv1IdYgFOSVeydUYlJKaM qzkR8tKxE10pH1h5kIsjDeLTnbm+LYTroLoBg/VmEwsZCsA5HS01j3QFtFmNLMQ7Imzg OcJQ== X-Received: by 10.194.243.226 with SMTP id xb2mr20500890wjc.67.1372809251426; Tue, 02 Jul 2013 16:54:11 -0700 (PDT) Received: from [192.168.0.64] (p4FF12BF4.dip0.t-ipconnect.de. [79.241.43.244]) by mx.google.com with ESMTPSA id h8sm25761577wie.1.2013.07.02.16.54.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 16:54:10 -0700 (PDT) Message-ID: <51D36820.3050006@googlemail.com> Date: Wed, 03 Jul 2013 01:54:08 +0200 From: Aljoscha Vollmerhaus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130521 Thunderbird/17.0.6 MIME-Version: 1.0 To: Vincent Hoffman Subject: Re: Problem with KVM / FreeBSD Guest References: <51D33631.6030807@googlemail.com> <51D33E55.3010906@googlemail.com> <51D355FC.7090205@unsane.co.uk> In-Reply-To: <51D355FC.7090205@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Jul 2013 23:54:13 -0000 On 07/03/2013 12:36 AM, Vincent Hoffman wrote: > For what is worth I have -CURRENT and 9-STABLE KVM guests on a centos > 6.4 KVM host. > > qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64 > libvirt-0.10.2-18.el6_4.8.x86_64 > [root@nodule.namesco.net ~]# uname -a > Linux nodule.unsane.co.uk 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 > 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux My libvirt is at 1.0.5.2, forgot to mention that. > > So it certainly can work. I havent tested more than 4 CPUs that I can > think of. Havent had to do anything special. > > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-STABLE #1 r252202: Tue Jun 25 12:30:35 BST 2013 > root@ipamtest.unsane.co.uk:/usr/obj/usr/src/sys/GENERIC amd64 > gcc version 4.2.1 20070831 patched [FreeBSD] > CPU: QEMU Virtual CPU version (cpu64-rhel6) (2333.39-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x6d3 Family = 0x6 Model = 0xd > Stepping = 3 > > Features=0x783f3fd > Features2=0x80002001 > AMD Features=0x20100800 > AMD Features2=0x1 When booted with a single cpu, it looks like this here: CPU: Intel Core 2 Duo P9xxx (Penryn Class Core 2) (2493.74-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x623 Family = 6 Model = 2 Stepping = 3 Features=0x1f83fbff Features2=0x80082201 AMD Features=0x20100800 AMD Features2=0x1 I used libvirts "copy host configuration" feature. (The CPUs are Xeon E5420, libvirt just seems to like to call them Core 2 Duo) Translates into this command: /usr/bin/qemu-system-x86_64 -machine accel=kvm -name iscsitarget -S -machine pc-i440fx-1.4,accel=kvm,usb=off -cpu Penryn,+dca,+pdcm,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 512 -smp 1,maxcpus=2,sockets=1,cores=2,threads=1 -uuid d7a0c1ec-3446-5bb9-57eb-dc081b3c7ddb -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/iscsitarget.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/dev/VMs/iscsitarget,if=none,id=drive-ide0-0-0,format=raw,cache=none,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/var/lib/libvirt/images/FreeBSD-9.1-STABLE-amd64-20130630-r252387-bootonly.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 -netdev tap,fd=22,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:71:94:0f,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:6 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 (sorry for the mess) I have tried to manually set the cpu configuration to 1 socket, 2 cores, hoping this would fix it (shotgun debugging), but no luck. I tried setting cpu to cpu64-rhel6 in libvirt, too - didn't help either. > ACPI APIC Table: At this point, the machine hangs for 1, 2sec when booting multi-cpu while with only one cpu, it goes straight on. > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 2 package(s) x 1 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > cpu0: on acpi0 > cpu1: on acpi0 > atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > > > Vince A. V. From owner-freebsd-virtualization@FreeBSD.ORG Wed Jul 3 00:05:48 2013 Return-Path: Delivered-To: freebsd-virtualization@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 9DDAF4C9 for ; Wed, 3 Jul 2013 00:05:48 +0000 (UTC) (envelope-from avollmerhaus@googlemail.com) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 359A71CE3 for ; Wed, 3 Jul 2013 00:05:48 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id q56so4834613wes.3 for ; Tue, 02 Jul 2013 17:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=VltCJJm7iKP9YEk1wxIOtW0FTuqh45SDKZdWYNN5IjY=; b=aTNYhi+/IR4J9/vBwLzBMqdyeJ9HWxTXJEJgmwVhqn/50CxdpS6rGuprf5qM3oF0l4 fHaVI7q3RCealNnZULbNwUxQ/+LLvwOZax/15B+JR78g07QJ9oyjk7J1+8dl13/7ABgK dcr9JPq7L/QtkxXbOgIv12RzgtD/dAfJqJoWG70uY8rm+fAZieaHYTDQHaNwrQ/FkwPN kRk9Xovwgy/6Hiai588lUozuwseqJLEZgho62/KVy2H2odNxYOFB/sjyJgjs4qEDMAbY 0SlsL9HD7oHqRpnP+fsKUmf9BZMFmsK937KuAMi6dSMiJO3f1C/bcguME4FD0RPhcGTO xGOA== X-Received: by 10.194.63.229 with SMTP id j5mr24511728wjs.79.1372809947269; Tue, 02 Jul 2013 17:05:47 -0700 (PDT) Received: from [192.168.0.64] (p4FF12BF4.dip0.t-ipconnect.de. [79.241.43.244]) by mx.google.com with ESMTPSA id fb9sm25777518wid.2.2013.07.02.17.05.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Jul 2013 17:05:46 -0700 (PDT) Message-ID: <51D36AD9.1060808@googlemail.com> Date: Wed, 03 Jul 2013 02:05:45 +0200 From: Aljoscha Vollmerhaus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130521 Thunderbird/17.0.6 MIME-Version: 1.0 To: Vincent Hoffman Subject: Re: Problem with KVM / FreeBSD Guest References: <51D33631.6030807@googlemail.com> <51D33E55.3010906@googlemail.com> <51D355FC.7090205@unsane.co.uk> In-Reply-To: <51D355FC.7090205@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 00:05:48 -0000 On 07/03/2013 12:36 AM, Vincent Hoffman wrote: > For what is worth I have -CURRENT and 9-STABLE KVM guests on a centos > 6.4 KVM host. > > > > > Vince Oh, I forgot to mention: Installed in the VMs harddisk is 9.1-RELASE (the one who gave me all the error messages). In the VMs optical drive is an iso of 9.1-STABLE, but that won't even boot the kernel - doesn't get past the loader. A. V. From owner-freebsd-virtualization@FreeBSD.ORG Wed Jul 3 15:19:01 2013 Return-Path: Delivered-To: freebsd-virtualization@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 BD374CCB for ; Wed, 3 Jul 2013 15:19:01 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 91B56126D for ; Wed, 3 Jul 2013 15:19:01 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so341813oag.12 for ; Wed, 03 Jul 2013 08:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/LYCzr4S7EIU3zS8NzgoW2chsxuJfK44sYVGJIghIGI=; b=afHx146FnjLpmNxFj7iWwMcchNt5FVEFOd+5v2CIdcN2iIld030Ti8WiBRnqL3fAoG QQj3vJzJWrBqM5hIBp9H9HmW7O4XSXtyvXbtDd8JU7vX2r6gataUu7A0+cd44YhJg5FK kXXzbD4OuXEwSkVSp4eFlul1OvUS3i85eIzB1NwrPYKM/vYNYHi/BMj3GgDqGt05t/19 6z1uJmMG/S6ZG+fyh6o2iPqjcKCgvB4+gLqczzFik/knhbpSVwAeFjhHcbveho92j+/+ bQy9ATipdJLGTyGY9D/jt1IzNJJIJT6DUaSGGFJiofAWQHnDb/qWdQjMfRBXEgsPG94w rJzg== MIME-Version: 1.0 X-Received: by 10.182.130.228 with SMTP id oh4mr1246390obb.38.1372864741193; Wed, 03 Jul 2013 08:19:01 -0700 (PDT) Received: by 10.60.142.40 with HTTP; Wed, 3 Jul 2013 08:19:01 -0700 (PDT) Date: Wed, 3 Jul 2013 11:19:01 -0400 Message-ID: Subject: help installing bhyve guest From: Aryeh Friedman To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 15:19:01 -0000 I am attempting to make the following install script to work: truncate -s 80G disk ifconfig tap3 down ifconfig tap3 up /usr/sbin/bhyvectl --vm=lts --destroy /usr/sbin/bhyveload -m 4096 -d lts.iso lts /usr/sbin/bhyve -c 3 -m 4096 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap3 -s 2:0,virtio-blk,disk -s 3:0,virtio-blk,lts.iso -S 31,uart,stdio lts Note that the final target of the install is Ubuntu 12.04 LTS but I was using the latest 10-CURRENT release.iso to make sure I was doing nothing weird. vmrun.sh works on the second but have not tested the first. Currently the only output I get is (and then it freezes): Consoles: userboot FreeBSD/amd64 User boot, Revision 1.1 (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013) \ can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK quit vm exit[0] reason VMX rip 0x0000000000000000 inst_length 0 error 0 exit_reason 33 qualification 0x0000000000000000 From owner-freebsd-virtualization@FreeBSD.ORG Wed Jul 3 16:42:51 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B2AC3E8 for ; Wed, 3 Jul 2013 16:42:51 +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 779151862 for ; Wed, 3 Jul 2013 16:42:51 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 2B55812642; Thu, 4 Jul 2013 02:42:49 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-69-181-164-196.hsd1.ca.comcast.net [69.181.164.196]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BNC51841 (AUTH peterg@ptree32.com.au); Thu, 4 Jul 2013 02:42:45 +1000 Message-ID: <51D4547C.1010707@freebsd.org> Date: Wed, 03 Jul 2013 09:42:36 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: help installing bhyve guest References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 16:42:51 -0000 Hi Aryeh, > /usr/sbin/bhyveload -m 4096 -d lts.iso lts ... > Currently the only output I get is (and then it freezes): > > Consoles: userboot > > FreeBSD/amd64 User boot, Revision 1.1 > (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013) > \ > can't load 'kernel' It's failing in the user-space loader - a kernel can't be found on the lts.iso that is being passed to it. This results in register state not being set up correctly in the VM, so it will exit immediately (note the RIP value of 0, and the exit code of 33, "VM-entry failure due to invalid guest state"). What does lts.iso look like ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Wed Jul 3 17:01:10 2013 Return-Path: Delivered-To: freebsd-virtualization@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 2B826734; Wed, 3 Jul 2013 17:01:10 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id E55441935; Wed, 3 Jul 2013 17:01:09 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id dn14so419479obc.2 for ; Wed, 03 Jul 2013 10:01:09 -0700 (PDT) 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 :content-type; bh=ktcZM7UygqFhr7TqGq99rXGX9EkhChGFa269hY4jzXc=; b=eVKwPGln4kGowSK26HiN2xXkl5CUj6lyKCh0i/Q3saE88Ldq0IHlbn943C25eZRngV V9Syoe0XeSkhXxSyGYxwJfOZxEYaPSnzCPNPFGlap/HPmdx/ENno29TnRh9jXdAU4+Nj 3RhzTQpesFqU1qYTetEAKsbP8ipsJHOBsefpwMbfucCWuDR5FpBDkoiLG8bMAGwefPVk b9KGbkFvOhvPYjgv3amjoCp0omD2IVBdhb+Mn4r9JggRFHOIW9u2c74S6sDLZUbg45vg z3fghWMbEiXZrQH6DxSMmNWUytKWJMkJfrlBmr8UbVvPg9I9fpa1LMsmZaLiNCkGTM/X JgfQ== MIME-Version: 1.0 X-Received: by 10.60.117.233 with SMTP id kh9mr1662984oeb.58.1372870869014; Wed, 03 Jul 2013 10:01:09 -0700 (PDT) Received: by 10.60.142.40 with HTTP; Wed, 3 Jul 2013 10:01:08 -0700 (PDT) In-Reply-To: <51D4547C.1010707@freebsd.org> References: <51D4547C.1010707@freebsd.org> Date: Wed, 3 Jul 2013 13:01:08 -0400 Message-ID: Subject: Re: help installing bhyve guest From: Aryeh Friedman To: Peter Grehan , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 17:01:10 -0000 it is a copy of ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-CURRENT-amd64-20130630-r252387-release.iso On Wed, Jul 3, 2013 at 12:42 PM, Peter Grehan wrote: > Hi Aryeh, > > >> /usr/sbin/bhyveload -m 4096 -d lts.iso lts > > ... > >> Currently the only output I get is (and then it freezes): >> >> Consoles: userboot >> >> FreeBSD/amd64 User boot, Revision 1.1 >> (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013) >> \ >> can't load 'kernel' > > > It's failing in the user-space loader - a kernel can't be found on the > lts.iso that is being passed to it. This results in register state not being > set up correctly in the VM, so it will exit immediately (note the RIP value > of 0, and the exit code of 33, "VM-entry failure due to invalid guest > state"). > > What does lts.iso look like ? > > later, > > Peter. > From owner-freebsd-virtualization@FreeBSD.ORG Wed Jul 3 17:06:20 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 90568839; Wed, 3 Jul 2013 17:06:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-oa0-x236.google.com (mail-oa0-x236.google.com [IPv6:2607:f8b0:4003:c02::236]) by mx1.freebsd.org (Postfix) with ESMTP id 54BD51970; Wed, 3 Jul 2013 17:06:20 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o6so527253oag.27 for ; Wed, 03 Jul 2013 10:06:20 -0700 (PDT) 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 :content-type; bh=1Ys5r17zY2U48Xv7+p/0KvBin5oczcFqu40wFejqFAY=; b=n6gREjdLljnvIzXY/FmCq9vYx4lbLB+jdgD7PXf+/26NjUR6JAQ7HQzesnXHlLbbOY iIlEzYpasZTprZh4tq0V09Iic+zD2K88clZ3wF8lrCZ5nqXsPsm7QV/S/zwi9cJr8gAP OYur5d4N/E4oqQutrCXF7F+82JPJTO7PXa0JImAKo4p/SOkyH33wE5f+uL4054BGH3qb BAdBbtkAWbTJ6cKiDMv62qPZUPWsZ6vuPW4HqyeMgMyr3NbvSjQNYcd0LGLymsMYozn7 V+tPayLlejQXTvIKEhrHRxs6TaVQbHq1zHatJf9I1DvDpWXmW4J/6znHnlEIJyGk4CK/ p+CQ== MIME-Version: 1.0 X-Received: by 10.182.16.137 with SMTP id g9mr1731829obd.17.1372871179994; Wed, 03 Jul 2013 10:06:19 -0700 (PDT) Received: by 10.60.142.40 with HTTP; Wed, 3 Jul 2013 10:06:19 -0700 (PDT) In-Reply-To: References: <51D4547C.1010707@freebsd.org> Date: Wed, 3 Jul 2013 13:06:19 -0400 Message-ID: Subject: Re: help installing bhyve guest From: Aryeh Friedman To: Peter Grehan , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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, 03 Jul 2013 17:06:20 -0000 Just a quick note refetching it to make sure On Wed, Jul 3, 2013 at 1:01 PM, Aryeh Friedman wrote: > it is a copy of > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/FreeBSD-10.0-CURRENT-amd64-20130630-r252387-release.iso > > On Wed, Jul 3, 2013 at 12:42 PM, Peter Grehan wrote: >> Hi Aryeh, >> >> >>> /usr/sbin/bhyveload -m 4096 -d lts.iso lts >> >> ... >> >>> Currently the only output I get is (and then it freezes): >>> >>> Consoles: userboot >>> >>> FreeBSD/amd64 User boot, Revision 1.1 >>> (aryeh@vcloud, Tue Jun 25 00:58:25 EDT 2013) >>> \ >>> can't load 'kernel' >> >> >> It's failing in the user-space loader - a kernel can't be found on the >> lts.iso that is being passed to it. This results in register state not being >> set up correctly in the VM, so it will exit immediately (note the RIP value >> of 0, and the exit code of 33, "VM-entry failure due to invalid guest >> state"). >> >> What does lts.iso look like ? >> >> later, >> >> Peter. >>