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/
Home Products Support Community News


Re: [Xen-ia64-devel] initrd module hangs while booting xen on ia64

To: "Satapathy, Soumendu Sekhar" <Soumendu.Satapathy@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] initrd module hangs while booting xen on ia64
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Feb 2007 12:37:48 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Feb 2007 03:36:52 -0800
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=CcWRL4o+dZygG6mq4jc4AjDZAPfZpoIuuOr+SLChCY8E/NKs5wI646+qaXuw/TkjsjjIm5jeoDxJvp14aiNQWSNR8iNH5KxyvVd+4tj+0lZH1v0bVjpM7TOxdgU6W3QB;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D566E8CF3538B54D95B925CB69CB4D2A022D2BA4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <D566E8CF3538B54D95B925CB69CB4D2A022D2BA4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Am Montag, 26. Februar 2007 11:41 schrieb Satapathy, Soumendu Sekhar:
> Hi,
> We tried to boot the latest xen enabled kernel (changeset: 14038) on
> ia64 and tried to observe the dump on the serial console. The initrd
> module hangs and does not produce any output on the serial console.
> Find attached the screenshot of xen entry in elilo.conf.
> - soumendu


I can't see the entry for
vmm = xen.gz
or similar.
You need a special elilo with support for the xen hypervisor. This extended 
elilo starts the image defined with vmm (the hypervior) first.
Attached is a document written by anyone from the list - please see part "Boot 
Xen & Domain0" which describes this stuff.
Hope this helps!



# Recipe of Booting up  Xen/dom0/domU on IA64 system
# 06/02/2006 Written by Xen-ia64-devel community.

My enviroment is;
  Machine  : Tiger4
  Domain0 OS  : RHEL4 U2
  DomainU OS  : RHEL4 U2

Build xen
 1. Download source
    # hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg

 2. # make world

 3. # make install-tools

 4. copy kernels and xen
    # cp xen/xen.gz /boot/efi/efi/redhat/
    # cp 
linux- /boot/efi/efi/redhat/vmlinuz-

 5. make initrd for Dom0/DomU
    # cd linux-
    # make modules_install
    # mkinitrd -f /boot/efi/efi/redhat/initrd- --builtin mptbase --builtin mptscsih
    # cd ..

Make OSimg for DomU
 1. make file
    # dd if=/dev/zero of=/root/rhel4.img bs=1M seek=4096 count=0
    # mke2fs -F -j /root/rhel4.img
    # mount -o loop /root/rhel4.img /mnt
    # cp -ax /{dev,var,etc,usr,bin,sbin,lib} /mnt
    # mkdir /mnt/{root,proc,sys,home,tmp}

 2. modify DomU's fstab
    # vi /mnt/etc/fstab 
       /dev/hda1   /            ext3    defaults        1 1
       none        /dev/pts     devpts  gid=5,mode=620  0 0
       none        /dev/shm     tmpfs   defaults        0 0
       none        /proc        proc    defaults        0 0
       none        /sys         sysfs   defaults        0 0

 3. modify inittab (runlevel)
    # vi /mnt/etc/inittab
 4. add tty0 into /etc/securetty
    # vi /mnt/etc/securetty (add tty0)
 5. umount
    # umount /mnt
Boot Xen & Domain0
 1. replace elilo
    download from the below
    and copy into /boot/efi/efi/redhat/
    # cp elilo-3.6-ia64.efi /boot/efi/efi/redhat/elilo.efi
 2. modify elilo.conf (like the below)
    # vi /boot/efi/efi/redhat/elilo.conf
             append="com2=115200,8n1 console=com2 dom0_mem=1G -- nomca nosmp 
console=tty0 console=ttyS1,115200,8n1 rhgb root=/dev/sda2"

Boot DomainU
 1. make config of DomU
   # vi /etc/xen/rhel4
     kernel = "/boot/efi/efi/redhat/vmlinuz-"
     ramdisk = "/boot/efi/efi/redhat/initrd-"
     memory = 384
     name = "rhel4"
     disk = [ 'file:/root/rhel4.img,hda1,w' ]
     root = "/dev/hda1 ro"
     extra = "nomca console=tty0 3"
 2. After boot xen and dom0, start xend
   # /etc/init.d/xend start
   ( In the debugging case, # XEND_DEBUG=1 xend trace_start )
 3. start domU
   # xm create -c rhel4

Xen-ia64-devel mailing list

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