ia64/xen-unstable

changeset 16608:19c2b6d2930c

[IA64] Update README.xenia64

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
author Alex Williamson <alex.williamson@hp.com>
date Thu Dec 13 09:34:49 2007 -0700 (2007-12-13)
parents dad1f2974d29
children a7ede5cb628a
files xen/arch/ia64/tools/README.xenia64
line diff
     1.1 --- a/xen/arch/ia64/tools/README.xenia64	Thu Dec 13 09:07:55 2007 -0700
     1.2 +++ b/xen/arch/ia64/tools/README.xenia64	Thu Dec 13 09:34:49 2007 -0700
     1.3 @@ -9,7 +9,9 @@ My enviroment is;
     1.4  ----------------------------
     1.5  Build xen
     1.6   1. Download source
     1.7 -    # hg clone http://xenbits.xensource.com/ext/xen-ia64-unstable.hg
     1.8 +    # hg clone http://xenbits.xensource.com/ext/ia64/xen-unstable.hg
     1.9 +    # cd xen-unstable.hg
    1.10 +    # hg clone http://xenbits.xensource.com/ext/ia64/linux-2.6.18-xen.hg
    1.11  
    1.12   2. # make world
    1.13  
    1.14 @@ -17,13 +19,11 @@ Build xen
    1.15  
    1.16   4. copy kernels and xen
    1.17      # cp xen/xen.gz /boot/efi/efi/redhat/
    1.18 -    # cp linux-2.6.16.13-xen/vmlinux.gz /boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen
    1.19 +    # cp build-linux-2.6.18-xen_ia64/vmlinux.gz /boot/efi/efi/redhat/vmlinuz-2.6.18.8-xen
    1.20  
    1.21   5. make initrd for Dom0/DomU
    1.22 -    # cd linux-2.6.16.13-xen/
    1.23 -    # make modules_install
    1.24 -    # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6.16.13-xen.img 2.6.16.13-xen --builtin mptbase --builtin mptscsih
    1.25 -    # cd ..
    1.26 +    # make -C linux-2.6.18-xen.hg ARCH=ia64 modules_install O=$(/bin/pwd)/build-linux-2.6.18-xen_ia64
    1.27 +    # mkinitrd -f /boot/efi/efi/redhat/initrd-2.6.18.8-xen.img 2.6.18.8-xen --builtin mptbase --builtin mptscsih
    1.28  
    1.29  ---------------------------------
    1.30  Make OSimg for DomU
    1.31 @@ -36,18 +36,22 @@ Make OSimg for DomU
    1.32  
    1.33   2. modify DomU's fstab
    1.34      # vi /mnt/etc/fstab 
    1.35 -       /dev/hda1   /            ext3    defaults        1 1
    1.36 +       /dev/xvda1  /            ext3    defaults        1 1
    1.37         none        /dev/pts     devpts  gid=5,mode=620  0 0
    1.38         none        /dev/shm     tmpfs   defaults        0 0
    1.39         none        /proc        proc    defaults        0 0
    1.40         none        /sys         sysfs   defaults        0 0
    1.41  
    1.42 - 3. modify inittab (runlevel)
    1.43 + 3. modify inittab
    1.44 +    set runlevel to 3 to avoid X trying to start
    1.45      # vi /mnt/etc/inittab
    1.46         id:3:initdefault:
    1.47 +    Start a getty on the xvc0 console
    1.48 +       X0:2345:respawn:/sbin/mingetty xvc0
    1.49 +    tty1-6 mingetty can be commented out
    1.50      
    1.51 - 4. add tty0 into /etc/securetty
    1.52 -    # vi /mnt/etc/securetty (add tty0)
    1.53 + 4. add xvc0 into /etc/securetty
    1.54 +    # vi /mnt/etc/securetty (add xvc0)
    1.55   
    1.56   5. umount
    1.57      # umount /mnt
    1.58 @@ -68,24 +72,23 @@ Boot Xen & Domain0
    1.59       default=xen
    1.60       relocatable
    1.61       
    1.62 -     image=vmlinuz-2.6.16.13-xen
    1.63 +     image=vmlinuz-2.6.18.8-xen
    1.64               label=xen
    1.65               vmm=xen.gz
    1.66 -             initrd=initrd-2.6.16.13-xen.img
    1.67 +             initrd=initrd-2.6.18.8-xen.img
    1.68               read-only
    1.69 -             append="com2=115200,8n1 console=com2 dom0_mem=1G -- nomca nosmp console=tty0 console=ttyS1,115200,8n1 rhgb root=/dev/sda2"
    1.70 +             append=" -- rhgb root=/dev/sda2"
    1.71  
    1.72  -------------------------------------
    1.73  Boot DomainU
    1.74   1. make config of DomU
    1.75     # vi /etc/xen/rhel4
    1.76 -     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.16.13-xen"
    1.77 -     ramdisk = "/boot/efi/efi/redhat/initrd-2.6.16.13-xen.img"
    1.78 +     kernel = "/boot/efi/efi/redhat/vmlinuz-2.6.18.8-xen"
    1.79 +     ramdisk = "/boot/efi/efi/redhat/initrd-2.6.18.8-xen.img"
    1.80       memory = 384
    1.81       name = "rhel4"
    1.82 -     disk = [ 'file:/root/rhel4.img,hda1,w' ]
    1.83 -     root = "/dev/hda1 ro"
    1.84 -     extra = "nomca console=tty0 3"
    1.85 +     disk = [ 'file:/root/rhel4.img,xvda1,w' ]
    1.86 +     root = "/dev/xvda1 ro"
    1.87   
    1.88   2. After boot xen and dom0, start xend
    1.89     # /etc/init.d/xend start