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

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


  • To: "Stephen Donnelly" <stephen@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


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

 


Rackspace

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