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] how to build xen + dom0 and domU from source?

To: "Xen users mailing list" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] how to build xen + dom0 and domU from source?
From: TMC <tmciolek@xxxxxxxxx>
Date: Sat, 19 Jan 2008 20:03:50 +1100
Delivery-date: Sat, 19 Jan 2008 01:04:25 -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:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=/ocSH8pCXL6bDboAolih8fJI6mL1CFK7o5u6Me5s/Mw=; b=ECT/a6M6Va0pBhBnsQKjfuBW+Xh0PbDb0h/lpot2zvZj+4u574anrMIc4G4YPmCgaTGH6AqyoBj5ik2+7bS88MCjAgTPBf8H01M7SKdI7N5i/Qf3w9iU9w1ppyFJjfmwy+Q3sSqhSE/Ih4TtmYm0PnqysnlfEzLWj5VN6lNXi6o=
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=
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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