Philippe Trolliet
2007-May-25 08:09 UTC
[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? i searched the net and haven´t found any howto to build xen from source with newer kernel versions and existing config files. 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@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-25 10:05 UTC
RE: [Xen-users] howto build xen from source with existing config?
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Tobin
2007-May-25 10:08 UTC
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@lists.xensource.com 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Philippe Trolliet
2007-May-25 10:25 UTC
RE: [Xen-users] howto build xen from source with existing config?
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] 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...> > > > 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.) 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-May-25 10:31 UTC
RE: [Xen-users] howto build xen from source with existing config?
> -----Original Message----- > From: Philippe Trolliet [mailto:p.trolliet@novatec-gmbh.de] > 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Philippe Trolliet
2007-May-25 10:35 UTC
RE: [Xen-users] howto build xen from source with existing config?
Petersson, Mats
2007-May-25 10:45 UTC
RE: [Xen-users] howto build xen from source with existing config?
> -----Original Message----- > From: Philippe Trolliet [mailto:p.trolliet@novatec-gmbh.de] > Sent: 25 May 2007 11:36 > To: Ian Tobin; Petersson, Mats; Xen-Users > Subject: RE: [Xen-users] howto build xen from source with > existing config? > > 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.The people at redhat (etc) spend many manhours porting the Xen sparse-tree and patches to match the new kernel (the sparse-tree contains complete files that replace the existing files in the linux-2.6.X-xen tree. So for example, in the baremetal version of Linux, there is a bar.c, and in the sparse-tree there is a bar-xen.c, which gets copied into the linux-...-xen tree. In the build of the linux-xen version, the last part of the build-process will pick the -xen files instead of the non-xen version. Since the new linux kernel is possibly quite different inside the bar.c, it also needs the corresponding changes in the bar-xen.c. Depending on how bar.c has changed, this may be rather trivial (add/remove a couple of simple lines, change the type of a variable or some such), but it can also be quite complicated because the internal workings may have changed. It''s not just a case of copying the config file, from one version to another, it is all the changes in the sparse-tree (or in the linux-2.6.X-xen tree) that makes it complex. -- Mats> > regards > philippe > > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com 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@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Philippe Trolliet
2007-May-25 11:00 UTC
RE: [Xen-users] howto build xen from source with existing config?
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com]On Behalf Of Petersson, > Mats > Sent: Freitag, 25. Mai 2007 12:32 > To: Philippe Trolliet; Xen-Users > Subject: RE: [Xen-users] howto build xen from source with existing > config? > > > > > > -----Original Message----- > > From: Philippe Trolliet [mailto:p.trolliet@novatec-gmbh.de] > > 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@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] 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.this doesn´t work anymore in xen 3.1.> > > > > > > > > > > > > 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@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Ian Tobin
2007-May-25 11:55 UTC
RE: [Xen-users] howto build xen from source with existing config?
yes it does, ive just done it :) ________________________________ From: Philippe Trolliet [mailto:p.trolliet@novatec-gmbh.de] Sent: Fri 25/05/2007 12:00 To: Petersson, Mats; Xen-Users; Ian Tobin Subject: RE: [Xen-users] howto build xen from source with existing config?> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com]On Behalf Of Petersson, > Mats > Sent: Freitag, 25. Mai 2007 12:32 > To: Philippe Trolliet; Xen-Users > Subject: RE: [Xen-users] howto build xen from source with existing > config? > > > > > > -----Original Message----- > > From: Philippe Trolliet [mailto:p.trolliet@novatec-gmbh.de] > > 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@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] 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.this doesn´t work anymore in xen 3.1.> > > > > > > > > > > > > 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@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
Dylan Martin
2007-May-25 16:05 UTC
Re: [Xen-users] howto build xen from source with existing config?
I was the instigator for the similer thread yesterday. Here''s my solution: Fedora 7 is released in 5 days. Nuff said. If you''re absolutely determined to build a xen 3.1.0 kernel for FC6, the smart way to do it would be do grab the source RPMS from the FC6 kernel and the F7 xen-kernel and figure out how to add the FC7 xen stuff to the FC6 kernel. However, the smart thing would be to wait 5 days for F7, which has xen 3.1.0 in it. -Dylan> 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@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com]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@lists.xensource.com 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@lists.xensource.com > > [[1]mailto:xen-users-bounces@lists.xensource.com] 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@lists.xensource.com > > [2]http://lists.xensource.com/xen-users > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > [3]http://lists.xensource.com/xen-users > > __________ NOD32 2291 (20070525) Information __________ > > This message was checked by NOD32 antivirus system. > [4]http://www.eset.com > > References > > Visible links > 1. mailto:xen-users-bounces@lists.xensource.com > 2. http://lists.xensource.com/xen-users > 3. http://lists.xensource.com/xen-users > 4. http://www.eset.com/> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Daniel P. Berrange
2007-May-25 16:10 UTC
Re: [Xen-users] howto build xen from source with existing config?
On Fri, May 25, 2007 at 09:05:15AM -0700, Dylan Martin wrote:> I was the instigator for the similer thread yesterday. Here''s my > solution: Fedora 7 is released in 5 days. Nuff said. > > If you''re absolutely determined to build a xen 3.1.0 kernel for FC6, > the smart way to do it would be do grab the source RPMS from the FC6 > kernel and the F7 xen-kernel and figure out how to add the FC7 xen > stuff to the FC6 kernel.You can grab the src.rpm for the F7 kernel-xen and xen RPMs and just rebuild them without change against FC6 & they''ll work. You may need to update a couple of supporting packages (mkinird & nash IIRC) but aside from that it will just work. I''ve used this approach to do lots of testing of the F7 xen stack ontop of FC6 distro.> However, the smart thing would be to wait 5 days for F7, which has xen > 3.1.0 in it.Yep, that''ll be available very shortly.... You don''t even need to wait 5 days. Just take rawhide which is basically identical to what F7 will be when its out. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dylan Martin
2007-May-25 16:43 UTC
Re: [Xen-users] howto build xen from source with existing config?
Cool! I started down that road but got discouraged when I found out I''d need to update mkinitrd. I was afraid it would snowball out of control, but apparently not. Awesome!> On Fri, May 25, 2007 at 09:05:15AM -0700, Dylan Martin wrote: > > I was the instigator for the similer thread yesterday. Here''s my > > solution: Fedora 7 is released in 5 days. Nuff said. > > > > If you''re absolutely determined to build a xen 3.1.0 kernel for FC6, > > the smart way to do it would be do grab the source RPMS from the FC6 > > kernel and the F7 xen-kernel and figure out how to add the FC7 xen > > stuff to the FC6 kernel. > > You can grab the src.rpm for the F7 kernel-xen and xen RPMs and just > rebuild them without change against FC6 & they''ll work. You may need > to update a couple of supporting packages (mkinird & nash IIRC) but > aside from that it will just work. I''ve used this approach to do lots > of testing of the F7 xen stack ontop of FC6 distro. > > > However, the smart thing would be to wait 5 days for F7, which has xen > > 3.1.0 in it. > > Yep, that''ll be available very shortly.... You don''t even need to wait > 5 days. Just take rawhide which is basically identical to what F7 will > be when its out. > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users