Joni Lee
2009-Jul-07 06:38 UTC
[Xen-users] Installation from source on Ubuntu 9.04, make kernel failure
Hi all, I install Xen on a fresh Ubuntu 9.04 from source. During the code runing it shows usually "Warning: not literal format or no paramaters". By "make" linux kernel after 1 hours code running it ends with: (The installation steps is shown below) --------------------------------------------------------------------------- WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/kernel/built-in.o: In function `timer_interrupt'': /usr/src/buildir/linux-2.6.29.4/arch/x86/kernel/time_32-xen.c:465: undefined reference to `__udivdi3'' make: *** [.tmp_vmlinux1] Error 1 --------------------------------------------------------- Installation steps: 1. Install Mercurial and Git (hg) :- # apt-get install mercurial gitk 2. Building Xen:- # cd /usr/src # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg # cd xen-3.4-testing.hg # make xen # make tools # make stubdom # make install-xen # make install-tools # make install-stubdom Xen 3.4.1 installed Building kernel:- # cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.4.tar.bz2 # wget http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2 # mkdir buildir # cd buildir # tar jxf ../xen-patches-2.6.29-6.tar.bz2 # # tar jxf ../linux-2.6.29.4.tar.bz2 # cd linux-2.6.29.4/ # ls ../6*.patch1 | sort | while read line ; do patch -p1 -s -i $line ; done # make menuconfig (provided by this) http://bderzhavets.wordpress.com/2009/01/03/setup-xen-330-ubuntu-intrepid-server-dom0-via-build-xen-kernel-based-on-httpxenbitsxensourcecomextlinux-2627-xenhg/ # make ---------------------- I also thank Boris for helping me so far. If anyone knows. Or If you have a good xenified kernel for Ubuntu 9.04. Please help me _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Jul-07 12:44 UTC
Re: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure
View :- http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ and details downhere Boris. --- On Tue, 7/7/09, Joni Lee <webcokies@yahoo.com> wrote: From: Joni Lee <webcokies@yahoo.com> Subject: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure To: xen-users@lists.xensource.com Date: Tuesday, July 7, 2009, 2:38 AM Hi all, I install Xen on a fresh Ubuntu 9.04 from source. During the code runing it shows usually "Warning: not literal format or no paramaters". By "make" linux kernel after 1 hours code running it ends with: (The installation steps is shown below) --------------------------------------------------------------------------- WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/kernel/built-in.o: In function `timer_interrupt'': /usr/src/buildir/linux-2.6.29.4/arch/x86/kernel/time_32-xen.c:465: undefined reference to `__udivdi3'' make: *** [.tmp_vmlinux1] Error 1] ********************************************************** Have tried this workaround:- http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ ************************************************************ --------------------------------------------------------- Installation steps: 1. Install Mercurial and Git (hg) :- # apt-get install mercurial gitk 2. Building Xen:- # cd /usr/src # hg clone http://xenbits.xensource.com/xen-3.4-testing.hg # cd xen-3.4-testing.hg ***************************************************** This tuning is a must before build xen, i just forgot Set in Config.mk PYTHON = python PYTHON_PREFIX_ARG ************************************************************ # make xen # make tools # make stubdom # make install-xen # make install-tools # make install-stubdom Xen 3.4.1 installed Building kernel:- # cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.4.tar.bz2 # wget http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2 # mkdir buildir # cd buildir # tar jxf ../xen-patches-2.6.29-6.tar.bz2 # # tar jxf ../linux-2.6.29.4.tar.bz2 # cd linux-2.6.29.4/ # ls ../6*.patch1 | sort | while read line ; do patch -p1 -s -i $line ; done # make menuconfig (provided by this) http://bderzhavets.wordpress.com/2009/01/03/setup-xen-330-ubuntu-intrepid-server-dom0-via-build-xen-kernel-based-on-httpxenbitsxensourcecomextlinux-2627-xenhg/ # make ---------------------- I also thank Boris for helping me so far. If anyone knows. Or If you have a good xenified kernel for Ubuntu 9.04. Please help me -----Inline Attachment Follows----- _______________________________________________ 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
Possibly Parallel Threads
- Re: Xenified linux kernel
- Question on kernel recompile 2.6.17.3
- switching shorewall 4.0.6 -> 4.4.13.3, opensuse -> ubuntu
- [LLVMdev] Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
- Announce: X.509 certificates support in OpenSSH (version 6.0-International)