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] Xen-dom0 kernel compilation in fedora 9

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen-dom0 kernel compilation in fedora 9
From: Sreeharsha Totakura <sreeharsha.totakura@xxxxxxx>
Date: Tue, 16 Jun 2009 12:16:43 +0530
Delivery-date: Mon, 15 Jun 2009 23:48:22 -0700
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,

I am trying to compile Xen dom0 kernel in fedora 9.

I have downloaded 2 packages: linux-2.6.18-xen-3.3.0 and xen-3.3.1.

>From the xen 3.0 documentation, I understood that the xen-3.3.1 package has
the xen-binaries. But, when I try the ./install.sh script it complains that
there is no 'dist' folder to install. So, I have tried 'make world' and it
complains that it can't find linux-2.6.18.hg (unable to determine path to
Linux source tree) and quits. Exact error o/p below:

      make[2]: Entering directory `/home/harsha/Download/Xen/xen-3.3.1-try'
      set -e ; \
            if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
                __repo=$(sh buildconfigs/select-repository
      linux-2.6.18-xen.hg .:..) ; \
                if [ -d ${__repo} ] ; then \
                    echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
                    ln -s ${__repo} linux-2.6.18-xen.hg ; \
                else \
                    echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
                    hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
                fi ; \
            else \
                __parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
                echo "Pulling changes from ${__parent} into
      linux-2.6.18-xen.hg." ; \
                hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
            fi
      select-repository: Searching `.:..' for linux-2.6.18-xen.hg
      select-repository: Ignoring `.'
      Unable to determine path to Linux source tree.
      Falling back to linux-2.6.18-xen Mercurial repository.
      Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to
      linux-2.6.18-xen.hg.
      /bin/sh: line 8: hg: command not found
      make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 127
      make[2]: Leaving directory `/home/harsha/Download/Xen/xen-3.3.1-try'
      make[1]: *** [linux-2.6-xen-install] Error 2
      make[1]: Leaving directory `/home/harsha/Download/Xen/xen-3.3.1-try'
      make: *** [install-kernels] Error 1

Having no luck with xen-3.3.1, I tried compiling linux-2.6.18 with
the .config file which came with my distro: make oldconfig. It asked me to
configure some new options and I selected the defaults for them. Now when
given 'make' it stops with the following error:

      kernel/built-in.o: In function `timespec_add_ns':

/home/harsha/Download/Xen/linux-2.6.18-xen-3.3.0/include/linux/time.h:175:
undefined reference to `__umoddi3'
      kernel/built-in.o: In function `do_gettimeofday':
      /home/harsha/Download/Xen/linux-2.6.18-xen-3.3.0/kernel/timer.c:867:
undefined reference to `__udivdi3'
      /home/harsha/Download/Xen/linux-2.6.18-xen-3.3.0/kernel/timer.c:868:
undefined reference to `__umoddi3'
      kernel/built-in.o: In function `timespec_add_ns':

/home/harsha/Download/Xen/linux-2.6.18-xen-3.3.0/include/linux/time.h:170:
undefined reference to `__udivdi3'

/home/harsha/Download/Xen/linux-2.6.18-xen-3.3.0/include/linux/time.h:175:
undefined reference to `__umoddi3'
      make: *** [.tmp_vmlinux1] Error 1

The documentation for Xen3.0 compilation doesn't seem to be of much help.
Which package should be compiled for getting the dom0 kernel?

Thanks,
Sree Harsha Totakura
Member, Open Source Platform - TEG
Tata Consultancy Services
Ph:- +91-22-67782038
Mailto: sreeharsha.totakura@xxxxxxx
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                  Business Solutions
                  Outsourcing
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>