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

[Xen-users] Problems at installing Xen 3.3.0

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problems at installing Xen 3.3.0
From: 宋维佳 <songweijia@xxxxxxxxxxx>
Date: Thu, 9 Oct 2008 21:40:10 +0800
Delivery-date: Thu, 09 Oct 2008 06:41:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I want to install Xen 3.3.0 from source code. but I failed in doing that in the following steps
 
1. download xen from http://bits.xensource.com/oss-xen/release/3.3.0/xen-3.3.0.tar.gz 
2. # tar -zxf xen-3.3.0;cd xen-3.3.0
3. # make world
   ......succeed
4. # cp /boot/config-2.6.18-53.el5 build-linux-2.6.18-xen_x86_64/.config
5.  # make linux-2.6-xen-config CONFIGMODE=menuconfig     (or xconfig)
    # make linux-2.6-xen-build
    # make linux-2.6-xen-install
6. # depmod 2.6.18.8-xen
   # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod --builtin=ata_piix initrd-2.6.18.8-xen.img 2.6.18.8-xen
   # cp initrd-2.6.18.8-xen.img /boot/

7. configure grub:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title xen-dom0
        kernel /xen.gz dom0_mem=2097152
        module /vmlinuz-2.6.18.8-xen ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
        module /initrd-2.6.18.8-xen.img
title Red Hat Enterprise Linux Server (2.6.18-53.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
        initrd /initrd-2.6.18-53.el5.img

8. reboot and wait...
it says:
 
...
scsi_mod: version magic '2.6.18.8-xen SMP mod_unload gcc-4.1' should
 be '2.6.18.8-xen SMP mod_unload Xen gcc-4.1'.......................
insmod: error inserting '/lib/scsi_mod.ko' -1 Invalid module format
sd_mod: version magic '2.6.18.8-xen SMP mod_unload gcc-4.1' should
 be '2.6.18.8-xen SMP mod_unload Xen gcc-4.1' warnings
insmod: error inserting '/lib/sd_mod.ko' -1 Invalid module format
...
Kernel panic - not syncing: Attempted to kill init!
 
 
Here is my computer envrionment:
 
Server: CPU Intel Xeon E5420x2, Memory: 12G, scsi disk
Linux: RHEL AS 5.1 x86_64
uname -a: Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

 
I'm confused and don't what wrong I did. Any response is strongly appreciated!
 


一点即聊,MSN推出新功能“点我!” 马上试试!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users