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

Re: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Joni Lee <webcokies@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 7 Jul 2009 05:44:53 -0700 (PDT)
  • Cc:
  • Delivery-date: Tue, 07 Jul 2009 05:46:15 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=v1LBTYFsGQQBQTbmRcMFb729GRq7f1QBHiEHIsPe606yVz2zAadfB2F9YQGsYJSRilnbUebb4fwypnQc7DXp8ux+4J7WCM9GwX5HCkXAk2TJyZzfmlFx088aVVTUwioDAmnYoLGx+TdLr2mRce7/RfIHCXh7QdoChpAA7WiFF/U=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxx> wrote:

From: Joni Lee <webcokies@xxxxxxxxx>
Subject: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure
To: xen-users@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
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®.