WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 3.2 source install with FC6

To: "Stephen Donnelly" <stephen@xxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.2 source install with FC6
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Wed, 6 Feb 2008 02:02:31 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Feb 2008 18:03:04 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=E+AQ3D6Pq2w2i4PyZ6jcGq4yAzIDy6KoSMzk8bFSS8Y=; b=crUojlZxDvun0XRrdkXAzviTcjJp/pm+i+7LBreF2nOCe/jts8sLTnoT3d6Ujdh4yL9siHltf0PRec74bwmLIkJxxP9EGXDjx5ncJaBvgSdi9GRNTulIuzvurzY8fPCHxzUZRzuZedC3hPoD8RSllMMb5dMP0g1oclaCtoA2sdI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=v0C0Lp3BWyoHk4cbreaTBKpKm1Ob4kH74Pc/anja37KVe2WJEoZdL2UJKEJYwuQEeRGzvTcQsOx2b33pcY9dcPfWXXIOH+88dhbyDXl9PdKqRnts2fLi9DcpWZAXEp+ox99A1t9VGmD8RdI07hyA9rLX2nbHStwHs6jVYNfwKas=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1202166815.918.55.camel@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1202166815.918.55.camel@xxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

this may help:
http://lists.xensource.com/archives/html/xen-users/2008-01/msg00699.html

also bzImage is known not to work and from my understanding needs to be vmlinuz and there was some discussion on the xen users list on this recently too, but I can't seem to find the thread.

 

On Feb 4, 2008 11:13 PM, Stephen Donnelly <stephen@xxxxxxxxxx> wrote:
I've been trying to build the Xen 3.2 release source on a FC6 system but
haven't been able to boot dom0.

I would prefer to use 3.2 in order to keep up with Xen progress, and
because I would like to build my own kernels from source in future
rather than using the packaged FC6 ones.

The 3.2 source seems to want to use hg-clone as the kernel source
(buildconfigs/mk.linux-2.6-xen), but make world fails with:

select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
abort: repository /root/xen-3.2.0 not found!
select-repository: Unable to determine Xen repository parent.
make[3]: *** [linux-2.6.18-xen.hg/.valid-src] Error 1

I presume this is because I am using the release tarball rather than a
mercurial checkout, but I'm surprised it doesn't work out of the box.

If I change XEN_LINUX_SOURCE to 'tarball' it correctly fetches 2.6.18
from kernel.org but fails to build because the IMAGE_TARGET is
'vmlinuz', which is not a valid build target.

make -C /root/xen-3.2.0/linux-2.6.18
O=/root/xen-3.2.0/build-linux-2.6.18-xen_x86_64 vmlinuz
make[6]: *** No rule to make target `vmlinuz'.  Stop.

If I change the build target to 'bzImage' it succeeds, but I can't seem
to use any of the resulting images from arch/x86_64/boot to boot dom0. I
get errors like "elf init: Not an ELF library" or similar followed by a
reboot.

Can anyone tell me which file to use, or generally how to build xen 3.2
from source?

Stephen.
--
-----------------------------------------------------------------------
   Stephen Donnelly BCMS PhD           email: sfd@xxxxxxxxxx
   Endace Technology Ltd               phone: +64 7 839 0540
   Hamilton, New Zealand               cell:  +64 21 1104378
-----------------------------------------------------------------------


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>