From owner-freebsd-virtualization@FreeBSD.ORG Mon Jan 28 11:06:53 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 A5CF0989 for ; Mon, 28 Jan 2013 11:06:53 +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 93D33CF1 for ; Mon, 28 Jan 2013 11:06:53 +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 r0SB6ruB034749 for ; Mon, 28 Jan 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0SB6rm2034747 for freebsd-virtualization@FreeBSD.org; Mon, 28 Jan 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Jan 2013 11:06:53 GMT Message-Id: <201301281106.r0SB6rm2034747@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, 28 Jan 2013 11:06:53 -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 Thu Jan 31 13:00:46 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 0865FDF for ; Thu, 31 Jan 2013 13:00:46 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC1333C for ; Thu, 31 Jan 2013 13:00:44 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Thu, 31 Jan 2013 16:58:03 +0400 id 000DBB28.510A6A5B.00011FCA Message-ID: <510A6A5A.1000605@Hawara.com> Date: Thu, 31 Jan 2013 16:58:02 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: run bhyve vm headless Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 31 Jan 2013 13:00:46 -0000 Hello! I`m trying to run bhyve on 10-CURRENT, from http://svn.freebsd.org/base/projects/bhyve, and i would like to run vm in headless mode, to start them from rc.d script. When running 10-CURRENT guest, i simply removed -S 31,uart from bhyve command, and the guest started fine. When i`m trying to do the same with 9.1-RELEASE (plus virtio modules), it only starts with the -S 31,uart option, without it vm seems to do nothing at all - it never answers ping, no ssh etc, and there is no way for me to see what is happening inside, dmesg and messages logs are empty. Are there any ways to run vms in background, or to detach from console, if guest is started with the -S uart option? Or am I using this wrong? Thanks. From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 31 20:55:52 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 58513F12 for ; Thu, 31 Jan 2013 20:55:52 +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 19070153 for ; Thu, 31 Jan 2013 20:55: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 4CBEF1216B; Fri, 1 Feb 2013 06:55:50 +1000 (EST) Received: from vpn2ntap-539003.vpn.netapp.com (pos-ext.netapp.com [198.95.226.40]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BJQ93949 (AUTH peterg@ptree32.com.au); Fri, 1 Feb 2013 06:55:48 +1000 Message-ID: <510ADA51.10503@freebsd.org> Date: Fri, 01 Feb 2013 06:55:45 +1000 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: Marat Bakeev Subject: Re: run bhyve vm headless References: <510A6A5A.1000605@Hawara.com> In-Reply-To: <510A6A5A.1000605@Hawara.com> 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: Thu, 31 Jan 2013 20:55:52 -0000 Hi Marat, > I`m trying to run bhyve on 10-CURRENT, from > http://svn.freebsd.org/base/projects/bhyve, > and i would like to run vm in headless mode, to start them from rc.d script. > When running 10-CURRENT guest, i simply removed -S 31,uart from bhyve > command, and the guest started fine. I didn't know that worked :) I'll give it a try. > When i`m trying to do the same with 9.1-RELEASE (plus virtio modules), > it only starts with the -S 31,uart option, > without it vm seems to do nothing at all - it never answers ping, no ssh > etc, and there is no way for me to see what is happening inside, > dmesg and messages logs are empty. > Are there any ways to run vms in background, or to detach from console, > if guest is started with the -S uart option? Or am I using this wrong? Hmmm, I thought that it would work fine if the 'stdio' option wasn't used with the uart emulation e.g. -S ,uart instead of -S ,uart,stdio What the former does is to drop all output sent to the uart, and not have any input. This would be one way to run in the background. Another would be to use the latter syntax and setup i/o redirection from /dev/null when starting the bhyve process. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Fri Feb 1 12:45:24 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 92D1F98A for ; Fri, 1 Feb 2013 12:45:24 +0000 (UTC) (envelope-from hawara@Hawara.com) Received: from hawara.com (hawara.com [188.123.234.55]) by mx1.freebsd.org (Postfix) with ESMTP id E1FCE292 for ; Fri, 1 Feb 2013 12:45:23 +0000 (UTC) Received: from hawara.office.masterhost.ru ([87.242.97.4]) (AUTH: CRAM-MD5 hawara@hawara.com, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by hawara.com with ESMTPSA; Fri, 01 Feb 2013 16:45:19 +0400 id 000DBB28.510BB8DF.00016857 Message-ID: <510BB8DE.5080103@Hawara.com> Date: Fri, 01 Feb 2013 16:45:18 +0400 From: Marat Bakeev User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130111 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: run bhyve vm headless References: <510A6A5A.1000605@Hawara.com> <510ADA51.10503@freebsd.org> In-Reply-To: <510ADA51.10503@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 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, 01 Feb 2013 12:45:24 -0000 On 01/02/2013 00:55, Peter Grehan wrote: > Are there any ways to run vms in background, or to detach from console, >> if guest is started with the -S uart option? Or am I using this wrong? > > Hmmm, I thought that it would work fine if the 'stdio' option wasn't > used with the uart emulation > > e.g. -S ,uart > > instead of > > -S ,uart,stdio > > What the former does is to drop all output sent to the uart, and not > have any input. This would be one way to run in the background. > Another would be to use the latter syntax and setup i/o redirection > from /dev/null when starting the bhyve process. Hi! Thanks for the advice, running it like this: bhyve -c 2 -a -A -m 1024 -M 4096 -I -H -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,tap3 -s 2:0,virtio-blk,/dev/zvol/z0/bhyve/vm3 -S 31,uart,stdio vm3 < /dev/null - really allows me to send it to background! But, if i modify -S 31,uart,stdio to -S 31,uart - 9.1 guest still won`t boot - bhyve process is in [vmidle] state, and there is no activity inside vm. I don`t know if this is important, reporting it just in case :) Thank you.