From owner-freebsd-virtualization@FreeBSD.ORG Mon Mar 11 10:39:14 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 C47E297A for ; Mon, 11 Mar 2013 10:39:14 +0000 (UTC) (envelope-from bounces+freebsd-virtualization=freebsd.org@dynect-mailer.com) Received: from mtaout-236-pao.email7.skillpagesmail.com (mtaout-236-pao.email7.skillpagesmail.com [216.146.32.236]) by mx1.freebsd.org (Postfix) with ESMTP id 919565EB for ; Mon, 11 Mar 2013 10:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=MTA2; d=skillpagesmail.com; h=MIME-Version:Date:Message-ID:From:To:Subject:Sender:List-Unsubscribe:Content-Type:Reply-To; i=no-reply@skillpagesmail.com; bh=1nJLQhm2ERPxD9MJ3/j95wscZoA=; b=ecklFT6xEUU/x7LIQxSMZDHR3afy+BCEghXIJzHN6xwc4K2aP+M0s8IXRGR63LmsFlNCKoN7Y/Q6 llrIeBLiQp+0oLjeOv5yyt2ujUBum8JnDqXoanvCFMXaCKTxUeWW DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=MTA2; d=skillpagesmail.com; b=Ff7zWOy2zLdWU37pWX3BwVDRqmU1jTptPaUxgrRZZSxipWYJg6p7YT9gs6aoIiB+Lfzsz5L82OxU 7DNzuJGYa+4OjhxOXDIyovYlluEQr+RaHveAsrXPUR8wI+ZcmrIu; Received: from Dynect (216.146.41.16) by mtaout-236-pao.email7.skillpagesmail.com (PowerMTA(TM) v3.5r16) id h7mq5418iesi for ; Mon, 11 Mar 2013 10:39:02 +0000 (envelope-from ) MIME-Version: 1.0 Date: Mon, 11 Mar 2013 10:38:56 +0000 Message-ID: <55123499C9E3E4C8F0065DBC9024191DF63837D0@USPRODSVCEML000> X-Priority: 3 (Normal) From: "Alexander Petrovsky" X-Mailer: www.skillpages.com_CK To: freebsd-virtualization@freebsd.org Subject: Alexander Petrovsky has added you on SkillPages Sender: "Alexander Petrovsky via SkillPages Team" X-Skillpagesmail.com-ClientID: {3b5110fc-c474-538f-940c-689a66a63db7} X-FullCode: Invite_Invitation_{0}_NonUser X-EmailId: 6i5--YoqEeKvho5bqd0N0Q2 Errors-To: 6i5--YoqEeKvho5bqd0N0Q2@skillpagesmail.com X-Origin: sl0 X-DynectEmail-Msg-Hash: qBOBTgXouCaEXg0smXVuisUudxZc3cgE21xJXNxzS8O1iBR42jnVromniXeEzWh1dlZeLI7Ntjp4HLZcvZvMMK3N/PK7vuTo1OkdLXxdlxfNfJrTAlYhRh8E1VA5Vvbm Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alexander Petrovsky List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 10:39:14 -0000 Hi, Become a part of your friend's network. Alexander Petrovsky Invite sent: 11 March, 2013 Continue freebsd-virtualization@freebsd.org was invited to join SkillPages by Alexand= er Petrovsky. To stop receiving emails from SkillPages click here . =A9 2013 SkillPages, Blackrock Business Park, Dublin, Ireland and 228 Hamilt= on Avenue, 3rd Floor, Palo Alto, CA 94301. From owner-freebsd-virtualization@FreeBSD.ORG Mon Mar 11 11:06: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 08CD8B77 for ; Mon, 11 Mar 2013 11:06:52 +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 EDBCE7E2 for ; Mon, 11 Mar 2013 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BB6pMn089194 for ; Mon, 11 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2BB6p2j089190 for freebsd-virtualization@FreeBSD.org; Mon, 11 Mar 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Mar 2013 11:06:51 GMT Message-Id: <201303111106.r2BB6p2j089190@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, 11 Mar 2013 11:06:52 -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/IPFilter + VIMAGE k 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 Mar 11 18:08: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 E36589C for ; Mon, 11 Mar 2013 18:08:06 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id BD9B6651 for ; Mon, 11 Mar 2013 18:08:06 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id k13so5083181iea.7 for ; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=CG/z/b0eGB/vGFPspnH86kLw8+LaT4K6xd/dO7WIJmc=; b=rTtp7gCc047nBIL6te8VyEtqokQJdvAWYK4Ecz2sSQhIJdLw1xR+ZE/xhuYDTENmFo UNvrq2K8LLjQwDLygBvudZcv1+8EuATgOihWaw89GrIqyqnSjsP09m6Ac3N9FyeikZ8r iJ56RqECkLVWg5jBq7d4j8nEJrdSDtqjRmp8KvXLc586TJCTIbRvIrHgr3pscTzTLzpP 1ew2O3x6KeMxZqkAfURz+HxZjqsr/n8KBfVrL66ySxfQsrsH2z4cYcGk9AOEsinF5Gld mKa7x9VzyFKLbvpw0gvBeE8NT6krbjbhbZfNmWJu/b1Tcza5RsvbU/MNIaDtCPnMTRgj 2SnA== MIME-Version: 1.0 X-Received: by 10.50.213.97 with SMTP id nr1mr8185223igc.36.1363025285803; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) Received: by 10.42.23.132 with HTTP; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) Date: Mon, 11 Mar 2013 11:08:05 -0700 Message-ID: Subject: bhyve: simplify memory assignment to VMs From: Neel Natu 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, 11 Mar 2013 18:08:06 -0000 Hi, I am going to commit a change soon that simplifies how memory is assigned to a VM from a command line perspective. At the moment if you want to create a VM with say 8GB of memory you need to express this as "-m 2048 -M 6144" or "-m 1024 -M 7168" or some split that adds up to 8192MB. This is very flexible but is also very confusing to most users who don't know or care about the location of the PCI hole. I am going to change this so that the memory size is specified entirely with the "-m " option and the "-M" option will disappear altogether. Of course, this means that scripts using "-M" will break and hence this heads up. I did consider making this a backward compatible change but given the stage of development of bhyve it seemed early to start accumulating compatibility crud. best Neel From owner-freebsd-virtualization@FreeBSD.ORG Mon Mar 11 19:29:55 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 BD78D452 for ; Mon, 11 Mar 2013 19:29:55 +0000 (UTC) (envelope-from josiaslg@bsd.com.br) Received: from mail-gh0-f169.google.com (mail-gh0-f169.google.com [209.85.160.169]) by mx1.freebsd.org (Postfix) with ESMTP id 82F2EAC4 for ; Mon, 11 Mar 2013 19:29:55 +0000 (UTC) Received: by mail-gh0-f169.google.com with SMTP id r18so687544ghr.28 for ; Mon, 11 Mar 2013 12:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=x-received:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version:x-mailer; bh=Kvzeqa4tMZcq1mUOPsVwYInnC21dnCRsNaiMKYH30Hs=; b=XrJyt9kOt7eI+mxbbiAnA/IDfKByL5GaLwB18OyZFLdLkCpIpCJE6rCuekgBsmsPJM w9JBN8YtV6qwqnRrZJOR5sPikc4cRWKT7mN4WqO7Iveuzn7oCHSX2DXK35ima0UA3OZA Zvly/QbZqGIg769jMoDJHti/eZFFPWghdhi8Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version:x-mailer:x-gm-message-state; bh=Kvzeqa4tMZcq1mUOPsVwYInnC21dnCRsNaiMKYH30Hs=; b=B/9wavvto+AnNZAgrCv6T1iI12Ijd4duGUOza7k/zMSKeKEvJ2pSOEK1de6h9X90WB FzzfYfFZ4P+gq8UwNlsnFXUJns91bnTAexRZSjJ6KHZJuOZV2jQUHrLwcWZmD/88H2oq gqGFNvYS989BJBMGEuXdbTACH8emUubxWN8Bc76n3QajW02IUqC35mTQpSKxP1F2oF5R +oEjctoFZxSXWiR2O3xeUIa+JYXoWdvFhjYPOmro90/opwg4C+994ldK5GNVxcgUDtaJ aQCoVPTsEUG5iwt1I8JKvRRfCLyl78PXqIOXZ+zstq1X3RA/lqKMsFg/Rg1mA/RSAuMJ HAIA== X-Received: by 10.236.82.65 with SMTP id n41mr7087081yhe.66.1363030194233; Mon, 11 Mar 2013 12:29:54 -0700 (PDT) Received: from [192.168.244.100] (201.86.188.253.dynamic.adsl.gvt.net.br. [201.86.188.253]) by mx.google.com with ESMTPS id x8sm25461012yhn.12.2013.03.11.12.29.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Mar 2013 12:29:53 -0700 (PDT) From: "Josias L.G." Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 64bit - 32bit Message-Id: Date: Mon, 11 Mar 2013 16:29:47 -0300 To: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQmKqBwDsuI+duNuwdMmbY7rFJcUcsPsgQ2gZ/OpVWzDkNfjHic5t9GoHjjm8BTC+YI0bQMR 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, 11 Mar 2013 19:29:55 -0000 Hi, Can i install and use a FreeBSD guest 32bit system ?. The bhyve server = is FreeBSD 10 Current 64bit.=20 Best. =20= From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 04:24:27 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 E97A1FF2 for ; Tue, 12 Mar 2013 04:24:27 +0000 (UTC) (envelope-from surajswami10@gmail.com) Received: from mail-qe0-f43.google.com (mail-qe0-f43.google.com [209.85.128.43]) by mx1.freebsd.org (Postfix) with ESMTP id A194C742 for ; Tue, 12 Mar 2013 04:24:27 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id 1so2759542qee.30 for ; Mon, 11 Mar 2013 21:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=2209AuSvkLmr2A7VTS5VjbYt4TthHmsDU1ZAPaJvyZM=; b=L9ua4mcw6AsyxpZf1L7T1o65vLs5gmGfbNFqYdA/qhauiI9tHDvnh5ncvJ/a3LC256 vttAV2fKFiYTTSjps24Sf8uW9RU/iLBfohkmbH3E5Wg/VItt9nZTAZk1MnbTUDorlMk1 pa05yMBP0lLceu+dGrnl1y1n56EoGhFYL7ai+zJ0p/5N5+5L38I0zvDlU+/7/NpTwOyw LfzV5dzNo//tq5jzQz0U7ua/CAhG9769HhND2J5YDu03rO/VW1A20WIIHlvoxg0BmdDZ r5gcFI6yxjW30Od+glODz0OjQ2dXSj4lxMCP1COmbgbpQYa0HIbQFjANVDayNR7BfiID 8FYQ== MIME-Version: 1.0 X-Received: by 10.224.27.136 with SMTP id i8mr20683810qac.63.1363062261214; Mon, 11 Mar 2013 21:24:21 -0700 (PDT) Received: by 10.49.49.7 with HTTP; Mon, 11 Mar 2013 21:24:21 -0700 (PDT) Date: Tue, 12 Mar 2013 00:24:21 -0400 Message-ID: Subject: Help: Getting started with bhyve From: suraj swaminathan To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 12 Mar 2013 04:24:28 -0000 Hi, I am really interested in the bhyve project. For starters I loaded FreeBSD 10.0-CURRENT version. I went ahead and did a kldload vmm.ko hoping to load the kernel module, but vmm.ko was not found. I am also unsure where the bhyve project source code should be present(having downloaded the source code). Should it be under /usr/src/sys? Do I have to checkout the code from the repository? I am new to FreeBSD, forgive my ignorance. Thanks, Suraj From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 04:49:04 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 3E7B7373 for ; Tue, 12 Mar 2013 04:49:04 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 298477C6 for ; Tue, 12 Mar 2013 04:49:03 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 3D6481A3C1D; Mon, 11 Mar 2013 21:48:56 -0700 (PDT) Message-ID: <513EB3B4.3060704@mu.org> Date: Mon, 11 Mar 2013 21:48:52 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: suraj swaminathan Subject: Re: Help: Getting started with bhyve 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, 12 Mar 2013 04:49:04 -0000 On 3/11/13 9:24 PM, suraj swaminathan wrote: > Hi, > > I am really interested in the bhyve project. For starters I loaded > FreeBSD 10.0-CURRENT version. I went ahead and did a kldload vmm.ko hoping > to load the kernel module, but vmm.ko was not found. I am also unsure where > the bhyve project source code should be present(having downloaded the > source code). Should it be under /usr/src/sys? Do I have to checkout the > code from the repository? > > I am new to FreeBSD, forgive my ignorance. Bhyve was only recently integrated into FreeBSD 10. What date is your system built? You can tell via the output of "uname -a". If it's more than a month or two old, you may need to download more recent sources and "make world". -Alfred From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 14:11: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 A5A4FB1F for ; Tue, 12 Mar 2013 14:11:13 +0000 (UTC) (envelope-from surajswami10@gmail.com) Received: from mail-qe0-f42.google.com (mail-qe0-f42.google.com [209.85.128.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5927FB61 for ; Tue, 12 Mar 2013 14:11:13 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id f6so3007054qej.1 for ; Tue, 12 Mar 2013 07:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=IXFyWuGmHQkAoenXeNOIDSbo0DZ/IMo7vXVsXhIm5ks=; b=m7oSGMd4hr6MyAdfQ4Ps2Ktd2kKJDvYW8TOOopnQ1pVV47AXQnEsSL0IJtyizdznjx /qnPwQAVtSqLDvKla+jR4pBdQmwf+3/DZjy+NurWWqI072eQ3fmRBqMBfJB8k/N+Sd0r f8DxhCYTvEhffvpqMMTVvyroygicTnJC9+qvXXw9hZQrmS7J6CWxbwCoNHXjF/6ax1gu qvCEDziPkp6j7eLHeTIYP7q3V8rVFVWkc9M7zN52E7ar8BbMjkv+2WfR3hxy+ctLlMB8 CkHSon4YVfSx3cjk2EOvOOBSPgFl4v5aeCg9RB1lLIjgcJCuhDQUK4RxLm7TohLNuSUe JHUg== MIME-Version: 1.0 X-Received: by 10.224.31.73 with SMTP id x9mr22662034qac.11.1363097472504; Tue, 12 Mar 2013 07:11:12 -0700 (PDT) Received: by 10.49.49.7 with HTTP; Tue, 12 Mar 2013 07:11:12 -0700 (PDT) In-Reply-To: <513EB3B4.3060704@mu.org> References: <513EB3B4.3060704@mu.org> Date: Tue, 12 Mar 2013 10:11:12 -0400 Message-ID: Subject: Re: Help: Getting started with bhyve From: suraj swaminathan To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 12 Mar 2013 14:11:13 -0000 uname -a yeilds: FreeBSD suraj FreeBSD 10.0-CURRENT #0: Sat Feb 23 08:42:38 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Also I have down loaded mt image from http://ftp4.us.freebsd.org/pub/FreeBSD/snapshots/i386/i386/ISO-IMAGES/10.0/ Is there some other place to look for the ISO? -Suraj On Tue, Mar 12, 2013 at 12:48 AM, Alfred Perlstein wrote: > On 3/11/13 9:24 PM, suraj swaminathan wrote: > >> Hi, >> >> I am really interested in the bhyve project. For starters I loaded >> FreeBSD 10.0-CURRENT version. I went ahead and did a kldload vmm.ko hoping >> to load the kernel module, but vmm.ko was not found. I am also unsure >> where >> the bhyve project source code should be present(having downloaded the >> source code). Should it be under /usr/src/sys? Do I have to checkout the >> code from the repository? >> >> I am new to FreeBSD, forgive my ignorance. >> > > Bhyve was only recently integrated into FreeBSD 10. What date is your > system built? You can tell via the output of "uname -a". > > If it's more than a month or two old, you may need to download more recent > sources and "make world". > > -Alfred > From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 15:07:41 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 00115C59 for ; Tue, 12 Mar 2013 15:07:40 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id D8D1BF0F for ; Tue, 12 Mar 2013 15:07:40 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 6E0891A3CE6; Tue, 12 Mar 2013 08:07:40 -0700 (PDT) Message-ID: <513F44B6.8010208@mu.org> Date: Tue, 12 Mar 2013 08:07:34 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: suraj swaminathan Subject: Re: Help: Getting started with bhyve References: <513EB3B4.3060704@mu.org> 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, 12 Mar 2013 15:07:41 -0000 On 3/12/13 7:11 AM, suraj swaminathan wrote: > uname -a yeilds: > > FreeBSD suraj FreeBSD 10.0-CURRENT #0: Sat Feb 23 08:42:38 UTC 2013 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Hmm, it seems you have an i386 system. I tink bhyve is only supported on amd64. Is this a new machine with a modern 64bit cpu? If so then you need to install the 64bit version of FreeBSD. > > Also I have down loaded mt image from > http://ftp4.us.freebsd.org/pub/FreeBSD/snapshots/i386/i386/ISO-IMAGES/10.0/ > > Is there some other place to look for the ISO? > > -Suraj > > On Tue, Mar 12, 2013 at 12:48 AM, Alfred Perlstein wrote: > >> On 3/11/13 9:24 PM, suraj swaminathan wrote: >> >>> Hi, >>> >>> I am really interested in the bhyve project. For starters I loaded >>> FreeBSD 10.0-CURRENT version. I went ahead and did a kldload vmm.ko hoping >>> to load the kernel module, but vmm.ko was not found. I am also unsure >>> where >>> the bhyve project source code should be present(having downloaded the >>> source code). Should it be under /usr/src/sys? Do I have to checkout the >>> code from the repository? >>> >>> I am new to FreeBSD, forgive my ignorance. >>> >> Bhyve was only recently integrated into FreeBSD 10. What date is your >> system built? You can tell via the output of "uname -a". >> >> If it's more than a month or two old, you may need to download more recent >> sources and "make world". >> >> -Alfred >> From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 15:28:38 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 BADEA4E0 for ; Tue, 12 Mar 2013 15:28:38 +0000 (UTC) (envelope-from surajswami10@gmail.com) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by mx1.freebsd.org (Postfix) with ESMTP id 813532BF for ; Tue, 12 Mar 2013 15:28:38 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id z4so64640qan.12 for ; Tue, 12 Mar 2013 08:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=d5uHTsVvmlVIs1A2Uc4aYIMTaOidR8rMhvpVvTSPHYY=; b=UZgqUKXy6ZsI6U3xL8MV/dyr56m9vKoLMpoD16/aBQ6Ae2qhJxRi5NLxGjWiqjwPCf 8yFKnROBA0O0RzBG4TYVBhI7t990tFAmGPbduJZ8eUPoQhPBqs+MUZrBN4T9nQA7COab fhzrv5JBnBWydCprym8brLyxo96YDIVdx+8emDSMFKVI9N31rxEftZL6MhaoAITx7uO4 7+kI3VrpxlQTNYhVKKSOcCuUVRoj2Zxic8n2tTEn0BWEowlm6hYg9HVvLCEDBnKwSnS3 4XRjR999vrLXyZPTvnMhw1OtiYJjb0g7Q9wsX+VUTz6u5w1s4Fe4KxshAqSu5y8s8m4K k9ww== MIME-Version: 1.0 X-Received: by 10.49.50.197 with SMTP id e5mr2784143qeo.42.1363102111833; Tue, 12 Mar 2013 08:28:31 -0700 (PDT) Received: by 10.49.49.7 with HTTP; Tue, 12 Mar 2013 08:28:31 -0700 (PDT) In-Reply-To: <513F44B6.8010208@mu.org> References: <513EB3B4.3060704@mu.org> <513F44B6.8010208@mu.org> Date: Tue, 12 Mar 2013 11:28:31 -0400 Message-ID: Subject: Re: Help: Getting started with bhyve From: suraj swaminathan To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 12 Mar 2013 15:28:38 -0000 I have intel i5 processor. Hence i386 version. Okay now it makes sense(If bhyve is supported only on amd64). Guess I have to get hold of a machine with amd64, use the iso from: http://ftp4.us.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/ Correct me if I'm wrong. Thanks, Suraj On Tue, Mar 12, 2013 at 11:07 AM, Alfred Perlstein wrote: > On 3/12/13 7:11 AM, suraj swaminathan wrote: > >> uname -a yeilds: >> >> FreeBSD suraj FreeBSD 10.0-CURRENT #0: Sat Feb 23 08:42:38 UTC 2013 >> root@snap.freebsd.org:/usr/**obj/usr/src/sys/GENERIC i386 >> > > Hmm, it seems you have an i386 system. I tink bhyve is only supported on > amd64. > > Is this a new machine with a modern 64bit cpu? If so then you need to > install the 64bit version of FreeBSD. > > > >> Also I have down loaded mt image from >> http://ftp4.us.freebsd.org/**pub/FreeBSD/snapshots/i386/** >> i386/ISO-IMAGES/10.0/ >> >> Is there some other place to look for the ISO? >> >> -Suraj >> >> On Tue, Mar 12, 2013 at 12:48 AM, Alfred Perlstein wrote: >> >> On 3/11/13 9:24 PM, suraj swaminathan wrote: >>> >>> Hi, >>>> >>>> I am really interested in the bhyve project. For starters I >>>> loaded >>>> FreeBSD 10.0-CURRENT version. I went ahead and did a kldload vmm.ko >>>> hoping >>>> to load the kernel module, but vmm.ko was not found. I am also unsure >>>> where >>>> the bhyve project source code should be present(having downloaded the >>>> source code). Should it be under /usr/src/sys? Do I have to checkout the >>>> code from the repository? >>>> >>>> I am new to FreeBSD, forgive my ignorance. >>>> >>>> Bhyve was only recently integrated into FreeBSD 10. What date is your >>> system built? You can tell via the output of "uname -a". >>> >>> If it's more than a month or two old, you may need to download more >>> recent >>> sources and "make world". >>> >>> -Alfred >>> >>> > From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 15:32:08 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 92E2375A for ; Tue, 12 Mar 2013 15:32:08 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id 6185B33D for ; Tue, 12 Mar 2013 15:32:08 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h2so5866497oag.38 for ; Tue, 12 Mar 2013 08:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=c+X24SVaYy4Q+OKkm0v9RMSjMmspM0LPEuL8SCGcONA=; b=OrAJjPCAOpOtUoInnyfOYbHLYzajFkWYHnno/o13hkJORLRrpGegK1VJ75MPvtmYib BoABa+8OJlxohMXUvmcmNUCggwLD6OB4WcfWt7H2hstgBUszViyCZIVLx1KB3Pj3LbsE i0CrPQXThqNTITmbhUxBto1ZcYh4O02bWUrmzsnBibWR1MW+6zywY1SePmWjqPZF7w6U fkJoVocpsYYxJ+/DWjJWB2MgMxO8IaKhl2XUbqfEIjm/GVCWvGE9oraMJdOtaChz5xKe XId1Gcq0fAP4T58+Zg5UY3jW0tY2wRTQsn5Q1Xckq5PVzth+ZTXSqLqgdu6jOggmvHgW wIzQ== MIME-Version: 1.0 X-Received: by 10.60.21.101 with SMTP id u5mr12830607oee.71.1363102321816; Tue, 12 Mar 2013 08:32:01 -0700 (PDT) Received: by 10.76.94.12 with HTTP; Tue, 12 Mar 2013 08:32:01 -0700 (PDT) In-Reply-To: References: <513EB3B4.3060704@mu.org> <513F44B6.8010208@mu.org> Date: Tue, 12 Mar 2013 16:32:01 +0100 Message-ID: Subject: Re: Help: Getting started with bhyve From: Andreas Nilsson To: suraj swaminathan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alfred Perlstein , 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, 12 Mar 2013 15:32:08 -0000 Intel Core i5 *is* 64-bit, see http://ark.intel.com/products/43546/Intel-Core-i5-650-Processor-4M-Cache-3_20-GHz( this is a really old i5 ) Best regards Andreas On Tue, Mar 12, 2013 at 4:28 PM, suraj swaminathan wrote: > I have intel i5 processor. Hence i386 version. > Okay now it makes sense(If bhyve is supported only on amd64). Guess I have > to get hold of a machine with amd64, use the iso from: > > http://ftp4.us.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/ > Correct me if I'm wrong. > > Thanks, > Suraj > > > From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 15:33:42 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 7A0658BE for ; Tue, 12 Mar 2013 15:33:42 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id E139636C for ; Tue, 12 Mar 2013 15:33:41 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id 15so6092493wgd.4 for ; Tue, 12 Mar 2013 08:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=95of+ONim0GD97mwHT3Dlp68OpUP6pI9j7CARHu5vXM=; b=Ak5zJTzNuQEEs+Wifm7t52e3vEPADqYiFjRkLGoYFbreMA4Jb35toi2uyvlSJOuPRO mXIDoqQteWRL8r7liq4XjuYyxCvmENTMG+qn0vpppN5xOhwLTPW18Pbr2aeMMCwm712X CPXyWyCAXHeElr2s+YXgRLwvM0MybbkkXYPjs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=95of+ONim0GD97mwHT3Dlp68OpUP6pI9j7CARHu5vXM=; b=beM7bXaJBqwl4eqRw9aRifMnoWHFC0JEEfNdpY5cijYSQtva1mX2IAif8YntxH0yJB 3Qr4P7fSXO7Go9ZRGYDJRmNW2gszXlTOC+55u1aF+crq+WVbma+QNDTgiHUmZO8UHebJ UZg7byLXm/uTL4lTOVoesajkb/0Rie1HTZudAEMgNnqceFJL/QcqQi7KbQnhouOhfoxt NFySLd62fw0Gp7c3UpTWllq66zdmHD1JWU1dYIk+gLMLcvJao26j6i5ge6asQzgQSOt3 acuErGmgLYn+AhaJLEYOD84JRQ1TLNQvSNC5g5zFnqY75Z6jsUNmy8KFP3JgdhFSy1EU OXJw== X-Received: by 10.180.185.43 with SMTP id ez11mr20878283wic.28.1363102415071; Tue, 12 Mar 2013 08:33:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.108.106 with HTTP; Tue, 12 Mar 2013 08:33:04 -0700 (PDT) In-Reply-To: References: <513EB3B4.3060704@mu.org> <513F44B6.8010208@mu.org> From: Eitan Adler Date: Tue, 12 Mar 2013 11:33:04 -0400 Message-ID: Subject: Re: Help: Getting started with bhyve To: suraj swaminathan Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkRon+MGPm70q3gaUNC2K8a1IkXfe30u1M6dUccK90/Mug/NPcPdYG5SdorDRRuSEuRwACg Cc: Alfred Perlstein , 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, 12 Mar 2013 15:33:42 -0000 On 12 March 2013 11:28, suraj swaminathan wrote: > I have intel i5 processor. Hence i386 version. I believe there is some confusion here. There is i386 for x86 processors. There is amd64 for x86-64 processors. The name "amd64" is because they were the first one to produce a 64 bit ISA compatible with x86 processors. -- Eitan Adler From owner-freebsd-virtualization@FreeBSD.ORG Tue Mar 12 15:46:16 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 D7EC9C02 for ; Tue, 12 Mar 2013 15:46:16 +0000 (UTC) (envelope-from surajswami10@gmail.com) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1C16E1 for ; Tue, 12 Mar 2013 15:46:16 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id o13so75565qaj.15 for ; Tue, 12 Mar 2013 08:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=9ELBzY5sggX3CNXTpFmt378zQsWstQlCyLLPpauHkG0=; b=K2hau1GeTgSTka9K5q3rbEIdxSaNcanIzc2bJlUa1U9QttqL09rkLmyfaPMWj2P1WN pD7J6CMAszJO0mOHG/caMXMGRn6n1uEy6BUKdR09rvf5Ag6Pr0Cu0QcU0V3yopcUSE8Z wcJNUFUTCAMcTb/rSoaDWB/Sf3ZdIDk6nwrtsK4xDIsSV8OK+b+9V5tAcbK8zy8il7fV y3jj7gNx+TK3Azwo0ut7E4pXfOmHTUCB6i7X99xGkTCdkvlhywnrJo7HQmZbAPy+lOca Se35MbgOaiMgv5qPadXMDEmcLiY6yCK5HfhAJvxNDwbOwRuqGkqIiyuhy1vqflEyeRrY TLeQ== MIME-Version: 1.0 X-Received: by 10.229.178.84 with SMTP id bl20mr5391653qcb.125.1363103170207; Tue, 12 Mar 2013 08:46:10 -0700 (PDT) Received: by 10.49.49.7 with HTTP; Tue, 12 Mar 2013 08:46:10 -0700 (PDT) In-Reply-To: References: <513EB3B4.3060704@mu.org> <513F44B6.8010208@mu.org> Date: Tue, 12 Mar 2013 11:46:10 -0400 Message-ID: Subject: Re: Help: Getting started with bhyve From: suraj swaminathan To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alfred Perlstein , 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, 12 Mar 2013 15:46:16 -0000 Ok I see my misconception. That helped. Thanks for the Help Guys. On Tue, Mar 12, 2013 at 11:33 AM, Eitan Adler wrote: > On 12 March 2013 11:28, suraj swaminathan wrote: > > I have intel i5 processor. Hence i386 version. > > I believe there is some confusion here. > > There is i386 for x86 processors. > There is amd64 for x86-64 processors. The name "amd64" is because > they were the first one to produce a 64 bit ISA compatible with x86 > processors. > > -- > Eitan Adler > From owner-freebsd-virtualization@FreeBSD.ORG Wed Mar 13 05:35:34 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 E9A456E8 for ; Wed, 13 Mar 2013 05:35:34 +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 A40752A9 for ; Wed, 13 Mar 2013 05:35:34 +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 8FA0111B12; Wed, 13 Mar 2013 15:35:26 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (mobile-166-137-212-024.mycingular.net [166.137.212.24]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BKQ73023 (AUTH peterg@ptree32.com.au); Wed, 13 Mar 2013 15:35:22 +1000 Message-ID: <51401014.1090307@freebsd.org> Date: Tue, 12 Mar 2013 22:35:16 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: "Josias L.G." Subject: Re: 64bit - 32bit 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, 13 Mar 2013 05:35:35 -0000 > Can i install and use a FreeBSD guest 32bit system ?. Technically possible, but not done currently. The user-space loader would have to be modified to set up register state for a 32-bit kernel, and there may be some additional work in the bhyve process if there are BIOS callbacks from the kernel. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Wed Mar 13 23:09:33 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 AB63EBCA for ; Wed, 13 Mar 2013 23:09:33 +0000 (UTC) (envelope-from brunolauze@msn.com) Received: from blu0-omc4-s4.blu0.hotmail.com (blu0-omc4-s4.blu0.hotmail.com [65.55.111.143]) by mx1.freebsd.org (Postfix) with ESMTP id 76A4DA23 for ; Wed, 13 Mar 2013 23:09:33 +0000 (UTC) Received: from BLU002-W231 ([65.55.111.137]) by blu0-omc4-s4.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 13 Mar 2013 16:08:26 -0700 X-EIP: [5m5cvQqWrsIZ6o9BmKhtDaUi0j5fmYPs] X-Originating-Email: [brunolauze@msn.com] Message-ID: From: =?iso-8859-1?B?QnJ1bm8gTGF1euk=?= To: "freebsd-virtualization@freebsd.org" Subject: bhyve accouting propostion Date: Wed, 13 Mar 2013 19:08:24 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Mar 2013 23:08:26.0118 (UTC) FILETIME=[AAD11260:01CE203F] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 13 Mar 2013 23:09:33 -0000 Bhyve VM Accouting propostion Since freebsd accouting is done at process or user level=2C you can go at u= ser level route starting each vm under a separate user but this looks awkar= d... So now=2C looking at the process level=2C the record command doesn't includ= e anyway to filter by arguments. Accounting should be done in bhyve copying /usr/sbin/bhyve to a unique vm n= ame like /usr/local/vmm/bhyvevm01 then the startup script=2C example vm01.s= h would fire byveload normally but use bhyvevm01 newly copied to launch vm. A= lso vm01.sh should automate copy of bhyve to bhyvevm01 in that same script= in case world is reinstalled. Then vmuptime.sh : #### SCRIPT END ###### #!/bin/sh if test "$@"=3B then if test -f $@=3B then LASTDATE=3D`ls -l -tU -D %s /var/account/acct | awk '{print $6}'` DIFFD=3D0 RES=3D0 PID=3D`pgrep $@` if test "$PID"=3B then RES=3D`ps $PID -xo etime | tail -n 1 | awk -F: '{ print ($1 * 60) + ($2) ".= " $3 }'` STARTPS=3D`cat /proc/$PID/status | awk '{print $8}' | sed s/=2C/./g` DIFFD=3D`echo "scale=3D0=3B($LASTDATE - $STARTPS) / 60" | bc -l` echo "The process was running since $DIFFD minutes before last billing" echo "The process is running since $RES" if test $DIFFD -gt 0=3B then echo "The process was running before last billing=3B Removing the charged a= mount" RES=3D`echo "scale=3D2=3B$RES - $DIFFD" | bc -l` fi else RES=3D0 fi RESAC=3D`sa -a | grep $@ | awk '{print $2}' | sed 's/re//g'` if ! test "$RESAC"=3B then RESAC=3D"0.00" fi echo "Uncharged accounting minutes: $RESAC" RESULT=3D`echo "scale=3D3=3B$RES + $RESAC" | bc -l` echo $RESULT else echo "Virtual Machine does not exist." fi else echo "Usage: vmuptime.sh " fi #### SCRIPT END ###### This will compute : accouting time in /var/account/acct for bhyvevm01 since acct file is updated only when a vm would shutdown or reboot then thi= s would cumulate usage for bhyvevm01 process which only runs for our vm01 Then it looks if this vm is running and compute time elapsed. It then removes the time elapsed since the last accouting log rotation=2C w= hich would mean the last billing. So the final logic is for a billing workflow would be to execute vmuptime.s= h for all vms in a bhyve storage and generate an invoice for virtu= al machines associated to client=2C finally execute /etc/rc.d/accouting ro= tate_log Whenever you will rotate the log the vmuptime.sh will report it from this p= oint in time=2C regardless of if the vm is running or not. Of course the more often this action is done and save to a database the mor= e time can be billed before a host would crash or fails. And any non billed time in the event of a crash should be gifted to the cli= ent... But it's freebsd=2C it doesn't crash=2C right? The down side of this solution is the requirement to copy the bhyve binary = for each specfic virtual machine subjected to accounting purposes. But it's 264k right now... Please share if anyone got an opinion on this=2C Bruno Lauze = From owner-freebsd-virtualization@FreeBSD.ORG Thu Mar 14 20:13:50 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 D5D12648; Thu, 14 Mar 2013 20:13:50 +0000 (UTC) (envelope-from torek@torek.net) Received: from elf.torek.net (50-73-42-1-utah.hfc.comcastbusiness.net [50.73.42.1]) by mx1.freebsd.org (Postfix) with ESMTP id A2DBC911; Thu, 14 Mar 2013 20:13:49 +0000 (UTC) Received: from elf.torek.net (localhost [127.0.0.1]) by elf.torek.net (8.14.5/8.14.5) with ESMTP id r2EKDhAE081454; Thu, 14 Mar 2013 14:13:43 -0600 (MDT) (envelope-from torek@torek.net) Message-Id: <201303142013.r2EKDhAE081454@elf.torek.net> From: Chris Torek To: Peter Grehan Subject: Re: trivial improvement for usr.sbin/bhyve/pci_virtio_block.c In-reply-to: Your message of "Thu, 28 Feb 2013 18:15:54 -0700." <5130014A.3030607@freebsd.org> Date: Thu, 14 Mar 2013 14:13:43 -0600 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (elf.torek.net [127.0.0.1]); Thu, 14 Mar 2013 14:13:43 -0600 (MDT) 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: Thu, 14 Mar 2013 20:13:50 -0000 >> I was looking through the bhyve code and noticed an obvious >> easy (if trivial) code improvement. >> >> Tested "standalone" rather than inside bhyve (with both gcc and >> clang, on FreeBSD 9.0). > > Thanks; I'll apply it. > >> Not sure where/how diffs should go, so I figured I would send this >> here as a test. :-) > > This is as good a place as any :) > >later, > >Peter. I looked at the svn commit and there's a glitch... I only sent you one file (pci_virtio_block.c) of the two (not having realized the code was duplicated in pci_virtio_net.c). You applied the change to both files but missed something: Index: pci_virtio_block.c =================================================================== --- pci_virtio_block.c (revision 247865) +++ pci_virtio_block.c (revision 247871) @@ -164,14 +164,19 @@ static int hq_num_avail(struct vring_hqueue *hq) { - int ndesc; + uint16_t ndesc; This change (to use uint16_t) is important. - if (*hq->hq_avail_idx >= hq->hq_cur_aidx) - ndesc = *hq->hq_avail_idx - hq->hq_cur_aidx; - else - ndesc = UINT16_MAX - hq->hq_cur_aidx + *hq->hq_avail_idx + 1; + /* + * We're just computing (a-b) in GF(216). (minor: this should read "2 caret 16" or maybe "2**16", presumably some mail software ate it?) + * + * The only glitch here is that in standard C, + * uint16_t promotes to (signed) int when int has + * more than 16 bits (pretty much always now), so + * we have to force it back to unsigned. + */ + ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; The trick here is that if, e.g., avail is 3 and cur is 29, we get 3 - 29 = 0xffffffe6, which should be considered "the same as" 65510. The original calculation did (via the else half): ndesc = UINT16_MAX - hq->hq_cur_aidx + *hq->hq_avail_idx + 1 = 65535 - 29 + 3 + 1 which is 65510. The new one computes (in 32-bit unsigned) 0xffffffe6 but then assigns the result to a 16-bit unsigned temporary (i.e., ndesc), chopping off the unwanted high bits and resulting in 0xffe6 = 65510. - assert(ndesc >= 0 && ndesc <= hq->hq_size); + assert(ndesc <= hq->hq_size); return (ndesc); } Index: pci_virtio_net.c =================================================================== --- pci_virtio_net.c (revision 247865) +++ pci_virtio_net.c (revision 247871) @@ -172,12 +172,17 @@ { int ndesc; Uh oh, here we (still) have a regular plain "int"... - if (*hq->hq_avail_idx >= hq->hq_cur_aidx) - ndesc = *hq->hq_avail_idx - hq->hq_cur_aidx; - else - ndesc = UINT16_MAX - hq->hq_cur_aidx + *hq->hq_avail_idx + 1; + /* + * We're just computing (a-b) in GF(216). + * + * The only glitch here is that in standard C, + * uint16_t promotes to (signed) int when int has + * more than 16 bits (pretty much always now), so + * we have to force it back to unsigned. + */ + ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; This time we'll do something like "3 - 29" in unsigned and get 0xffffffe6 as before, but then stick that in a (32 bit) int and believe it means -26. - assert(ndesc >= 0 && ndesc <= hq->hq_size); + assert(ndesc <= hq->hq_size); Without the >= 0 part of the assert, we'll miss the underflow since ndesc is signed, and hq_size is uint16_t and will widen to (plain signed) int here. (Of course it's more typical to have, e.g., not 3 and 29 but 0xfffc = 65532 and 24, where the subtraction will produce -65508 when we wanted 28. I'd have to look closely at the rest of the code to see what happens after that.) return (ndesc); } The comment might be misleading -- the trick is to compute the result in two steps, first in GF(2**{anything >= 16}), then *reduce* it (via assigment to uint16_t) to GF(2**16). (I used "**" this time instead of ^, just to be different :-) ) Chris From owner-freebsd-virtualization@FreeBSD.ORG Fri Mar 15 16:49:02 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 889C1928 for ; Fri, 15 Mar 2013 16:49:02 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 70AC4CF9 for ; Fri, 15 Mar 2013 16:49:02 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id 84C731A3C20 for ; Fri, 15 Mar 2013 09:48:52 -0700 (PDT) Message-ID: <514350E9.4020100@mu.org> Date: Fri, 15 Mar 2013 09:48:41 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: bhyve in -current 4/14/13 can no longer support FreeBSD stable install 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: Fri, 15 Mar 2013 16:49:02 -0000 Hey guys, I've been trying to get bhyve to install FreeBSD-stable for the past day on a -current machine: FreeBSD dan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248291: Fri Mar 15 00:58:03 PDT 2013 root@dan:/usr/obj/usr/trees/head/sys/GENERIC amd64 The stable snapshot I'm using to install is from here: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/9.1/FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso What will happen is during the extract process the install will hang. No network IO happens and on the host I see bhyve's CPU hit 100% for each core assigned. For reference this is the bhyve command invoked via Neel's "vmrun.sh". 0 3915 3908 0 103 0 2122208 103428 - R+ 2 1048:45.75 /usr/sbin/bhyve -c 2 -m 2048 -M 0 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap0 -s 2:0,virtio-blk,../freebsd-stable.img -s 3:0,virtio-blk,../FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso -S 31,uart,stdio freebsd-stable I tried to gdb the bhyve process but that was bad news. Is there a set of steps usually taken to help pinpoint what is going on when we this state? thank you, -Alfred From owner-freebsd-virtualization@FreeBSD.ORG Fri Mar 15 16:59:25 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 828C0DF0; Fri, 15 Mar 2013 16:59:25 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 76317DA8; Fri, 15 Mar 2013 16:59:25 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id 5AEE61A3E09; Fri, 15 Mar 2013 09:59:25 -0700 (PDT) Message-ID: <51435362.2080201@mu.org> Date: Fri, 15 Mar 2013 09:59:14 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: bhyve stuck at 200%+ cpu. 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: Fri, 15 Mar 2013 16:59:25 -0000 I have a system running with bhyve stuck at high cpu: 3915 root 3 103 0 2072M 101M CPU13 13 17.8H 202.00% bhyve This is the same process in my previous mail: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=61188+0+current/freebsd-virtualization The guest is very slow. I'm going to leave this process running for a while, if anyone has a starting point for debugging this I would be glad to run some commands and see what I can do to help. -Alfred From owner-freebsd-virtualization@FreeBSD.ORG Fri Mar 15 21:27:33 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 E12C06CE for ; Fri, 15 Mar 2013 21:27:33 +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 9AA966D1 for ; Fri, 15 Mar 2013 21:27:33 +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 4E4C211DDC; Sat, 16 Mar 2013 07:27:31 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (mobile-166-137-212-024.mycingular.net [166.137.212.24]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BKS24327 (AUTH peterg@ptree32.com.au); Sat, 16 Mar 2013 07:27:26 +1000 Message-ID: <51439239.1030404@freebsd.org> Date: Fri, 15 Mar 2013 14:27:21 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Alfred Perlstein Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install References: <514350E9.4020100@mu.org> In-Reply-To: <514350E9.4020100@mu.org> 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: Fri, 15 Mar 2013 21:27:33 -0000 Hi Alfred, > What will happen is during the extract process the install will hang. No > network IO happens and on the host I see bhyve's CPU hit 100% for each > core assigned. > > For reference this is the bhyve command invoked via Neel's "vmrun.sh". > > 0 3915 3908 0 103 0 2122208 103428 - R+ 2 1048:45.75 /usr/sbin/bhyve -c > 2 -m 2048 -M 0 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap0 > -s 2:0,virtio-blk,../freebsd-stable.img -s > 3:0,virtio-blk,../FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso > -S 31,uart,stdio freebsd-stable > > I tried to gdb the bhyve process but that was bad news. Is there a set > of steps usually taken to help pinpoint what is going on when we this > state? Does the previous snapshot (r247640) work better ? The relevant change there was the recent virtio guest MFC. Some things to try: - boot bhyve uniprocessor - is the bhyve process performing any disk i/o, or is it just spinning ? the bhyvectl program can dump a lot of vm state - you can try something like sudo bhyvectl --get-all --cpu=0 --vm= sudo bhyvectl --get-all --cpu=1 --vm= If you do this repeatedly, it may be possible to see some patterns e.g. counters incrementing, %RIP values being the same etc. Regarding gdb and bhyve, for debugging I usually start bhyve under gdb in the foreground and send output to another pty with the gdb "set tty" command (note the other pty should have a 'sleep 100000' command run to avoid input being captured) - this way, a ctl-C in the gdb session will drop into gdb and allow breakpoints to be set etc. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Mar 15 21:47:35 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 6B4C9D3D; Fri, 15 Mar 2013 21:47:35 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 44D9E7D2; Fri, 15 Mar 2013 21:47:34 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id C63CF1A3E25; Fri, 15 Mar 2013 14:47:33 -0700 (PDT) Message-ID: <514396E9.9010908@mu.org> Date: Fri, 15 Mar 2013 14:47:21 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install References: <514350E9.4020100@mu.org> <51439239.1030404@freebsd.org> In-Reply-To: <51439239.1030404@freebsd.org> 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: Fri, 15 Mar 2013 21:47:35 -0000 On 3/15/13 2:27 PM, Peter Grehan wrote: > Hi Alfred, > >> What will happen is during the extract process the install will hang. No >> network IO happens and on the host I see bhyve's CPU hit 100% for each >> core assigned. >> >> For reference this is the bhyve command invoked via Neel's "vmrun.sh". >> >> 0 3915 3908 0 103 0 2122208 103428 - R+ 2 1048:45.75 /usr/sbin/bhyve -c >> 2 -m 2048 -M 0 -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap0 >> -s 2:0,virtio-blk,../freebsd-stable.img -s >> 3:0,virtio-blk,../FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso >> -S 31,uart,stdio freebsd-stable >> >> I tried to gdb the bhyve process but that was bad news. Is there a set >> of steps usually taken to help pinpoint what is going on when we this >> state? > > Does the previous snapshot (r247640) work better ? The relevant > change there was the recent virtio guest MFC. > > Some things to try: > - boot bhyve uniprocessor > - is the bhyve process performing any disk i/o, or is it just > spinning ? > the bhyvectl program can dump a lot of vm state - you can try > something like > > sudo bhyvectl --get-all --cpu=0 --vm= > sudo bhyvectl --get-all --cpu=1 --vm= > > If you do this repeatedly, it may be possible to see some patterns > e.g. counters incrementing, %RIP values being the same etc. > Hmm, I keep seem to be getting this: /usr/home/alfred # bhyvectl --get-all --cpu=0 --vm=freebsd-stable lowmem 0x0000000000000000/536870912 highmem 0x0000000100000000/0 errno = 16 /usr/home/alfred # bhyvectl --get-all --cpu=1 --vm=freebsd-stable lowmem 0x0000000000000000/536870912 highmem 0x0000000100000000/0 errno = 16 > Regarding gdb and bhyve, for debugging I usually start bhyve under > gdb in the foreground and send output to another pty with the gdb "set > tty" command (note the other pty should have a 'sleep 100000' command > run to avoid input being captured) - this way, a ctl-C in the gdb > session will drop into gdb and allow breakpoints to be set etc. I will try this next. Thank you. > > later, > > Peter. > _______________________________________________ > 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 Sat Mar 16 03:03: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 CA7AFABC for ; Sat, 16 Mar 2013 03:03:38 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ia0-x22c.google.com (mail-ia0-x22c.google.com [IPv6:2607:f8b0:4001:c02::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 92D32CF5 for ; Sat, 16 Mar 2013 03:03:38 +0000 (UTC) Received: by mail-ia0-f172.google.com with SMTP id l29so3752220iag.17 for ; Fri, 15 Mar 2013 20:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=5cqt5IAFl6Qy0Ev382Q/3fEmTuLKoIsFvx5x6Jo8oIQ=; b=vPnfUtpMRKPc+PZGUAACIiXlCq8fY/kTZfzrPYADaW3t8QL+7Fsbs7IUsH6JbZmKrE m5qDDEqzdMEIKCDpKQeuxQKS5VrIBgbMnecI165mDe70Ky8Ll9CjLjZKyTG39Uk9c7zo wT49RwFFPH4GwxJVW3iL+/vsuK4lKGDgnyCnv3E075njOMXm3PH3HIdwd67XhQA1akiy If1mqA+L3fkZlgFUd1BWSJFpVXAtHOz1vVhTa0XrC4p3Y2KAR/68lsj8Pu7yuvHJeR81 nnQ6WhRIUPhC30tImlh9l9sKCL9uy7+qYFLZwC59eBTHh8fFeiAKryOrV8JfDzM94HBX g7CQ== MIME-Version: 1.0 X-Received: by 10.50.100.167 with SMTP id ez7mr2694092igb.3.1363403018343; Fri, 15 Mar 2013 20:03:38 -0700 (PDT) Received: by 10.42.23.132 with HTTP; Fri, 15 Mar 2013 20:03:38 -0700 (PDT) In-Reply-To: <514350E9.4020100@mu.org> References: <514350E9.4020100@mu.org> Date: Fri, 15 Mar 2013 20:03:38 -0700 Message-ID: Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install From: Neel Natu To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 16 Mar 2013 03:03:38 -0000 Hi Alfred, On Fri, Mar 15, 2013 at 9:48 AM, Alfred Perlstein wrote: > Hey guys, > > I've been trying to get bhyve to install FreeBSD-stable for the past day on > a -current machine: > > FreeBSD dan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248291: Fri Mar 15 > 00:58:03 PDT 2013 root@dan:/usr/obj/usr/trees/head/sys/GENERIC amd64 > > > The stable snapshot I'm using to install is from here: > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/9.1/FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso > > What will happen is during the extract process the install will hang. No > network IO happens and on the host I see bhyve's CPU hit 100% for each core > assigned. > Are you installing over the virtio-net interface? best Neel > For reference this is the bhyve command invoked via Neel's "vmrun.sh". > > 0 3915 3908 0 103 0 2122208 103428 - R+ 2 1048:45.75 > /usr/sbin/bhyve -c 2 -m 2048 -M 0 -AI -H -P -g 0 -s 0:0,hostbridge -s > 1:0,virtio-net,tap0 -s 2:0,virtio-blk,../freebsd-stable.img -s > 3:0,virtio-blk,../FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso -S > 31,uart,stdio freebsd-stable > > I tried to gdb the bhyve process but that was bad news. Is there a set of > steps usually taken to help pinpoint what is going on when we this state? > > thank you, > -Alfred > _______________________________________________ > 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 Sat Mar 16 06:22:00 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 7E12E7C7 for ; Sat, 16 Mar 2013 06:22:00 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6F5C8301 for ; Sat, 16 Mar 2013 06:22:00 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 5B1851A3C1C; Fri, 15 Mar 2013 23:21:56 -0700 (PDT) Message-ID: <51440F7C.8070505@mu.org> Date: Fri, 15 Mar 2013 23:21:48 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Neel Natu Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install References: <514350E9.4020100@mu.org> 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: Sat, 16 Mar 2013 06:22:00 -0000 On 3/15/13 8:03 PM, Neel Natu wrote: > Hi Alfred, > > On Fri, Mar 15, 2013 at 9:48 AM, Alfred Perlstein wrote: >> Hey guys, >> >> I've been trying to get bhyve to install FreeBSD-stable for the past day on >> a -current machine: >> >> FreeBSD dan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248291: Fri Mar 15 >> 00:58:03 PDT 2013 root@dan:/usr/obj/usr/trees/head/sys/GENERIC amd64 >> >> >> The stable snapshot I'm using to install is from here: >> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/9.1/FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso >> >> What will happen is during the extract process the install will hang. No >> network IO happens and on the host I see bhyve's CPU hit 100% for each core >> assigned. >> > Are you installing over the virtio-net interface? Yes, it is a bootonly image. Using the virtio-net seems to cause the machine to go sidewise relatively quickly. thank you, -Alfred From owner-freebsd-virtualization@FreeBSD.ORG Sat Mar 16 06:50:37 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 D46D8AE3 for ; Sat, 16 Mar 2013 06:50:37 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 8424D382 for ; Sat, 16 Mar 2013 06:50:37 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id k13so5176592iea.7 for ; Fri, 15 Mar 2013 23:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=mBuam6o8Zl0jMbP7M/5aVfgN8MshO4a6B2Mb7UtSIXA=; b=kOjklHFwq0KRhkd3qMyJKXFwLjmWXOw0jOm5ZNBwzeqI2Q4Bc+P1WL6O598dr+z7Be PKIE0ohYIG8sEJSy6WbOEwPifSuKd6DYmyDT7096HqZEOn5xmtpdldCuSDEH63W8vB/3 L6/ySUAcjCBFP3IKYdA45UasV0c0ZksNQ0yhbngz5TwyzF9EUjeymmqAROOjvAJ/+abe xEc4yya6gGs2N+cA68bfdAtZmMnScHwabZLWI0d3ZJZsQ5Tl++vq5/vvBgkrGs04bCqd mHcAaKikvnNnkSbXoUyNkmsRDxgFSvVhqHAjEZAHLjRecoHQ/zImA2TIgipSy+0/dlg0 QiZA== MIME-Version: 1.0 X-Received: by 10.50.53.176 with SMTP id c16mr3036865igp.36.1363416637308; Fri, 15 Mar 2013 23:50:37 -0700 (PDT) Received: by 10.42.23.132 with HTTP; Fri, 15 Mar 2013 23:50:37 -0700 (PDT) In-Reply-To: <51440F7C.8070505@mu.org> References: <514350E9.4020100@mu.org> <51440F7C.8070505@mu.org> Date: Fri, 15 Mar 2013 23:50:37 -0700 Message-ID: Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install From: Neel Natu To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 16 Mar 2013 06:50:37 -0000 Hi Alfred, On Fri, Mar 15, 2013 at 11:21 PM, Alfred Perlstein wrote: > On 3/15/13 8:03 PM, Neel Natu wrote: >> >> Hi Alfred, >> >> On Fri, Mar 15, 2013 at 9:48 AM, Alfred Perlstein wrote: >>> >>> Hey guys, >>> >>> I've been trying to get bhyve to install FreeBSD-stable for the past day >>> on >>> a -current machine: >>> >>> FreeBSD dan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248291: Fri Mar 15 >>> 00:58:03 PDT 2013 root@dan:/usr/obj/usr/trees/head/sys/GENERIC amd64 >>> >>> >>> The stable snapshot I'm using to install is from here: >>> >>> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/9.1/FreeBSD-9.1-STABLE-amd64-20130216-r246877-bootonly.iso >>> >>> What will happen is during the extract process the install will hang. No >>> network IO happens and on the host I see bhyve's CPU hit 100% for each >>> core >>> assigned. >>> >> Are you installing over the virtio-net interface? > > > Yes, it is a bootonly image. Using the virtio-net seems to cause the > machine to go sidewise relatively quickly. > This should be fixed with r248368: http://svnweb.freebsd.org/base?view=revision&revision=248368 best Neel > thank you, > -Alfred From owner-freebsd-virtualization@FreeBSD.ORG Sat Mar 16 15:36:23 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 A8620F3F for ; Sat, 16 Mar 2013 15:36:23 +0000 (UTC) (envelope-from flo@smeets.im) Received: from mail.solomo.de (mail.solomo.de [5.9.87.18]) by mx1.freebsd.org (Postfix) with ESMTP id 368C0262 for ; Sat, 16 Mar 2013 15:36:22 +0000 (UTC) Received: from cpos1.nexxtmobile.de (localhost [127.0.0.1]) by mail.solomo.de (Postfix) with ESMTP id 95814AF14; Sat, 16 Mar 2013 16:36:16 +0100 (CET) X-Virus-Scanned: amavisd-new at nexxtmobile.de Received: from mail.solomo.de ([127.0.0.1]) by cpos1.nexxtmobile.de (cpos1.nexxtmobile.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NVcTRCKsg0M1; Sat, 16 Mar 2013 16:36:14 +0100 (CET) Received: from nibbler-osx.fritz.box (85-22-118-148.ip.dokom21.de [85.22.118.148]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.solomo.de (Postfix) with ESMTPSA id ABD9FAF0A; Sat, 16 Mar 2013 16:36:12 +0100 (CET) Message-ID: <5144916C.6030603@smeets.im> Date: Sat, 16 Mar 2013 16:36:12 +0100 From: Florian Smeets User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Thunderbird/22.0a1 MIME-Version: 1.0 To: Neel Natu , Alfred Perlstein Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install References: <514350E9.4020100@mu.org> <51440F7C.8070505@mu.org> In-Reply-To: X-Enigmail-Version: 1.6a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MIDOPGRTNPWGJWKTLLCX" 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: Sat, 16 Mar 2013 15:36:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MIDOPGRTNPWGJWKTLLCX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 16.03.13 07:50, Neel Natu wrote: > Hi Alfred, >=20 > On Fri, Mar 15, 2013 at 11:21 PM, Alfred Perlstein wrot= e: >> >> Yes, it is a bootonly image. Using the virtio-net seems to cause the >> machine to go sidewise relatively quickly. >> >=20 > This should be fixed with r248368: > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D248368 >=20 I was experiencing the same problem, and with the fix it's much better. Thank you. Florian ------enig2MIDOPGRTNPWGJWKTLLCX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlFEkW0ACgkQapo8P8lCvwmqIwCeOoGxjeWXWfJHuQu0Dk+PMZ8u 4EIAoJTWJVIIWV5lzzH8k8gc/Qve5sct =U9aC -----END PGP SIGNATURE----- ------enig2MIDOPGRTNPWGJWKTLLCX--