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

Re: [SPAM: 5.651] [Xen-users] Problems at installing Xen 3.3.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [SPAM: 5.651] [Xen-users] Problems at installing Xen 3.3.0
From: jonr@xxxxxxxxxx
Date: Thu, 9 Oct 2008 08:08:26 -0800
Delivery-date: Thu, 09 Oct 2008 09:09:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BAY128-W3189105947552788D3B141C33A0@xxxxxxx>
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>
References: <BAY128-W3189105947552788D3B141C33A0@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
Quoting ??? <songweijia@xxxxxxxxxxx>:

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=0timeout=10splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitle 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.imgtitle 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.img8. 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!


You don't show that you did a make 'modules_install' and a 'depmod -a' after building your new kernel. The 'make' will build the kernel and the modules but you still have to run make 'modules_install' and 'depmod -a' after that is done.

Hope that helps,

Jon




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