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-ia64-devel

RE: Réf. : [Xen-ia64-devel] Recipe for getting/building/running Xen/ia64

To: <jean-paul.pigache@xxxxxxxx>
Subject: RE: Réf. : [Xen-ia64-devel] Recipe for getting/building/running Xen/ia64
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Wed, 20 Jul 2005 04:56:19 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 Jul 2005 11:54:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: DIscussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWNCpWmxdCzb4f4S6CkpbPKz0Ne6AAF0nMg
Thread-topic: Réf. : [Xen-ia64-devel] Recipe for getting/building/running Xen/ia64
The current code should work on a multiprocessor system but
will utilize only one of the processors.  SMP support will
be next on the list after getting multiple domains working
well.

Dan


________________________________

        From: jean-paul.pigache@xxxxxxxx [mailto:jean-paul.pigache@xxxxxxxx] 
        Sent: Wednesday, July 20, 2005 3:09 AM
        To: Magenheimer, Dan (HP Labs Fort Collins)
        Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
        Subject: Réf. : [Xen-ia64-devel] Recipe for getting/building/running 
Xen/ia64
        
        

        Dan, 
        can the current ia64 code run on a (physical) multiprocessor system ? 
        Jean-Paul 
        
        
        

        Envoyé par :        xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx 

        Pour :        <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx> 
        cc :         
        Objet :        [Xen-ia64-devel] Recipe for getting/building/running 
Xen/ia64 
        
        A lot has changed in Xen/ia64 since the README files in
        arch/ia64/tools were written.  Attached is the first draft
        of a recipe for getting/building/running Xen/ia64.
        It will need some work, but if you are a Xen/ia64 "newbie"
        and have been eager to give Xen/ia64 a try, please try
        following this recipe and provide changes/feedback.
        It will eventually find its way back into a README file.
        
        Thanks,
        Dan
        
        =======
        
        Preparation:  On your ia64 system, you will need:
        - python2.3, see http://www.python.org
        - the mercurial (aka "hg") open-source source code management software
         version >= 0.6b, see: http://www.selenic.com/mercurial/ 
        - gcc version >= 3.2 (4.0 is not known to work yet though)
        - a copy of linux 2.6.11 (tar file)
        
        Getting and building the Xen/ia64 "tip":
        - create a directory to put it in:
                        $ cd "HOME" # wherever you want to put it
                        $ mkdir xen-ia64-unstable.hg
                        $ cd xen-ia64-unstable.hg
        - get the bits
                        $ hg clone 
http://xenbits.xensource.com/ext/xen-ia64-unstable.hg
                        $ hg update
        - unpack linux (many linux files are directly used by xen/ia64)
                        $ cd "HOME"
                        $ cp ..../linux-2.6.11.tar.gz .
                        $ tar xzf linux-2.6.11.tar.gz
        - build Xen/ia64
                        $ cd "HOME"/xen-ia64-unstable.hg
                        $ cd xen
                        $ bash arch/ia64/tools/mkbuildtree
                        $ make # if using the cross-compiler, use "make
        XEN_TARGET_ARCH=ia64"
        
        
        Getting and building the Xenlinux/ia64 "tip":
        - create a directory to put it in:
                        $ cd "HOME" # wherever you want to put it
                        $ mkdir xenlinux-ia64-2.6.12.hg
                        $ cd xenlinux-ia64-2.6.12.hg
        - get the bits
                        $ hg clone
        http://xenbits.xensource.com/ext/xenlinux-ia64-2.6.12.hg
                        $ hg update
        - prep the xenlinux build
                        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
                        $ cd include/asm-xen/
                        $ ln -s asm-ia64 asm
                        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
                        $ # following works for HP zx1-based systems
                        $ cp arch/ia64/configs/xen_zx1defconfig .config
                        $ # if you build your own .config, ensure that 
CONFIG_XEN=y
                        $ # and there are no modules (replace all "=m" with 
"=y")
        - build xenlinux
                        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
                        $ yes "" | make oldconfig
                        $ make
                        $ # resulting xenlinux binary is called vmlinux
        
        - prep the bootloader
                        $ # where is your elilo.conf file?  call this "BOOTDIR"
                        $ # add an entry to "BOOTDIR"/elilo.conf
                        $ # the exact syntax for the "append=" is very system
        dependent...
                        $ # the part before the '--' is for xen... 
                        $ # the part after the '--' should look like your 
normal linux
        bootline
                        $ # FIXME: not sure if nomca is still needed
                                         image=xen
                                         label=xen
                                         initrd=xenlinux
                                         read-only
                                         read-only
                                         append="sched=bvt -- nomca 
console=ttyS0,115200
        root=/dev/sda2"
                                         
        Booting Xen/ia64:
                        $ cd "HOME"/xen-ia64-unstable.hg
                        $ cp xen "BOOTDIR"
                        $ cd "HOME"/xenlinux-ia64-2.6.12.hg
                        $ cp vmlinux "BOOTDIR"/xenlinux
                        $ # if you see no output on your console, you may need 
to
        specify
                        $ # a com1= on the Xen part of the "append=" line.  
Note that
        the
                        $ # syntax for this is different than for linux.  
FIXME: docs
                        $ # for this will be documented in a separate file
        
        _______________________________________________
        Xen-ia64-devel mailing list
        Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
        http://lists.xensource.com/xen-ia64-devel
        
        
        


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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: Réf. : [Xen-ia64-devel] Recipe for getting/building/running Xen/ia64, Magenheimer, Dan (HP Labs Fort Collins) <=