ml@bortal.de
2009-Jan-23 09:41 UTC
[Xen-users] How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
Hello List, how do i build xen 3.3.1 and linux-2.6.27-xen.hg from source? Here is what i tried: ---------------------------------------- cd /usr/src hg clone http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg cd /usr/src/xen-3.3.1 Then i changed LINUX_VER from 2.6.18 to 2.6.27 in buildconfigs/mk.linux-2.6-xen. The files mk.linux-2.6-xen0 and mk.linux-2.6-xenU seem to be obsolete. After doing a "make world" i get: . . . make[4]: Leaving directory `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' select-linux-arch: x86 make[4]: Entering directory `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' make -C /usr/src/linux-2.6.27-xen.hg O=/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64/. modules_install INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/scsi/scsi_wait_scan.ko DEPMOD 2.6.27.5-xen make[4]: Leaving directory `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' make -C build-linux-2.6.27-xen_x86_64 ARCH=$(sh buildconfigs/select-linux-arch linux-2.6.27-xen.hg) INSTALL_PATH=/usr/src/xen-3.3.1/dist/install vmlinuz select-linux-arch: x86 make[4]: Entering directory `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' make -C /usr/src/linux-2.6.27-xen.hg O=/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64/. vmlinuz make[6]: Nothing to be done for `vmlinuz''. make[4]: Leaving directory `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' mkdir -p /usr/src/xen-3.3.1/dist/install/boot select-linux-arch: x86 select-linux-image: cannot determine Linux image to use for x86 in build-linux-2.6.27-xen_x86_64 cp: missing destination file operand after `/usr/src/xen-3.3.1/dist/install/boot/vmlinuz-2.6.27.5-xen'' Try `cp --help'' for more information. make[3]: *** [build] Error 1 make[3]: Leaving directory `/usr/src/xen-3.3.1'' make[2]: *** [linux-2.6-xen-install] Error 2 make[2]: Leaving directory `/usr/src/xen-3.3.1'' make[1]: *** [install-kernels] Error 1 make[1]: Leaving directory `/usr/src/xen-3.3.1'' make: *** [world] Error 2 Any idea what could be wrong? Thanks, Mario _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stefan Bauer
2009-Jan-23 09:46 UTC
Re: [Xen-users] How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
ml@bortal.de schrieb:> select-linux-arch: x86 > select-linux-image: cannot determine Linux image to use for x86 in > build-linux-2.6.27-xen_x86_64That looks to me that you are using the x86 image but trying to build the x86-_64bit_ one. -- stefan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ml@bortal.de
2009-Jan-23 10:48 UTC
Re: [Xen-users] How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
Hi Stefan, Stefan Bauer wrote:> ml@bortal.de schrieb: > >> select-linux-arch: x86 >> select-linux-image: cannot determine Linux image to use for x86 in >> build-linux-2.6.27-xen_x86_64 >> > > That looks to me that you are using the x86 image but trying to build > the x86-_64bit_ one. >What do you mean by Image? Thanks, Mario _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
kniepbert
2009-Feb-04 11:41 UTC
Re: [Xen-users] How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
Hi all, spiekey wrote:> >>Stefan Bauer wrote: >>> ml@bortal.de schrieb: >>> >>>> select-linux-arch: x86 >>>> select-linux-image: cannot determine Linux image to use for x86 in >>>> build-linux-2.6.27-xen_x86_64 >>>> >>> >>> That looks to me that you are using the x86 image but trying to build >>> the x86-_64bit_ one. >>> >>What do you mean by Image? > > The image we use has various architectures, except x86_64... :) > *snip* > kniepbert@chieftec:~$ ls > /usr/src/xen-3.3-testing.hg/linux-2.6.27-xen.hg/arch/ > alpha arm avr32 blackfin cris frv h8300 ia64 Kconfig m32r m68k > m68knommu mips mn10300 parisc powerpc s390 sh sparc sparc64 um > x86 xtensa > *snap* > Does anyone know where we can get such image? > > Chers > kniepbert > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/How-to-build-xen-3.3.1-and-linux-2.6.27-xen.hg-from-source--tp21621349p21828867.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tek-life
2010-May-20 05:25 UTC
Re: [Xen-users] How to build xen 3.3.1 and linux-2.6.27-xen.hg from source?
You can compile the linux kernel in the entry of build-linux-2.6... make then make install spiekey wrote:> > Hello List, > > how do i build xen 3.3.1 and linux-2.6.27-xen.hg from source? > > Here is what i tried: > ---------------------------------------- > cd /usr/src > hg clone http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg > cd /usr/src/xen-3.3.1 > > Then i changed LINUX_VER from 2.6.18 to 2.6.27 in > buildconfigs/mk.linux-2.6-xen. The files mk.linux-2.6-xen0 and > mk.linux-2.6-xenU seem to be obsolete. > > After doing a "make world" i get: > . > . > . > > make[4]: Leaving directory > `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' > select-linux-arch: x86 > make[4]: Entering directory > `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' > make -C /usr/src/linux-2.6.27-xen.hg > O=/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64/. modules_install > INSTALL arch/x86/kernel/test_nx.ko > INSTALL drivers/scsi/scsi_wait_scan.ko > DEPMOD 2.6.27.5-xen > make[4]: Leaving directory > `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' > make -C build-linux-2.6.27-xen_x86_64 ARCH=$(sh > buildconfigs/select-linux-arch linux-2.6.27-xen.hg) > INSTALL_PATH=/usr/src/xen-3.3.1/dist/install vmlinuz > select-linux-arch: x86 > make[4]: Entering directory > `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' > make -C /usr/src/linux-2.6.27-xen.hg > O=/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64/. vmlinuz > make[6]: Nothing to be done for `vmlinuz''. > make[4]: Leaving directory > `/usr/src/xen-3.3.1/build-linux-2.6.27-xen_x86_64'' > mkdir -p /usr/src/xen-3.3.1/dist/install/boot > select-linux-arch: x86 > select-linux-image: cannot determine Linux image to use for x86 in > build-linux-2.6.27-xen_x86_64 > cp: missing destination file operand after > `/usr/src/xen-3.3.1/dist/install/boot/vmlinuz-2.6.27.5-xen'' > Try `cp --help'' for more information. > make[3]: *** [build] Error 1 > make[3]: Leaving directory `/usr/src/xen-3.3.1'' > make[2]: *** [linux-2.6-xen-install] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.3.1'' > make[1]: *** [install-kernels] Error 1 > make[1]: Leaving directory `/usr/src/xen-3.3.1'' > make: *** [world] Error 2 > > > Any idea what could be wrong? > > Thanks, > Mario > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://old.nabble.com/How-to-build-xen-3.3.1-and-linux-2.6.27-xen.hg-from-source--tp21621349p28617328.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users