[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.