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 18:23:56 +0200
Cc: Philip Steeman <philip.steeman@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jun 2007 09:22:38 -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=YWDu2/2QHxPPwsI9x/D2g7BfXDy9aJNagQQ8OL8uq0W1gdOcSwx/WBf72zwrwfjTF9KbkT2bW2PReAs5qYAbaw2YPBIqvqa/gOVF7jkOoeZ9CUQbHBi0oIfdoVmlfWdIH38MRMq751Lk/L5KbZiVXMJNL67urR3we3MtvOKuXKo=
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=OPLUJ8wbzh1eSvgVh69bFnk/2KAoeFCuWlhOsJlQ4Dv2IKC7CDGum/opes05qMiFt+I3YNEMxcN5poywteWuFFjSjhgP6Mm1fhYlYN1wpYFT1g6Qu96gesWCFoYjz/h7EPE1H81fZoMpzQNCrZ2jaDGqJ6dhtiHEumYYvZ68K2M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <DA2EE1747120493E8F4865B079344704@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> <215ff4410706070727w758b9afakaad173d977af216c@xxxxxxxxxxxxxx> <DA2EE1747120493E8F4865B079344704@shs1>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
After using your script the kernel compiled my options and I have booted xen3.1
I didn't delete /usr/src/xen-3.1.0-src
Now if I do
cd  /usr/src/xen-3.1.0-src
make linux-2.6-xen0-config CONFIGMODE=menuconfig

It reads the config I saved first time round
So I add a module or something and do
make linux-2.6-xen0-build

All is good.

So it seems the part that doesn't work as expected is the first time
config and compile.
but running /usr/src/steffen.sh is a work around.

Thanks.
Chris.

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

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

Yes. I transfer this $1-xen3.1.tgz files to differnet machines, extract them
and then do ./install.sh.
Each having it's own config folder used in the earlier lines.

> But, how can I patch the kernel (at a later date) and install
> the changes?

I don't know. I am not patching my kernels.
However if you just remove the rm -rf at the end, you should be able to do
so.

There is no magic in that script.
Except the knowledge, where to put the old configs...

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

This is because I am building a range of kernels in a row and I prefer to
have clean directories.
That machine is dedicated for compiling, so I don't care if it takes 30
minutes or one hour.

> Does that sound right?

Some sound reasonable, some I don't know. I am only a beginner for self
compiled kernels...

As for creating different configs: I also have one directory (also extracted
from source), where I do
  make linux-2.6-xen0-config mode=menuconfig
and
  make linux-2.6-xenU-config mode=menuconfig
Loading my old configs as alternative configs and storing them at
alternative locations. (My per-target config folder.)

Regards,
  Steffen



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