From owner-freebsd-questions@FreeBSD.ORG Fri Jan 6 15:22:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EAE41065672 for ; Fri, 6 Jan 2012 15:22:44 +0000 (UTC) (envelope-from alessandro.baggi@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id B61AD8FC13 for ; Fri, 6 Jan 2012 15:22:43 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so1711509wib.13 for ; Fri, 06 Jan 2012 07:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=rzVLr4mMEiSMToYcLiHjbCMcI5EFTdTPMgMteLL33HM=; b=TRpRNdwxozzf9WN+m1iJWJdoRirsahzUkX495zw2AxGQ9CxChMUOFmlL/gxCTzJafN BHzyiu+VYOjn+oE0/q4x0ud20Ay/alFKgi00aCIAWJXx3MXraY5BmTZ2WaBcXh2fp+kM agt2m4IQZy/m1Gb6u0f5StCbumNpSTBUjE5Ig= Received: by 10.180.19.42 with SMTP id b10mr7999970wie.13.1325863362748; Fri, 06 Jan 2012 07:22:42 -0800 (PST) Received: from [10.1.4.58] (ip-157-125-ull.customer.panservice.it. [212.66.125.157]) by mx.google.com with ESMTPS id m13sm68661851wbh.0.2012.01.06.07.22.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jan 2012 07:22:41 -0800 (PST) Message-ID: <4F0710C0.5030405@gmail.com> Date: Fri, 06 Jan 2012 16:18:24 +0100 From: Alessandro Baggi User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F06D041.4050702@gmail.com> <4F06E011.40305@my.gd> In-Reply-To: <4F06E011.40305@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD on kvm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 15:22:44 -0000 On 01/06/2012 12:50 PM, Damien Fleuriot wrote: > On 1/6/12 11:43 AM, Alessandro Baggi wrote: >> Hi list, >> i've a problem running freebsd as a guest on linux+kvm. The only problem >> is that sometimes, when I boot the system it dies and this happens also >> if I run the vm with and without -nographic option. Using the qemu GUI I >> can see the it stops on the boot loader menu after the countdown and the >> only mode to resume the system is reboot the vm. I've reduced the >> autoboot delay to 1 without no result. >> >> >> Someone know something about this problem? >> >> Thanks in advance. >> > Hi, > > > This is exactly how to *not* ask a question. > Please take the time to read this very informative article: > http://www.catb.org/~esr/faqs/smart-questions.html#beprecise > > > For instance, you've omitted important information such as: > > - linux version > - qemu version > - freebsd version > - freebsd error message when "it dies", if any > - KVM configuration options (disk mode and such) > > > We've been running FreeBSD 7 then 8 as a guest in Debian linux/KVM for > over 3 years now for our pre-production environment and are very happy > with it. > > Please post some more details, that we might be able to actually help. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to"freebsd-questions-unsubscribe@freebsd.org" > True, I'm sorry, too few informations. The host system is Slackware64 Linux 13.37 QEMU emulator version 0.14.0 (qemu-kvm-0.14.0), Copyright (c) 2003-2008 Fabrice Bellard FreeBSD 8.2-RELEASE-p3 kvm option: /usr/bin/qemu-system-x86_64 -pidfile $PIDFILE -cpu host -smp $NCPU -m $MRAM -k $KB -enable-kvm -drive file=$IMAGE,media=disk,index=0,cache=writeback -net nic,model=$NICMODEL,macaddr=$MAC -net tap,ifname=$TAP,script=no,downscript=no -runas $USER -monitor unix:$SOCKET,server,nowait -nographic -daemonize There are not errors. When there is the countdown it seems to die.For example it stops to 9 seconds or 6 and stop (die) No boot line, only the boot loader menu blocked. To avoid this I want say that freebsd work very well under kvm, the problem is presented every 2/3 startup of this virtual machine.