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

[Xen-users] Xen 3.2 source install with FC6

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.2 source install with FC6
From: Stephen Donnelly <stephen@xxxxxxxxxx>
Date: Tue, 05 Feb 2008 12:13:35 +1300
Delivery-date: Mon, 04 Feb 2008 15:14:15 -0800
Envelope-to: www-data@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>
Organization: Endace Technology
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>