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] howto build xen from source with existing config?

To: "Philippe Trolliet" <p.trolliet@xxxxxxxxxxxxxxx>, "Xen-Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] howto build xen from source with existing config?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 25 May 2007 12:31:38 +0200
Delivery-date: Fri, 25 May 2007 03:30:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <IFEMJJOBPCHGAFECGKEBAEAKCNAA.p.trolliet@xxxxxxxxxxxxxxx>
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
Thread-index: AceetwD9wyNY7519SkSJACrZlGPXbAAALh/w
Thread-topic: [Xen-users] howto build xen from source with existing config?
 

> -----Original Message-----
> From: Philippe Trolliet [mailto:p.trolliet@xxxxxxxxxxxxxxx] 
> Sent: 25 May 2007 11:25
> To: Petersson, Mats; Xen-Users
> Subject: RE: [Xen-users] howto build xen from source with 
> existing config?
> 
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of 
> Petersson,
> > Mats
> > Sent: Freitag, 25. Mai 2007 12:06
> > To: Philippe Trolliet; Xen-Users
> > Subject: RE: [Xen-users] howto build xen from source with existing
> > config?
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > > Philippe Trolliet
> > > Sent: 25 May 2007 09:09
> > > To: Xen-Users
> > > Subject: [Xen-users] howto build xen from source with 
> existing config?
> > >
> > > hi,
> > > i´m using fedora core 6 and want to build xen 3.1 from source
> > > for the 2.6.20
> > > kernel. how can i build xen with the existing kernel-config
> > > from /boot (e.g.
> > > config-2.6.20-1.2948.fc6xen) and an installed kernel-devel
> > > (source) package?
> > > is it good to use this config or should i create a new one?
> >
> > You should be able to use the config for another kernel, as long
> > as the config is for the same base-level kernel (e.g. it may not
> > work to use a 2.6.18 config to build a 2.6.20 kernel, and
> > probably even worse the other way around).
> 
> ok. i want to use 2.6.20 config for a 2.6.20 kernel.
> i would never use a 2.6.18 config for a 2.6.20 kernel or vice versa.
> but how and where can i tell the compile process to use the config?
> i searched the diferent makefiles...

As Ian Tobin said, you can use "make oldconfig" to copy the current config to 
the new build. 

> 
> >
> >
> > > i searched the net and haven´t found any howto to build xen
> > > from source with
> > > newer kernel versions and existing config files.
> >
> > As stated in a post yesterday, the best way to achieve this is to
> > wait for one of the distributors to do the hard work of figuring
> > out how to adopt the kernel patches from Xen into the next
> > version of the kernel - because that's what you'll have to do.
> >
> > However, if you want to go with the current FC6 Dom0 kernel, and
> > use the new 3.1 tools and Xen Hypervisor, that should work ok.
> 
> i want to change from the fedora core 6 xen 3.0.3 version to 
> 3.1 because the
> hypervisor crashed. first the domU crashed when i tried to 
> compile postfix
> in it. but not just when i was compiling. then the dom0 
> crashed and i had to
> turn off the machine to restart it. i got the message: "BUG: 
> soft lockup
> detected on cpu#0" with a stack trace. i posted the error on 
> bugzilla. i´m
> not the only one with that problem.
> 
> do you mean that it´s better to use the standard way for xen? 
> (download xen
> source and just execute make world. then use the 2.6.18 
> kernel builded by
> xen 3.1.)

That would be my preferred method, unless you absolutely need something from 
2.6.20 - such as a particular driver that doesn't exist in 2.6.18 or such. 

--
Mats
> 
> i´ll just try that and let´s hope that it works... in case 
> that it wouldn´t,
> i have to change back to FC4.
> 
> regards
> philippe
> 
> >
> > --
> > Mats
> > > in the users documentation i found sth like make ARCH=xen
> > > oldconfig but this
> > > doesn´t work. the README couldn´t help me too.
> > > please give detailed instructions.
> > > thank you
> > >
> > > regards
> > > philippe
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> >
> 
> 
> 
> 



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