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

RE: [Xen-users] Xen-dom0 kernel compilation in fedora 9



Hi Pallab,

The problem was with mercurial executable. I didn't have mercurial 'hg' in
my computer and the 'make dist' needs a linux-2.6.18-xen.hg repository to
compile the kernel. I installed mercurial and the compilation is going on
now. Thanks.

The Xen 3.3.1 downloads page http://www.xen.org/download/index_3.3.1.html
is bit confusing for me. Can anyone tell me the difference between the two
download packages (linux-2.6.18-xen-3.3.0 and xen-3.3.1) listed in the page
apart from the size? The README documentation of those packages seem to be
the same for both.

Regards,
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
____________________________________________


                                                                           
             "Pallab                                                       
             Chakrabarty"                                                  
             <pchakrabarty@spi                                          To 
             kesource.com>             "'Sreeharsha Totakura'"             
                                       <sreeharsha.totakura@xxxxxxx>       
             06/16/2009 12:54                                           cc 
             PM                        "'Xen User-List'"                   
                                       <xen-users@xxxxxxxxxxxxxxxxxxx>     
                                                                   Subject 
                                       RE: [Xen-users] Xen-dom0 kernel     
                                       compilation in fedora 9             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           







Have you tried srpm ?

http://www.gitco.de/repo/src/


- regards
   Pallab



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Sreeharsha
Totakura
Sent: Tuesday, June 16, 2009 12:17 PM
To: Xen User-List
Subject: [Xen-users] Xen-dom0 kernel compilation in fedora 9


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

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.71/2178 - Release Date: 06/15/09
17:54:00


ForwardSourceID:NT00004762

=====-----=====-----=====
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.