Hi, I''m struggling to compile Xen 3.2.0. I don''t want to get sources with Mercurial, therefore I''m using "make world XEN_LINUX_SOURCE=tarball". First, right after extracting xen-3.2.0.tar.gz, there is no kernel source directory to drop my .config file, as explained in [1]. When do I have a chance to configure the kernel when using the ``world'''' target? Suprisingly, Xen 3.1 provided shipped with "linux-2.6-xen-sparse" while Xen 3.2 is not. How does the Linux kernel tree get patched with this new release? I''ve tried "make prep-kernels XEN_LINUX_SOURCE=tarball" but it only extracts the tarball and then makes oldconfig. Finally, when running "make world XEN_LINUX_SOURCE=tarball" with the default .config (provided by Xen), the kernel build always fail very early with the following message: % make[4]: Entering directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' % make -C /root/build/xen-3.2.0/linux-2.6.18 O=/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32 vmlinuz % make[6]: *** No rule to make target `vmlinuz''. Stop. % make[5]: *** [vmlinuz] Error 2 % make[4]: *** [vmlinuz] Error 2 % make[4]: Leaving directory `/root/build/xen-3.2.0/build-linux-2.6.18-xen_x86_32'' Any idea? Thank you. Regards, [1] http://wiki.xensource.com/xenwiki/XenFaq#head-93f7c0f4ad876be33ee0ecdbb139e355035e1988 -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I did it like this on Ubuntu adm64: cd /usr/src && wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz && tar -xzf xen-3.2.0.tar.gz && cd xen-3.2.0 && make all && make install && aptitude install linux-image-xen So I get xen 3.2 with ubuntu 2.6.22-14-xen kernel. Try make all not make world. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zoran, does this 2.6.22-14 kernel work for you. I always get frequent lockups with that. Emre On Jan 22, 2008 6:11 PM, Zoran Kikic <lists@zoran.name> wrote:> I did it like this on Ubuntu adm64: > > cd /usr/src && wget > http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz && > tar -xzf xen-3.2.0.tar.gz && cd xen-3.2.0 && > make all && make install && aptitude install linux-image-xen > > So I get xen 3.2 with ubuntu 2.6.22-14-xen kernel. > > Try make all not make world. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes it works, you can try this one: http://kernel.ubuntu.com/~zul/linux-image-2.6.22-11-xen_2.6.22-11.33_amd64.deb> Zoran, does this 2.6.22-14 kernel work for you. I always get frequent lockups with that._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I have a working Ubuntu/Gutsy/Xen system .. and although I can upgrade it to Xen-3.2.gz, as soon as I try my roll-your-own kernel it gets mostly through the boot and just stops - no errors at all. I''m following all the intructions and using the 2.6.18.8 sources from mecurial .. Anyone know what I might be doing wrong? This works; title Xen 3.2 / Ubuntu 7.10, kernel 2.6.22-14-xen root (hd0,0) kernel /xen-3.2.0.gz com1=115200,8n1 console=com1 module /vmlinuz-2.6.22-14-xen root=/dev/md0 ro console=tty0 module /initrd.img-2.6.22-14-xen This does not; title Native XEN kernel /xen-3.2.gz com1=115200,8n1 console=com1 sync_console module /vmlinuz-2.6.18.8-xen root=/dev/md0 ro console=tty0 module /initrd.img-2.6.18.8-xen This was; cd /usr/src tar xvfz /root/xen-3.2.tgz cd xen-3.2 hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg make install-xen make install-kernels make tools depmod -a 2.6.18.8-xen upddate-initramfs -c -k 2.6.18.8 Any ideas? tia Gareth. ----- Original Message ----- step 3.: "Zoran Kikic" <lists@zoran.name> To: "xen-users" <xen-users@lists.xensource.com> Sent: 22 January 2008 17:24:08 o''clock (GMT) Europe/London Subject: Re: [Xen-users] Can''t build kernel with Xen 3.2.0 Yes it works, you can try this one: http://kernel.ubuntu.com/~zul/linux-image-2.6.22-11-xen_2.6.22-11.33_amd64.deb> Zoran, does this 2.6.22-14 kernel work for you. I always get frequent lockups with that._______________________________________________ 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
Hi Zoran, On Tue, Jan 22, 2008 at 06:11:49PM +0100, Zoran Kikic wrote:> I did it like this on Ubuntu adm64: > > cd /usr/src && wget > http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz && > tar -xzf xen-3.2.0.tar.gz && cd xen-3.2.0 && > make all && make install && aptitude install linux-image-xen > > So I get xen 3.2 with ubuntu 2.6.22-14-xen kernel. > > Try make all not make world.Thank you for your reply. While I appreciate you spent time to answer me, did you read anything of my mail but the subject? :) You didn''t actually answer any of my questions. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users