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

[Xen-changelog] [xen-unstable] [IA64] Update README.xenia64



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1197563689 25200
# Node ID 19c2b6d2930c22a11884d8a18abee7d5e1762d5e
# Parent  dad1f2974d2927d53494e71ca56c1445f7430293
[IA64] Update README.xenia64

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/tools/README.xenia64 |   39 +++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)

diff -r dad1f2974d29 -r 19c2b6d2930c xen/arch/ia64/tools/README.xenia64
--- a/xen/arch/ia64/tools/README.xenia64        Thu Dec 13 09:07:55 2007 -0700
+++ b/xen/arch/ia64/tools/README.xenia64        Thu Dec 13 09:34:49 2007 -0700
@@ -9,7 +9,9 @@ My enviroment is;
 ----------------------------
 Build xen
  1. Download source
-    # hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg
+    # hg clone http://xenbits.xensource.com/ext/ia64/xen-unstable.hg
+    # cd xen-unstable.hg
+    # hg clone http://xenbits.xensource.com/ext/ia64/linux-2.6.18-xen.hg
 
  2. # make world
 
@@ -17,13 +19,11 @@ Build xen
 
  4. copy kernels and xen
     # cp xen/xen.gz /boot/efi/efi/redhat/
-    # cp linux-2.6.16.13-xen/vmlinux.gz 
/boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen
+    # cp build-linux-2.6.18-xen_ia64/vmlinux.gz 
/boot/efi/efi/redhat/vmlinuz-2.6.18.8-xen
 
  5. make initrd for Dom0/DomU
-    # cd linux-2.6.16.13-xen/
-    # make modules_install
-    # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6.16.13-xen.img 2.6.16.13-xen 
--builtin mptbase --builtin mptscsih
-    # cd ..
+    # make -C linux-2.6.18-xen.hg ARCH=ia64 modules_install 
O=$(/bin/pwd)/build-linux-2.6.18-xen_ia64
+    # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6.18.8-xen.img 2.6.18.8-xen 
--builtin mptbase --builtin mptscsih
 
 ---------------------------------
 Make OSimg for DomU
@@ -36,18 +36,22 @@ Make OSimg for DomU
 
  2. modify DomU's fstab
     # vi /mnt/etc/fstab 
-       /dev/hda1   /            ext3    defaults        1 1
+       /dev/xvda1  /            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)
+ 3. modify inittab
+    set runlevel to 3 to avoid X trying to start
     # vi /mnt/etc/inittab
        id:3:initdefault:
+    Start a getty on the xvc0 console
+       X0:2345:respawn:/sbin/mingetty xvc0
+    tty1-6 mingetty can be commented out
     
- 4. add tty0 into /etc/securetty
-    # vi /mnt/etc/securetty (add tty0)
+ 4. add xvc0 into /etc/securetty
+    # vi /mnt/etc/securetty (add xvc0)
  
  5. umount
     # umount /mnt
@@ -68,24 +72,23 @@ Boot Xen & Domain0
      default=xen
      relocatable
      
-     image=vmlinuz-2.6.16.13-xen
+     image=vmlinuz-2.6.18.8-xen
              label=xen
              vmm=xen.gz
-             initrd=initrd-2.6.16.13-xen.img
+             initrd=initrd-2.6.18.8-xen.img
              read-only
-             append="com2=115200,8n1 console=com2 dom0_mem=1G -- nomca nosmp 
console=tty0 console=ttyS1,115200,8n1 rhgb root=/dev/sda2"
+             append=" -- rhgb root=/dev/sda2"
 
 -------------------------------------
 Boot DomainU
  1. make config of DomU
    # vi /etc/xen/rhel4
-     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen"
-     ramdisk = "/boot/efi/efi/redhat/initrd-2.6.16.13-xen.img"
+     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.18.8-xen"
+     ramdisk = "/boot/efi/efi/redhat/initrd-2.6.18.8-xen.img"
      memory = 384
      name = "rhel4"
-     disk = [ 'file:/root/rhel4.img,hda1,w' ]
-     root = "/dev/hda1 ro"
-     extra = "nomca console=tty0 3"
+     disk = [ 'file:/root/rhel4.img,xvda1,w' ]
+     root = "/dev/xvda1 ro"
  
  2. After boot xen and dom0, start xend
    # /etc/init.d/xend start

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


 


Rackspace

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