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: [Xen-users] Re: How to upgrade to Xen 4.0.1 on Centos 5.5 ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: How to upgrade to Xen 4.0.1 on Centos 5.5 ?
From: Bob Sauvage <bob.sauvage@xxxxxx>
Date: Thu, 16 Sep 2010 17:35:32 +0200
Delivery-date: Thu, 16 Sep 2010 08:37:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <566550.74996.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <566550.74996.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3
Does someone have a step by step tutorial to upgrade Xen to 4.0.1 with the last kernel on CentOS 5.5 please ?

I followed this tutorial : http://wiki.xen.org/xenwiki/Xen4.0?highlight=%28xen%29|%284.0%29

hg clone -r RELEASE-4.0.1 http://xenbits.xen.org/xen-4.0-testing.hg
cd xen-4.0-testing.hg
make xen
make tools
make stubdom
make install-xen
make install-tools
make install-stubdom
make world => to compile the new kernel

What do I do after this ? Excuse me for my stupid question but it's the first time I compile a kernel.

I tried :

make install
mkinitrd -f /boot/initrd.img-2.6.32   2.6.32

But I have some errors about "No module xxx found for kernel 2.6.32.21, aborting."
I spent this step with : --builtin="ehci-hcd" --builtin="ohci-hcd" --builtin="uhci-hcd" --builtin="sata_nv" --builtin="usb-storage"

After I modified my grub.con but my server doesn't boot...

Thanks a lot for your help !




Le 15/09/2010 12:37, Boris Derzhavets a écrit :
Run :-
# man mkinitrd
there should be option like "--ignore-missing"

--- On Wed, 9/15/10, Bob Sauvage <bob.sauvage@xxxxxx> wrote:

From: Bob Sauvage <bob.sauvage@xxxxxx>
Subject: Re: [Xen-users] Re: How to upgrade to Xen 4.0.1 on Centos 5.5 ?
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Date: Wednesday, September 15, 2010, 6:28 AM

I noticed this error ;) ! Thanks.

But when I launch mkinitrd -f /boot/initrd.img-2.6.32.21   2.6.32.21
I have this error :

No module ehci-hcd found for kernel 2.6.32.21, aborting.



Le 15/09/2010 12:20, Boris Derzhavets a écrit :
> When it's over, in my /boot directory I have the xen-4.0.1.gz, the vmlinux-.2.6.32 but not the initrd.img-2.6.32 ?

mkinitrd -f /boot/initrd.img-2.6.32   2.6.32

Boris.

--- On Wed, 9/15/10, Bob Sauvage <bob.sauvage@xxxxxx> wrote:

From: Bob Sauvage <bob.sauvage@xxxxxx>
Subject: Re: [Xen-users] Re: How to upgrade to Xen 4.0.1 on Centos 5.5 ?
To: "khris4" <khris4@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, September 15, 2010, 3:47 AM

Hello Khris,

Thanks a lot for your proposal !

I tried to upgrade it last week without success.

I follow this "howto" : http://wiki.xen.org/xenwiki/Xen4.0?highlight=%28xen%29|%284.0%29

I downloaded the source package.
cd xen-4.0
make xen
make tools
make stubdom
make install-xen
make install-tools
make install-stubdom
make world => To download and compile the new kernel 2.6.32.x
When it's over, in my /boot directory I have the xen-4.0.1.gz, the vmlinux-.2.6.32 but not the initrd.img-2.6.32 ?

I never compiled a kernel myself...

Have a nice day ;)


Le 14/09/2010 21:24, khris4 a écrit :
It's not very hard to compile Xen for Centos 5.5, I did it last week using
xen 4.0.1 and  2.6.32.21 pv_op dom0 kernel. Let me know if you need any
help. 

-----Inline Attachment Follows-----

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


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