All, I downloaded and installed xen 2.0 testing using make world. Make world installed kernel 2.6.12. Following the instructions in the manual I cd''d to linux-2.6.12-xen0 and setup my .config file. I then cd .. back to xen-2.0-testing and issued make. Rather than using the 2.6.12 kernel installed with make world make started downloading the 2.6.11 kernel. What am I missing here? Thanks. Regards, John Little Hendricks Regional Health IS Department 317-718-4752 jslittl@hendricks.org http://www.hendrickshospital.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew D. Ball
2005-Dec-05 04:20 UTC
Re: [Xen-users] compiling custom kernel on 2.0 testing
Those instructions have never worked for me. I have found a way that works though: cd linux-2.6.12-xen0 make ARCH=xen menuconfig # or oldconfig if you want to edit .config or # reuse one make ARCH=xen make ARCH=xen modules_install install Hopefully that will work for you. I''d like to know a way to use a custom dom0 or domU kernel configuration that doesn''t cause the kernels to be built twice (first time from ''make world'' with the default configurations, second time manually with the commands above) or make me have to modify the default configuration(s) in xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs Good luck. Andrew On Thu, 2005-12-01 at 16:36 -0500, John S Little wrote:> All, > > I downloaded and installed xen 2.0 testing using make world. Make world > installed kernel 2.6.12. Following the instructions in the manual I cd''d > to linux-2.6.12-xen0 and setup my .config file. I then cd .. back to > xen-2.0-testing and issued make. Rather than using the 2.6.12 kernel > installed with make world make started downloading the 2.6.11 kernel. What > am I missing here? > > Thanks. > > Regards, > > John Little > Hendricks Regional Health IS Department > 317-718-4752 > jslittl@hendricks.org > http://www.hendrickshospital.org > > _______________________________________________ > 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
Andrew D. Ball wrote:> Those instructions have never worked for me. I have found a way that > works though: > > cd linux-2.6.12-xen0 > make ARCH=xen menuconfig # or oldconfig if you want to edit .config or > # reuse one > make ARCH=xen > make ARCH=xen modules_install install > > Hopefully that will work for you. I''d like to know a way to use a > custom dom0 or domU kernel configuration that doesn''t cause the kernels > to be built twice (first time from ''make world'' with the default > configurations, second time manually with the commands above) or make meMake world doesn''t build the kernels (in the xen-unstable src), it simply downloads the kernel source, patches it, configures it and compiles the xen userland utilities.> have to modify the default configuration(s) in > xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs > > Good luck. > Andrew-Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2005-Dec-05 11:31 UTC
RE: [Xen-users] compiling custom kernel on 2.0 testing
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Michael Best > Sent: 05 December 2005 05:39 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] compiling custom kernel on 2.0 testing > > Andrew D. Ball wrote: > > Those instructions have never worked for me. I have found > a way that > > works though: > > > > cd linux-2.6.12-xen0 > > make ARCH=xen menuconfig # or oldconfig if you want to edit > .config or > > # reuse one make ARCH=xen make ARCH=xen modules_install install > > > > Hopefully that will work for you. I''d like to know a way to use a > > custom dom0 or domU kernel configuration that doesn''t cause the > > kernels to be built twice (first time from ''make world'' with the > > default configurations, second time manually with the > commands above) > > or make me > > Make world doesn''t build the kernels (in the xen-unstable > src), it simply downloads the kernel source, patches it, > configures it and compiles the xen userland utilities.Are you sure? That must mean that the tooth-fairy came and compiled my kernels while I wasn''t looking... ;-) In fact, I just did a "make clean" in the linux*xen0 directory, followed by a "make world" in the xen directory, and from what I could see, it was building the Dom0 kernel... -- Mats> > > have to modify the default configuration(s) in > > xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs > > > > Good luck. > > Andrew > > -Mike > > _______________________________________________ > 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
Andrew D. Ball
2005-Dec-05 12:11 UTC
RE: [Xen-users] compiling custom kernel on 2.0 testing
On Mon, 2005-12-05 at 12:31 +0100, Petersson, Mats wrote:> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Michael Best > > Sent: 05 December 2005 05:39 > > To: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] compiling custom kernel on 2.0 testing > > > > Andrew D. Ball wrote: > > > Those instructions have never worked for me. I have found > > a way that > > > works though: > > > > > > cd linux-2.6.12-xen0 > > > make ARCH=xen menuconfig # or oldconfig if you want to edit > > .config or > > > # reuse one make ARCH=xen make ARCH=xen modules_install install > > > > > > Hopefully that will work for you. I''d like to know a way to use a > > > custom dom0 or domU kernel configuration that doesn''t cause the > > > kernels to be built twice (first time from ''make world'' with the > > > default configurations, second time manually with the > > commands above) > > > or make me > > > > Make world doesn''t build the kernels (in the xen-unstable > > src), it simply downloads the kernel source, patches it, > > configures it and compiles the xen userland utilities. > > Are you sure? That must mean that the tooth-fairy came and compiled my > kernels while I wasn''t looking... ;-) In fact, I just did a "make clean" > in the linux*xen0 directory, followed by a "make world" in the xen > directory, and from what I could see, it was building the Dom0 kernel... > > -- > Mats8-) I see the same behavior. The annoyance for me is that I don''t have any way to get ''make world'' to use a different dom0 kernel configuration than the default without modifying the default kernel configuration that came from the Xen source tree. I don''t want to do that, because I''d like to keep it intact for sanity. I suppose if I spent some time, I could use other targets than ''world'' to build the hypervisor and userspace tools, patch the Linux kernels, reconfigure the Linux kernel, and than make the Linux kernels. I think that involves ''make xen'', followed something like ''make patch'' or ''make kernels''. Feel free to chime in if you know how to do this ... Thanks. Andrew> > > > > have to modify the default configuration(s) in > > > xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs > > > > > > Good luck. > > > Andrew > > > > -Mike > > > > _______________________________________________ > > 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
Andrew D. Ball
2005-Dec-05 12:36 UTC
Re: [Xen-users] compiling custom kernel on 2.0 testing
On Sun, 2005-12-04 at 23:20 -0500, Andrew D. Ball wrote:> Those instructions have never worked for me. I have found a way that > works though: > > cd linux-2.6.12-xen0 > make ARCH=xen menuconfig # or oldconfig if you want to edit .config or > # reuse one > make ARCH=xen > make ARCH=xen modules_install installI forgot a wrinkle here. In order to get the kernels to install in /boot instead of /boot/boot , I need to do something like make ARCH=xen INSTALL_PATH=/ modules_install install instead. This appears to be due to a design choice where the default value of INSTALL_PATH for XenoLinux is /boot to make installing the base xen stack in xen-unstable.hg/dist easier. I would prefer to not have to remember this -- perhaps the makefiles could be modified to specify the somewhat modified INSTALL_PATH for use with xen-unstable.hg/dist explicitly, so that users who wish to recompile XenoLinux kernels don''t have added pain. Thanks. Andrew> > Hopefully that will work for you. I''d like to know a way to use a > custom dom0 or domU kernel configuration that doesn''t cause the kernels > to be built twice (first time from ''make world'' with the default > configurations, second time manually with the commands above) or make me > have to modify the default configuration(s) in > xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configs > > Good luck. > Andrew > > On Thu, 2005-12-01 at 16:36 -0500, John S Little wrote: > > All, > > > > I downloaded and installed xen 2.0 testing using make world. Make world > > installed kernel 2.6.12. Following the instructions in the manual I cd''d > > to linux-2.6.12-xen0 and setup my .config file. I then cd .. back to > > xen-2.0-testing and issued make. Rather than using the 2.6.12 kernel > > installed with make world make started downloading the 2.6.11 kernel. What > > am I missing here? > > > > Thanks. > > > > Regards, > > > > John Little > > Hendricks Regional Health IS Department > > 317-718-4752 > > jslittl@hendricks.org > > http://www.hendrickshospital.org > > > > _______________________________________________ > > 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
> 8-) I see the same behavior. The annoyance for me is that I > don''t have any way to get ''make world'' to use a different > dom0 kernel configuration than the default without modifying > the default kernel configuration that came from the Xen > source tree. I don''t want to do that, because I''d like to > keep it intact for sanity.copy your config to dist/install/boot/config-<version> and it will be picked up by the next "make world". e.g. dist/install/boot/config-2.6.12.6-xen> I suppose if I spent some time, I could use other targets than ''world'' > to build the hypervisor and userspace tools, patch the Linux > kernels, reconfigure the Linux kernel, and than make the > Linux kernels. I think that involves ''make xen'', followed > something like ''make patch'' or ''make kernels''. Feel free to > chime in if you know how to do this ...There are a number of ways of doing this, but here''s what''s recommended: make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) make linux-2.6-xen-build make linux-2.6-xen-install Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John S Little
2005-Dec-05 14:43 UTC
Re: [Xen-users] compiling custom kernel on 2.0 testing
Andrew.. "Andrew D. Ball" <aball@us.ibm.com> wrote on 12/04/2005 11:20:09 PM:> Those instructions have never worked for me. I have found a way that > works though: > > cd linux-2.6.12-xen0 > make ARCH=xen menuconfig # or oldconfig if you want to edit .config or > # reuse one > make ARCH=xen > make ARCH=xen modules_install installOk that works better..> Hopefully that will work for you. I''d like to know a way to use a > custom dom0 or domU kernel configuration that doesn''t cause the kernels > to be built twice (first time from ''make world'' with the default > configurations, second time manually with the commands above) or make me > have to modify the default configuration(s) in > xen-unstable.hg/linux-2.6-xen-sparse/arch/xen/configsI had the same thought. Maybe when/if xen becomes a part of the general release kernel so that xen patching is not required.> Good luck. > AndrewThanks for your help. Now if I can just figure out how to get xen-br1 to automatically start for the second nic...> > On Thu, 2005-12-01 at 16:36 -0500, John S Little wrote: > > All, > > > > I downloaded and installed xen 2.0 testing using make world. Makeworld> > installed kernel 2.6.12. Following the instructions in the manual Icd''d> > to linux-2.6.12-xen0 and setup my .config file. I then cd .. back to > > xen-2.0-testing and issued make. Rather than using the 2.6.12kernel> > installed with make world make started downloading the 2.6.11 kernel.What> > am I missing here?Regards, John Little Hendricks Regional Health IS Department 317-718-4752 jslittl@hendricks.org http://www.hendrickshospital.org _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users