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] misled with Installing xen 3.3.0 onto CentOS 5.2

To: xen-users-owner@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, xen-users-request@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] misled with Installing xen 3.3.0 onto CentOS 5.2
From: "Eric Jansen" <janseneric@xxxxxxxxx>
Date: Fri, 31 Oct 2008 13:21:04 +0100
Delivery-date: Fri, 31 Oct 2008 05:21:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=o2K7tdpH8guyWbpDyliSQej61Lbn47HgYNSIxqKB4/c=; b=f+EVZLZBEpdWMXqdlJxRcAI05mylF3aZoyyD5XR8bcewkVTQ47SyEoA91eYioE3t9R 3U+6o/poHcizzt4ClKl6taC40LSnmF9rhyvmIuacfK0nldHLBjHRaahRq4OtgO2nxjeg bs8R0HvK6w3bji/FHt09iYiA+qzS6GLnLKs90=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=iH6xom01+J67/cSqWBlotwxJgRa7qcwM4zJdjxCTYjKMW4w69+afCCiXciU5DemwMS DNfycUz9uqJbo3zfpdE7tunZJZfU7wiyyeqpYN1TxKXQ1kIvs5DCcz3qPkv/dKJSDfea 4xp67bJt6u6wwKAB37v+I1HS+zHT+0BXBz4o8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 put my all braveries to install Xen 3.3.0 on Centos 5.2 although I have no idea at all on how to install kernel on Linux and moreover, installing xen. In this case I am quite newbie.
Be honest, I do not know whether to upgrade to Xen 3.3.0, necessary to install both linux-2.6.18-xen.3.3.0. and xen.3.3.0 or JUST xen.3.3.0, SO I decided to install both of them!
I follow the steps from the maillist before and I have no idea how will the end.

I follow the step like following:
1. I download from www.xen.org/download/linux-2.6.18-xen.3.3.0.tar.gz

2. then wget http://bits.xensource.com/oss-xen/release/3.3.0/xen-3.3.0.tar.gz

3. tar -xvf xen-3.3.0.tar.gz and tar -xvf linux-2.6.18-xen.3.3.0.tar.gz

4. cd linux-2.6.18-xen.3.3.0
    make menuconfig
    ----> The menu shown up, and I just checked what I thought was necessary, almost all of them I check it with "M" or  "*" randomly and I left it with memory support 64GB for PAE
    make modules_install
    make install

5. cd xen-3.3.0
    make tools
    make xen
    make install-tools
    make install-xen

    ---> I found something awkward here!!
    ---> thus, I asked the channel xen in freenode, one operator there asked me to do :
         make world
    ----> afterthat I did like his sayings, to do:
         make xen
         make install-xen
    -----> It seemed working till this step

