From owner-freebsd-xen@FreeBSD.ORG Tue Jul 20 11:53:25 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ECD5106564A for ; Tue, 20 Jul 2010 11:53:25 +0000 (UTC) (envelope-from mikemacleod@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 415158FC19 for ; Tue, 20 Jul 2010 11:53:24 +0000 (UTC) Received: by qyk7 with SMTP id 7so3225624qyk.13 for ; Tue, 20 Jul 2010 04:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=7s2zkA9WH6OJ5n/0wUetrmTQNdffMmPMAl3w4tRM/Xk=; b=PibioAJOQ5GT6c1/rrzKpX+FC2vEQTABB65bm3QicJsFnRvkFwq4tOC2rrSZHW68I8 CGHdxSX9qW4LvcfEGBRtPLMzgIjosAiTlWxFTkGHTGs4xW3JYSkSk9rB6Rbq6fOuXt40 JhYDsQ8VowBw60tuVqTjbXZwzLgmX8R2SP9LQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=iBEECrpj84ZK/ORgpLjFe6E1RuxYO3MndKwQcK1w7XMqSzJOdrtxSnzuYcRjAcE+5o JEHyjqINspuyIuy/SabLfrGzIpSE8yBhZGsJXvpHT5vEYFM7mDQCqow9WKDm+KVRxWfS Aq556Fkk+pKKus/+dV10DPZ6fPFQbph6WdBmc= Received: by 10.224.47.73 with SMTP id m9mr5918067qaf.135.1279626804237; Tue, 20 Jul 2010 04:53:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.236.130 with HTTP; Tue, 20 Jul 2010 04:53:04 -0700 (PDT) In-Reply-To: References: <81AF01BF-D5D9-4F61-89FC-E8399A1475CD@nirgal.de> <4C457FD9.4080900@deployis.eu> <3ABD17AA-B2D2-4456-9A83-0AAED0D16DAE@nirgal.de> From: Michael MacLeod Date: Tue, 20 Jul 2010 07:53:04 -0400 Message-ID: To: G VM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-xen@freebsd.org, got.andras@deployis.eu Subject: Re: FreeBSD DomU: Upgrade from 7.2 to 8.0 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 11:53:25 -0000 If you're booting the XEN kernel, it's going to need to be running in paravirtualized mode. It lacks drivers for non-XEN devices. Also, I have found the XEN kernel running in paravirtualized mode to be nowhere near stable enough for production use. I have used 8.0 with the GENERIC kernel i= n several domUs (running on Xen 3.4.2 and 4.0) successfully. This config file will work for an 8.0 box: # Name of the domU name =3D "freebsd-01" # HVM options kernel =3D "/usr/lib/xen/boot/hvmloader" device_model =3D "/usr/lib64/xen/bin/qemu-dm" builder =3D 'hvm' # Virtual hardware configuration vcpus =3D 1 memory =3D 512 disk =3D [ 'phy:/dev/SystemDisks/freebsd-01.root,hda,w' ] vif =3D [ 'type=3Dioemu,bridge=3Deth0' ] # Console and other options serial =3D 'pty' vfb =3D [ 'vnc=3D1,vncdisplay=3D1' ] On Tue, Jul 20, 2010 at 7:45 AM, G VM wrote: > > > > From: alex@nirgal.de > > To: got.andras@deployis.eu > > Date: Tue, 20 Jul 2010 13:31:48 +0200 > > CC: freebsd-xen@freebsd.org > > Subject: Re: FreeBSD DomU: Upgrade from 7.2 to 8.0 > > > > Hello, > > > > Am 20.07.2010 um 12:52 schrieb G=F3t Andr=E1s: > > > > > How's your domU config file for xen? > > > > Up until 7.2 i have used the GENERIC Kernel and never built one of my > > own, because there was no need. But as 7.3 or 8.0 will not boot up > > with their GENERIC Kernels (tested with the Live-DVD, error described > > in my first mail), i think i have to built a custom kernel. > > > > I plan to use the config from > > > > /usr/src/sys/i386/conf/XEN > > > > You can find it there: > > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/XEN?rev=3D1.9.2.1= ;content-type=3Dtext%2Fplain;only_with_tag=3DRELENG_8_0 > > > > Note: i just want to use hvm-virtualization, paravirtualization is not > > necessary. > > > > Alex_______________________________________________ > > freebsd-xen@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > > I had/have the exact same issue. I always used hvm with FreeBSD 7.2 > >From the moment I upgraded to 7.3 or 8.0, I get a kernel panic. > > Even the install cd does not boot for 7.3 or 8.0. > > I did not fixed this yet. I would think that this is happening since ther= e > is some virtual stuff included in the kernel by default now and this was = not > there in 7.2 > Maybe you can just disable hvm or something in the kernel config. As IIRC > with HVM the OS is not aware that it is virtualised. > > Please let me know if you find a solution! > > Greetings! > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >