[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen 3.2 source install with FC6



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.