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-devel

Re: [Xen-devel] Latest xen-unstable does not compile

To: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Subject: Re: [Xen-devel] Latest xen-unstable does not compile
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Tue, 20 Oct 2009 09:45:05 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Andreas Florath <xen@xxxxxxxxxxxx>
Delivery-date: Tue, 20 Oct 2009 09:45:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iravbiUde6rfk4vmsiVYLaTl3/I39UnRjN8Hf16dwTY=; b=ENtbDezACxqeYy8wU8H7c1dfX43086iy/1j66vB+x2bcLGXmZevAYs3ngSAltURQkr 3KJGFlrJlB0Wdo7+CQkFBBVgdlWkplBm6ZJzL3uyvWyhLLKjKbM4l9H/8/6eMXr+R3PV kDYnpIulfhUOgOLfmUyiG5BMSYT3n0+jxJQAk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gZf6bchg5Rt+dT6dPxjvaTUGeePoD7PSSpjOibuKiiGiZa4WF6W7Fi4yWvS2FHeuzd 1a2vyGg9N/pBNFdhdTXWGbmLmII3nquHREJR0v/M7eh8LhfWi2H7TEf3jwZAqjK9Ym4x gqXCnsWdvFQXYGZqdOFeqc6ditn/d5hfs09BM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f712b9cf0910200919n21992b89oa65fd9fc3926c385@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C70359B8.17F90%keir.fraser@xxxxxxxxxxxxx> <20091020151738.2k2rxayhc8440css@xxxxxxxxxxxxxxxxxxxx> <20091020155434.j5ttlwf54o8sg4og@xxxxxxxxxxxxxxxxxxxx> <20091020173550.ne3xxbopq8cg4wsc@xxxxxxxxxxxxxxxxxxxx> <f712b9cf0910200919n21992b89oa65fd9fc3926c385@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Nice complete set of instructions. One change added below.

On Tue, Oct 20, 2009 at 9:19 AM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@xxxxxxxxx> wrote:
> Hi Andreas,
>
> Why don't you do compilation of xen-unstable and pvops kernel separately?
>
> E.g.
>
> Compiling xen-unstable
> ====================
>
> prerequisites: install pciutils and pciutils-devel first
>
> >From Boris' instructions (adapted to your case):
>
> # hg clone http://xenbits.xensource.com/xen-unstable.hg
> # cd xen-unstable.hg

I would add one modification to the Xen build here. Since you're
building the 2.6.31.1 kernel separately there's no need to build the
default xen kernels, so you can disable that part of the build with:
export KERNELS=""

I also like to build the xen deliverables in a location that is easily
installable to other targets:
export DISTDIR=/install-from-location (some shared filesystem)
# make dist

Then from each target:
cd /install-from-location
install.sh

> # make xen
> # make install-xen
> # make tools
> # make install-tools
>
> Compiling pvops kernel 2.6.31.1
> ===========================
>
> Also from Boris' instructions:
>
> # git clone git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
> linux-2.6-xen
> # cd linux-2.6-xen
>
> No need to do a checkout at all as the default is xen/master and at
> the moment it is pvops 2.6.31.1 if I am not wrong.
>
> Then my own steps:
>
> # make mrproper
> # vi Makefile # change the extraversion string
>
> Try my 2.6.31.1 xen pvops kernel config as attached in this email and
> rename it to .config in linux-2.6-xen/ source directory
>
> Then
>
> # make oldconfig
>
> For any NEW kernel features, just accept the defaults by pressing ENTER
>
> # make
> # make modules_install
> # make install
>
> Then edit your grub configuration to reflect your newly installed Xen
> pvops dom0 kernel. You need to use a kernel and two modules statement
> instead of the conventional kernel and initrd statements.
>
> --
> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
> Engineering)
> Alma Maters:
> (1) Singapore Polytechnic
> (2) National University of Singapore
> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
> Email: space.time.universe@xxxxxxxxx
> MSN: teoenming@xxxxxxxxxxx
> Mobile Phone: +65-9648-9798
> Street: Bedok Reservoir Road
> Republic of Singapore
>
>
>
> On Tue, Oct 20, 2009 at 11:35 PM, Andreas Florath <xen@xxxxxxxxxxxx> wrote:
>> Hu - I like to answer my own mails...
>>
>> After 'make world' stops and after sending the bug report - I did a 'make
>> dist'. And: it compiled - and boots - and xm-tests are running.
>>
>> I'll start all over tomorrow and check the build problem again.
>>
>> Kind regards - Andreas
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel