From owner-freebsd-xen@FreeBSD.ORG Thu Jan 20 00:09:50 2011 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 0416B1065672 for ; Thu, 20 Jan 2011 00:09:50 +0000 (UTC) (envelope-from snabb@epipe.com) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by mx1.freebsd.org (Postfix) with ESMTP id BEE588FC2B for ; Thu, 20 Jan 2011 00:09:49 +0000 (UTC) Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2]) by tiktik.epipe.com (8.14.4/8.14.4) with ESMTP id p0K09jYI081989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jan 2011 00:09:46 GMT (envelope-from snabb@epipe.com) X-DKIM: Sendmail DKIM Filter v2.8.3 tiktik.epipe.com p0K09jYI081989 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=epipe.com; s=default; t=1295482186; x=1296086986; bh=oDrRJVDiBlH/Ru0jIqc0gHSaSUpotflt8aVpCj5UvW4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=f6UDvzI/+fZ7Ep8Iu73zS9hJJTOTQdrpm5rLBCFY+qsAm5v2nqqhXWs4ykere4/F0 3np4i8dbfQkVIyXm1X9YhK68/PW0ETNeIvuetPPL52SuUbI0M3jkuUQZz37JCy/vBh 2258B6LPi3jlaYymCb0SOlwC7kJdZsXzerBqnVcc= Date: Thu, 20 Jan 2011 00:09:45 +0000 (UTC) From: Janne Snabb To: Martin Cracauer In-Reply-To: <20110119204707.GA50536@cons.org> Message-ID: References: <20110119204707.GA50536@cons.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tiktik.epipe.com [IPv6:2001:1828:0:3::2]); Thu, 20 Jan 2011 00:09:46 +0000 (UTC) Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD-amd64 in Xen 4.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: Thu, 20 Jan 2011 00:09:50 -0000 On Wed, 19 Jan 2011, Martin Cracauer wrote: > I anyone able to run a amd64 FreeBSD guest in the Xen-4.0 that ships > with Debian-Squeeze? Dom0 is Debian's 2.6.32.25 Xen kernel. Hardware > is a Phenom II. My all test configurations are different... > I get a sig11 in xend. > > I compiled XENHVM on FreeBSD-9.0-current as of Jan 10. I am using > this Xen config file just to test booting the kernel: > > kernel = '/home/xen/boot/freebsd-amd64-90current-2011019-kernel' > memory = '256' > name = 'freebsd' > builder = 'hvm' > > (the builder= line is required, otherwise the python script doesn't > recognize the kernel as a valid kernel) ...but my understanding is that with HVM mode you normally have: kernel = "/usr/lib/xen/boot/hvmloader" ...(or similar) and the kernel gets loaded by the normal boot loader which is launched by hvmloader from the virtual machine's disk. In PV mode (builder = 'linux' which is the default) the kernel is loaded with the "kernel" configuration line unless py-grub or similar is in use. I am not sure if this is the cause of your problem though, but your configuration might create an environment which is not suitable for the HVM kernel to run. Note that amd64 XENHVM kernel is a HVM kernel (similar to GENERIC) with just additional support for XEN-specific PV drivers while the VM otherwise runs in HVM mode. PV kernel is only available for i386 (XEN kernel config file). That kernel should be loaded as you do now, but with "builder = 'linux'". Does it make a difference if you boot your VM from a normal (GENERIC amd64) installation ISO, install the system as usual to a virtual hard disk and then install the XENHVM kernel there? You will need to use VNC console briefly during installation until you can switch to using serial console. Best Regards, -- Janne Snabb / EPIPE Communications snabb@epipe.com - http://epipe.com/