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

Re: [Xen-users] Building XEN with different config PROBLEM

To: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Building XEN with different config PROBLEM
From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Date: Thu, 7 Jun 2007 16:27:18 +0200
Cc: Philip Steeman <philip.steeman@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jun 2007 07:25:57 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cfM+uQLnJU8XlbidkQTYAqBH+r/INwS0qbfpE245Z7jCzvhHUBC3CJCVg1A+LELWsp4FkRuG6HSzkstJl8cu8mVX0mYp5LWm4I6cjn3y8vWnLu1Xzuu/+1QatdF8INtRNw6hLlLYe7l3NiM0bdBwHIMJtSLSASzp8p7LFC5pxmY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bJMMOS6g9ewBRh8cCl3qxWQA+qWpyFPKOWTMhCDnNUiAwrqBlfUJk1fmHV1WKZjEtQYMkz7MZpHsoykKRqTKFd1qNCIxFjr+V2sM+et060ez4wp1O30n2aDSnuaOvDyESIXg5lbiMKuu6ypxIqiPhYm4IUGuRtEa8ZhnBymcb5o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0F73DCD7A12B4F8F8D82D6CF86B49519@shs1>
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: <97D1EA73AEF14ADDB1D731A51736EB19@shs1> <215ff4410706060458q7b8a0f76g85ddb959216f9e32@xxxxxxxxxxxxxx> <394850C3411845CFB449D2AE8685C8EB@shs1> <215ff4410706060616l624d879cndd47d68a17d046cf@xxxxxxxxxxxxxx> <46670A59.4040909@xxxxxxx> <0F73DCD7A12B4F8F8D82D6CF86B49519@shs1>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Steffen,


rm -rf xen-3.1.0-src
tar xzf xen-3.1.0-src.tgz
cd xen-3.1.0-src
mkdir -p dist/install/boot
cp ../config/$1/xen0 dist/install/boot/config-2.6.18-xen0
cp ../config/$1/xenU dist/install/boot/config-2.6.18-xenU
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" dist
cd dist/
tar czf ../../dist/$1-xen3.1.tgz .
cd ../..
rm -rf xen-3.1.0-src

I've tried your script with a bogus config and got used. :) !

tar xzf xen-3.1.0.tar.tgz
cd xen-3.1.0-src
cd build-linux-2.6.18-xen0_x86_32
make menuconfig
cd ..
make linux-2.6-xen0-build
this didn't work Philip.

A couple of doubts.

tar czf ../../dist/$1-xen3.1.tgz .
creates a file in /usr/src/dist
the ./install.sh will install on my local machine, right?


But, how can I patch the kernel (at a later date) and install the changes?
I used to do
make linux-2.6-xen-config CONFIGMODE=menuconfig
make linux-2.6-xen-build
make linux-2.6-xen-install
:(

What do you think the proceedure is now?

In your script you finish with a
rm -rf xen-3.1.0-src

If I want to patch a against the source tree I must keep the
xen-3.1.0-src directory and then do
cd /usr/src/xen-3.1.0-src/linux-2.6.18-xen
patch -p1 < patch.file

Now I must change your script like this?
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" build
make KERNELS="linux-2.6-xen0 linux-2.6-xenU" install

Does that sound right?

Thanks once again,
Chris.

On 6/7/07, Steffen Heil <lists@xxxxxxxxxxxxxxx> wrote:
Hi

> tar xzf xen-3.1.0.tar.tgz
> cd xen-3.1.0-src
> cd build-linux-2.6.18-xen0_x86_32
> make menuconfig
> cd ..
> make linux-2.6-xen0-build

I didn't try that.
However the following does NOT work:

tar xzf xen-3.1.0.tar.tgz
cd xen-3.1.0-src
make linux-2.6-xen0-config mode=menuconfig
make linux-2.6-xen0-build

Even though, it DOES open configuration - just doesn't store anywhere...

Regards,
  Steffen

_______________________________________________
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