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: "Ian Tobin" <itobin@xxxxxxxxxxxxx>, "Petersson, Mats" <Mats.Petersson@xxxxxxx>, "Xen-Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] howto build xen from source with existing config?
From: "Philippe Trolliet" <p.trolliet@xxxxxxxxxxxxxxx>
Date: Fri, 25 May 2007 12:35:42 +0200
Delivery-date: Fri, 25 May 2007 03:34:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <E0E43F8F0962AD4C8A1D6CE8ED5EDE3F130EDD@xxxxxxxxxxxxxxxxxxxxxx>
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
hi,
i updated my FC6 and it uses the 2.6.20-xen kernel. so i want to use this version.
it should be possible to use this kernel and its config in xen 3.1 compile process. i mean, how are the people of redhat doing that?
they released a newer xen-kernel.
i´ll just try it like the way you described but with the 2.6.20 config.
 
regards
philippe
 
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of Ian Tobin
Sent: Freitag, 25. Mai 2007 12:08
To: Petersson, Mats; Philippe Trolliet; Xen-Users
Subject: RE: [Xen-users] howto build xen from source with existing config?

Hey,
 
dont know if this is any use to you but i found that booting in xen mode and running
 
make oldconfig
 
in the linux-2.6.18-xen directory
 
seems to import the exiting XEN config into the new one.  Just hold down enter when it prompts for different elements :)
 
thanks
 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx on behalf of Petersson, Mats
Sent: Fri 25/05/2007 11:05
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).


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

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



__________ NOD32 2291 (20070525) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users