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/
Home Products Support Community News


Re: [Xen-users] Building Xen 3.2 from source

To: "Bernie Lofaso" <bjlofaso@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Building Xen 3.2 from source
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Fri, 4 Apr 2008 13:33:39 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 04 Apr 2008 10:34:38 -0700
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:cc:in-reply-to:mime-version:content-type:references; bh=GmvNK5WgeVpz/Yy5UxuIBbtSl2iKT80xwRf9l5MhM7U=; b=Vx5DMacTid3P8Slpp72l1dNEIkzDRQcxh+AMsCZauNRdNbZgiVtkHbVxw//WR6WItSM6Ii+0dMSZFBbXZy2KuUHtO8Bv8wjlYAa9OX5iJHINGKEDm3ywEUZyPBl0T956gchhI2AtL1lzA1Ypdjzf9+SKpRnWm2B4J/WqcBNtx6k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=wxuovktP+ZAvl4fpMqXs74t3io1//pCQxRY22d/5NI+2sOi7rdtGRQoarrE+/k7GH4S3K/UWq9GgDtXv2pX7DmNcElnHvdUVsI736DjLTwjI+Y0OKuUY6MXYyUGWr5Tue8EFXbL99/8NFmd/bB8uyLdok2UADMgysjYx6tc4Two=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47F664EC.7000306@xxxxxxxxxxxxxxxx>
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>
References: <VA.000030ea.534690bc@xxxxxxxxxxxxxxxxxx> <47F2DE21.8070700@xxxxxxxxxxxx> <VA.000030ef.0aa80f3d@xxxxxxxxxxxxxxxxxx> <47F3DEE8.60506@xxxxxxxxxxxx> <VA.000030fe.60cb6489@xxxxxxxxxxxxxxxxxx> <47F664EC.7000306@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
where did your .config file copy from?

after make prep-kernels,
you can go to build-linux-2.6.18-xen_xxx directory and "make menuconfig" to generate a .config

after that, do "make all", "make modules_install", and "make install" to install the xen linux.


On Fri, Apr 4, 2008 at 1:27 PM, Bernie Lofaso <bjlofaso@xxxxxxxxxxxxxxxx> wrote:
While I've located a few threads on this topic from a few months ago, I
have not been successful at producing a working build given the
discussions from those threads, specifically the thread including:


I followed the instructions of the above message ... downloaded the
xen-3.2 tarball and unpacked it. Installed mercurial. (I'm doing this on
a Suse 10.3 distro which does not include mercurial.) Cloned the
mercurial source tree at the same level as the 'xen-3.2.0' directory
(i.e. 'xen-3.2.0' and 'linux-2.6.18-xen.hg' are in the same parent
directory). Then after cd'ing to the xen-3.2.0 directory I did a 'make
prep-kernels' ... that all seemed to work fine.  I copied a config file
over to 'build-linux-2.6.18-xen_x86_32' and then did a 'make dist'.
Eventually this died with the error "No rule to make target 'vmlinuz'".
I then cd'd to 'build-linux-2.6.18-xen_x86_32' and executed 'make'.
This appeared to succeed but created a vmlinux file instead of a vmlinuz
file. I proceeded to repeat the previously failed 'make dist' but it
eventually failed with the same complaint about not having a rule to
make vmlinuz.

I'm also a bit concerned that any of the above is doing the right thing.
I say this because as the first make executed, it appeared as though
ketchup was downloading kernel source rather than using the mercurial
build tree that I had previously manually downloaded. There are
directories 'linux-2.6.18' and 'build-linux-2.6.18-xen_x86_32' created,
but they seem to have a fair number of differences with the files from

Can anyone shed some light on what might be going on or what I'm doing

I also noted that the linux-2.6.18 source that's offered on the xen.org
download page doesn't seem to be used in any of these build procedures.
It that correct?

Bernie Lofaso

Xen-users mailing list

Xen-users mailing list