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

[Xen-users] how to build xen + dom0 and domU from source?


  • To: "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: TMC <tmciolek@xxxxxxxxx>
  • Date: Sat, 19 Jan 2008 20:03:50 +1100
  • Delivery-date: Sat, 19 Jan 2008 01:04:25 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lTP4eD8ES+zlcq/sTvCdCogTQScrX2LRE4v2hKMMkbRlDBinSz+WmoofTEvFqMN6ikUMZ7vHVaJ4AFSK2ziVH6sEo50Pf5kx/i13ylnw+bQ5qB/EsaOMmksZs2gSq83D8aYWuWm7ObRgzkG7ZEWDdjofxmvPrAvuussrtVVfbX8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Guys.

I am trying to build xen 3.1 + linux dom0 and linux domU from source
with linux  2.6.18.8 as linux kernel.

I do the following steps, which seem logical to me (because that is
how things worked for me with Xen 3.0.4)

1. extract 3.1 source tarball

2. edit buildconfigs/mk.linux-2.6-xen to reflect chanage in kernel
version to 2.6.18.8.

3. run 'make linux-2.6-xen0-config config=menuconfig'

4. run 'make dist KERNELS="linux-2.6-xen0" and instead of a clan
build, I end up with this  error:

/usr/src/xen-3.1.0-src/linux-2.6.18.8-xen/arch/i386/kernel/head-xen.S:4:27:
error: linux/elfnote.h: No such file or directory
make[6]: *** [arch/i386/kernel/head-xen.o] Error 1
make[5]: *** [arch/i386/kernel] Error 2
make[4]: *** [vmlinuz] Error 2
make[3]: *** [vmlinuz] Error 2
make[3]: Leaving directory
`/usr/src/xen-3.1.0-src/build-linux-2.6.18.8-xen_x86_32'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/xen-3.1.0-src'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.1.0-src'
make: *** [install-kernels] Error 1

Can someone tell me:

a) if there is a limit as to which 2.6.18.x kernels I can build?

b) HOW the build process changed form the one in Xen 3.0.x?

c) what are the dependencies for building Xen 3.1 from source?

d) is there is a documented build from source process and if so where?

NOTE: the link on xen.org howto section to a page entitled "The
Perfect Xen 3.1.0 Setup For Debian Etch (i386)" seems of no use. The
process detailed in there produces the same error.

ANY help is welcome

Tomasz

-- 
GPG key fingerprint: 3883 B308 8256 2246 D3ED  A1FF 3A1D 0EAD 41C4 C2F0
GPG public key availabe on pgp.mit .edu keyserver

_______________________________________________
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®.