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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Installation from source on Ubuntu 9.04, make kernel failure
From: Joni Lee <webcokies@xxxxxxxxx>
Date: Mon, 6 Jul 2009 23:38:45 -0700 (PDT)
Delivery-date: Mon, 06 Jul 2009 23:39:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1246948725; bh=3nl9JeYjCqcvv2e7bR8aWN8bh79/GHS0mmqWPtMorhc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=AhFxOk8u4mQu5/8aoaa/P1zUxfr8dDZ7VppAexBiO+l4IEhAuntmNpcI1eNnTfDv6lDRtPrj+LmgD9f/MOUkd6gMS1pIcHLxuSzwv+bzImsm96KZXDKZ4WbqGjq9vusoApz0vxOMlbPIf0l4NFi1bzKQgxCRN/m+Wi/rjLy/egc=
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=P/dxVGBDKn/zcdVd1KkveOVj0dUhKQKEwESQ+zYJH86LiFRV71iU5hfnkY7eDNvJO7OgEv9HL9lFXXNKDb03JlMP9hM+MswbKKjaZiTZwABrBGbPmsbMwhpvR82yJus1h24gLcVc6Dvbq2iY5mkpmbBApqluRoRvAADbMpxCm50=;
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
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>