Hi I still don''t understand how to build xen 3.0.2 with custom configs for xen0 and xenU. On this list I read to use: make KERNELS="linux-2.6-xen0 linux-2.6-xenU" world And this works, however I cannot change configs here. When I call the command above, it creates default-configs and when I change them afterwards and run the command again, my configs are overwritten. I found no way to build two kernels with custom configs. The README file is no help either. Having two trees from the command above, running "make dist" does NOT use those trees as stated but creates a new "linux-3.0-xen" folder. Maybe these seem to be stupid questions, but I never compiled kernels myself before xen and I only did for xen3.0.1 and xen3-testing. Things changed since and I don''t seem to understand it. There is propably a correct way to tell build world to use my configs, but I cannot find it. (BTW, what is the correct/recommended way to include old configs (from xen3.0.1)? I see there is a option to load "old config" in menuconfig, but I assume it also loads settings from xen 3.0.1 which might have changes in xen 3.0.2... Is there a way to load only "real" kernel options and leave all xen 3.0.2 settings intact?) I feel a little lost. Any help would be greatly appreciated. Best regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steffen Heil
2006-Apr-08 15:29 UTC
RE: [Xen-users] cannot build xen 3.0.2 with custom config
Hi Still problems... I realized I forgot the error message. What ever I try, I always get: *** Missing file: arch/i386/boot/bzImage *** You need to run "make" before "make install". Needless to say, that I ran "make" instead of "make install". As always, any help would be greatly appreciated. Best regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ryan Burke
2006-Apr-08 15:34 UTC
Re: [Xen-users] cannot build xen 3.0.2 with custom config
Sorry realized I didn''t do a reply to All Stephen, did you try this yet? Try a "make help" in the xen3.0.2 directory. It shows all the options to build. My recommendation would be: make xen *installs the Xen Hypervisor make tools * installs all the Xen tools * create the DomU kernel make linux-2.6-xenU-config CONFIGMODE=menuconfig make linux-2.6-xenU-build make linux-2.6-xenU-install mkinitrd -v -f initrd-2.6.16-xenU.img 2.6.16-xenU * create the Dom0 kernel make linux-2.6-xen0-config CONFIGMODE=menuconfig make linux-2.6-xen0-build make linux-2.6-xen0-install mkinitrd -v -f initrd-2.6.16-xen0.img 2.6.16-xen0 Then just modify the grub.conf file with the new Dom0 kernel and initrd, and the DomU domains with the new DomU and it should work. I think it will take a reboot though to get the new Hypervisor in place. ----- Original Message ----- From: "Steffen Heil" <lists@steffen-heil.de> To: <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 9:12 AM Subject: [Xen-users] cannot build xen 3.0.2 with custom config> _______________________________________________ > 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
Ryan Burke
2006-Apr-08 15:44 UTC
Re: [Xen-users] cannot build xen 3.0.2 with custom config
Slight typo: It should be: make install-xen make install-tools The way I have it below onles builds them and places them into the dist/. ----- Original Message ----- From: "Ryan Burke" <burke@tailorhosting.com> To: "Steffen Heil" <lists@steffen-heil.de>; <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 10:34 AM Subject: Re: [Xen-users] cannot build xen 3.0.2 with custom config> Sorry realized I didn''t do a reply to All > > Stephen, did you try this yet? > > Try a "make help" in the xen3.0.2 directory. It shows all the options to > build. My recommendation would be: > > make xen *installs the Xen Hypervisor > make tools * installs all the Xen tools > > * create the DomU kernel > make linux-2.6-xenU-config CONFIGMODE=menuconfig > make linux-2.6-xenU-build > make linux-2.6-xenU-install > mkinitrd -v -f initrd-2.6.16-xenU.img 2.6.16-xenU > > * create the Dom0 kernel > make linux-2.6-xen0-config CONFIGMODE=menuconfig > make linux-2.6-xen0-build > make linux-2.6-xen0-install > mkinitrd -v -f initrd-2.6.16-xen0.img 2.6.16-xen0 > > Then just modify the grub.conf file with the new Dom0 kernel and initrd, > and > the DomU domains with the new DomU and it should work. I think it will > take > a reboot though to get the new Hypervisor in place. > > > > > ----- Original Message ----- > From: "Steffen Heil" <lists@steffen-heil.de> > To: <xen-users@lists.xensource.com> > Sent: Saturday, April 08, 2006 9:12 AM > Subject: [Xen-users] cannot build xen 3.0.2 with custom config > > >> _______________________________________________ >> 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
Ryan Burke
2006-Apr-08 16:01 UTC
Re: [Xen-users] cannot build xen 3.0.2 with custom config
There is still the "make dist KERNELS=linux-2.6-xenU" like options. That will make it and install it to the dist/ and not hte entire system. You should be able to use the make dist from above and just copy the old config file to the xenU/.config file. There are some differences in the .configs because of different kernels, but if you are comportable with your current congis then stick with them. Ryan ----- Original Message ----- From: "Steffen Heil" <lists@steffen-heil.de> To: <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 9:12 AM Subject: [Xen-users] cannot build xen 3.0.2 with custom config> _______________________________________________ > 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
Ryan Burke
2006-Apr-08 16:13 UTC
Re: [Xen-users] cannot build xen 3.0.2 with custom config
I just ran the "make linux-2.6-xen0-build" and it built and installed into dist/ fine. You might want to do a "make clean" just ot clear anything else out, or even re-extract from the xen-3.0.2-src.tar.gz to start clean. I know you''ve been working on this for a while now and maybe something is messed up. I''m not sure what to say, it works for me. Keep us posted. Ryan ----- Original Message ----- From: "Steffen Heil" <lists@steffen-heil.de> To: "''Ryan Burke''" <burke@tailorhosting.com> Sent: Saturday, April 08, 2006 11:00 AM Subject: RE: [Xen-users] cannot build xen 3.0.2 with custom config> Hi > >> make xen *installs the Xen Hypervisor >> make tools * installs all the Xen tools > > Was perfect for me. > Then I tried to build xen0 first. > >> make linux-2.6-xen0-config CONFIGMODE=menuconfig > ok.. > >> make linux-2.6-xen0-build > faild: > > make[2]: Entering directory `/root/xen-3.0.2/linux-2.6.16-xen0'' > make[2]: *** No rule to make target `vmlinuz''. Stop. > > Any hint? > > Regards, > Steffen >----- Original Message ----- From: "Steffen Heil" <lists@steffen-heil.de> To: <xen-users@lists.xensource.com> Sent: Saturday, April 08, 2006 9:12 AM Subject: [Xen-users] cannot build xen 3.0.2 with custom config> _______________________________________________ > 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
Steffen Heil
2006-Apr-08 17:55 UTC
RE: [Xen-users] cannot build xen 3.0.2 with custom config
Hi> I just ran the "make linux-2.6-xen0-build" and it built and > installed into dist/ fine. You might want to do a "make > clean" just ot clear anything else out, or even re-extract > from the xen-3.0.2-src.tar.gz to start clean. I know you''ve > been working on this for a while now and maybe something is > messed up. I''m not sure what to say, it works for me. > > Keep us posted.It turned out to be a problem with my old config files. Even though they work with 3.0.1, they somehow disturbed the build process of 3.0.2. Now I have reconfigured both kernels by hand again... :( However, it''s building. When it''s finished, I have issued: make xen make tools make docs make linux-2.6-xen0-config CONFIGMODE=menuconfig make linux-2.6-xen0-build make linux-2.6-xen0-install make linux-2.6-xen0-dist ( <-- unsure about this ) make linux-2.6-xenU-config CONFIGMODE=menuconfig make linux-2.6-xenU-build make linux-2.6-xenU-install make linux-2.6-xenU-dist ( <-- unsure about this ) I expect to have all regular files (kernels, modules, xen) in dist then. Is there a recommended way to get the scripts and such, that I have something comparable to the binary distribution? Such that I can take it to my xen server(s) and just hit ./install.sh ? Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users