WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx, Joni Lee <webcokies@xxxxxxxxx>
Subject: Re: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1246970694; bh=nEpCP4ORuaii16pDM+DF1J8PqJH3/nLZaGs7bpbKZgM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=DEXmky2WKvjQJqRuYtsJeXnpVBgyAcqp0P69jMJNkiM4Q5x9cuWLZZToaMArb3c1pJFuKyLiBQ5R/y7sVKPXwUxQf5hw2Tv55nZYHefliydTkMONg9TmUQmattmLJaT2jRf0+ywgo2trSFJYrak3T62Pffp8eV3ynXqhzHGsIrQ=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>