6. When I did with ls -lu /boot, the result as followings: (the ones with bold are the results from the guidances above)
-rw-r--r-- 1 root root   66216 Oct 31 10:17 config-2.6.18.8-xen
-rw-r--r-- 1 root root   65410 Jun 25 20:13 config-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root   65363 Jun 25 20:45 config-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root   65291 Jun 25 21:19 config-2.6.18-92.1.6.el5xen
-rw-r--r-- 1 root root   65406 Jun 11 01:14 config-2.6.18-92.el5
-rw-r--r-- 1 root root   65287 Oct 30 18:48 config-2.6.18-92.el5xen
drwxr-xr-x 2 root root    4096 Oct 31 04:03 grub
-rw------- 1 root root 2304338 Oct 30 20:09 initrd-2.6.18.8.img
-rw------- 1 root root 2406385 Jul 11 02:43 initrd-2.6.18-92.1.6.el5.img
-rw------- 1 root root 2406722 Jul 11 02:44 initrd-2.6.18-92.1.6.el5PAE.img
-rw------- 1 root root 2407039 Jul 11 02:44 initrd-2.6.18-92.1.6.el5xen.img
-rw------- 1 root root 2406374 Jul 11 02:44 initrd-2.6.18-92.el5.img
-rw------- 1 root root 2406990 Oct 30 13:52 initrd-2.6.18-92.el5xen.img
-rw-r--r-- 1 root root   94600 Jan  8  2007 memtest86+-1.65
-rw-r--r-- 1 root root   80032 Nov 23  2007 message
-rw-r--r-- 1 root root   91734 Jul 11 02:43 symvers-2.6.18-92.1.6.el5.gz
-rw-r--r-- 1 root root   91784 Jul 11 02:42 symvers-2.6.18-92.1.6.el5PAE.gz
-rw-r--r-- 1 root root   93281 Jul 11 02:42 symvers-2.6.18-92.1.6.el5xen.gz
-rw-r--r-- 1 root root   91734 Jul 11 02:42 symvers-2.6.18-92.el5.gz
-rw-r--r-- 1 root root   93281 Jul 11 02:42 symvers-2.6.18-92.el5xen.gz
lrwxrwxrwx 1 root root      25 Oct 31 12:20 System.map -> /boot/System.map-2.6.18.8
-rw-r--r-- 1 root root  878130 Oct 30 23:16 System.map-2.6.18.8
-rw-r--r-- 1 root root  878130 Oct 30 20:09 System.map-2.6.18.8.old
-rw-r--r-- 1 root root  750884 Oct 31 10:17 System.map-2.6.18.8-xen
-rw-r--r-- 1 root root  912900 Jul 11 02:43 System.map-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root  910384 Jul 11 02:43 System.map-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root  908604 Jul 11 02:43 System.map-2.6.18-92.1.6.el5xen
-rw-r--r-- 1 root root  912686 Jul 11 02:43 System.map-2.6.18-92.el5
-rw-r--r-- 1 root root  908390 Sep  2 02:05 System.map-2.6.18-92.el5xen
lrwxrwxrwx 1 root root      22 Oct 31 12:20 vmlinuz -> /boot/vmlinuz-2.6.18.8
-rw-r--r-- 1 root root 1709442 Oct 30 23:16 vmlinuz-2.6.18.8
-rw-r--r-- 1 root root 1709442 Oct 30 20:09 vmlinuz-2.6.18.8.old
-rw-r--r-- 1 root root 1519078 Oct 31 10:17 vmlinuz-2.6.18.8-xen
-rw-r--r-- 1 root root 1805556 Jun 25 20:13 vmlinuz-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root 1802228 Jun 25 20:45 vmlinuz-2.6.18-92.1.6.el5PAE
-rw-r--r-- 1 root root 2161923 Oct 10 03:02 vmlinuz-2.6.18-92.1.6.el5xen
-rw-r--r-- 1 root root 1806388 Jun 11 01:14 vmlinuz-2.6.18-92.el5
-rw-r--r-- 1 root root 2161376 Oct 30 12:09 vmlinuz-2.6.18-92.el5xen
-rw-r--r-- 1 root root  422458 Oct 31 10:49 xen-3.3.0.gz
lrwxrwxrwx 1 root root      12 Oct 31 12:20 xen-3.3.gz -> xen-3.3.0.gz
lrwxrwxrwx 1 root root      12 Oct 31 12:20 xen-3.gz -> xen-3.3.0.gz
lrwxrwxrwx 1 root root      12 Oct 31 12:20 xen.gz -> xen-3.3.0.gz
-rw-r--r-- 1 root root  328766 Jun 25 19:42 xen.gz-2.6.18-92.1.6.el5
-rw-r--r-- 1 root root  328755 Jun 11 00:42 xen.gz-2.6.18-92.el5
-rwxr-xr-x 1 root root  714720 Jun 25 22:03 xen-syms-2.6.18-92.1.6.el5 <----???? I do not these 3 ones were produced from the steps above or not
-rwxr-xr-x 1 root root  714716 Jun 11 03:07 xen-syms-2.6.18-92.el5  <---- ????
-rw-r--r-- 1 root root 6191224 Oct 31 10:49 xen-syms-3.3.0 <-------?????

7. the result of /etc/grub.conf as following: (the one with bold is the result from above!)
     -----> there is no xen kernel (2.6.18.8-el5xen)
default=4
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18.8)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18.8 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18.8.img
title CentOS (2.6.18-92.1.6.el5PAE)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-92.1.6.el5PAE ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-92.1.6.el5PAE.img
title CentOS (2.6.18-92.1.6.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-92.1.6.el5 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-92.1.6.el5.img
title CentOS (2.6.18-92.1.6.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-92.1.6.el5
        module /boot/vmlinuz-2.6.18-92.1.6.el5xen ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-92.1.6.el5xen.img
title CentOS (2.6.18-92.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-92.el5 acpi=off
        module /boot/vmlinuz-2.6.18-92.el5xen ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-92.el5xen.img
title CentOS-base (2.6.18-92.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-92.el5.img

-------------------------------------------------------------------------------------------------------
Until this step, I have no idea what should I do... I have no idea how to edit the grub for the xen 3.3.0 new kernel. According to the guidance, I need to edit myself the initrd..
I've tried it but it failed cause (probably) I am on the 2.6.18-92.el5xen world, thus, it won't be able to produce new initrd for xen 3.3.0 kernel with it.
Then, I reboot and went to 2.6.18.8 in case to make initrd but it was unable to continue after entering (like the installation was not completed yet, it was just stucked and asking me to restart). Now the problems are I cannot get into 2.6.18-92.el5xen anymore, it is also stucked
Obviously, just say I do not either how to do it.
So what steps am I missing?
Thanks before

Best Regards,
--
Eric Jansen
CentOS Linuxer
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] misled with Installing xen 3.3.0 onto CentOS 5.2, Eric Jansen <=