FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-15-2011, 02:18 PM
Hans Vos
 
Default Two cleanly installed CentOS 5.6 servers but with different Xen kernel versions

Hello,

Earlier this week I installed a test server with CentOS 5.6 with
Virtualization enabled during the installer. Today I installed another
server using the same method (they are identical servers). I just did a
yum update and I found something curious. Both servers have a different
kernel. Server 1 is at 9.1 version and server 2 at 5.1. How can this be?
How to I get the latest version on server 2? If I run yum update there
are none available.

If I input xm info I get this one server 1:

host : server1
release : 2.6.18-238.9.1.el5xen
version : #1 SMP Tue Apr 12 18:53:56 EDT 2011
machine : x86_64
nr_cpus : 4
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2400
hw_caps :
bfebfbff:20100800:00000000:00000940:0000e3bd:00000 000:00000001
total_memory : 4095
free_memory : 383
node_to_cpu : node0:0-3
xen_major : 3
xen_minor : 1
xen_extra : .2-238.9.1.el5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
cc_compile_by : mockbuild
cc_compile_domain : centos.org
cc_compile_date : Tue Apr 12 18:01:03 EDT 2011
xend_config_format : 2

And on server 2 it is this:

host : server2
release : 2.6.18-238.5.1.el5xen
version : #1 SMP Fri Apr 1 19:35:13 EDT 2011
machine : x86_64
nr_cpus : 4
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2400
hw_caps :
bfebfbff:20100800:00000000:00000940:0000e3bd:00000 000:00000001
total_memory : 4095
free_memory : 383
node_to_cpu : node0:0-3
xen_major : 3
xen_minor : 1
xen_extra : .2-238.5.1.el5
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
cc_compile_by : mockbuild
cc_compile_domain : centos.org
cc_compile_date : Fri Apr 1 18:30:53 EDT 2011
xend_config_format : 2

--
Met vriendelijke groet / With kind regards,

Hans Vos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-15-2011, 02:30 PM
Cal Webster
 
Default Two cleanly installed CentOS 5.6 servers but with different Xen kernel versions

It's possible that your #2 server has not rebooted or had problems with
the latest kernel or just has the default set to something other than
"0" in grub.conf.

What's the output of:

egrep 'default|title' /etc/grub.conf

yum list kernel | grep kernel

./Cal

On Fri, 2011-04-15 at 16:18 +0200, Hans Vos wrote:
> Hello,
>
> Earlier this week I installed a test server with CentOS 5.6 with
> Virtualization enabled during the installer. Today I installed another
> server using the same method (they are identical servers). I just did a
> yum update and I found something curious. Both servers have a different
> kernel. Server 1 is at 9.1 version and server 2 at 5.1. How can this be?
> How to I get the latest version on server 2? If I run yum update there
> are none available.
>
> If I input xm info I get this one server 1:
>
> host : server1
> release : 2.6.18-238.9.1.el5xen
> version : #1 SMP Tue Apr 12 18:53:56 EDT 2011
> machine : x86_64
> nr_cpus : 4
> nr_nodes : 1
> sockets_per_node : 1
> cores_per_socket : 4
> threads_per_core : 1
> cpu_mhz : 2400
> hw_caps :
> bfebfbff:20100800:00000000:00000940:0000e3bd:00000 000:00000001
> total_memory : 4095
> free_memory : 383
> node_to_cpu : node0:0-3
> xen_major : 3
> xen_minor : 1
> xen_extra : .2-238.9.1.el5
> xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_pagesize : 4096
> platform_params : virt_start=0xffff800000000000
> xen_changeset : unavailable
> cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
> cc_compile_by : mockbuild
> cc_compile_domain : centos.org
> cc_compile_date : Tue Apr 12 18:01:03 EDT 2011
> xend_config_format : 2
>
> And on server 2 it is this:
>
> host : server2
> release : 2.6.18-238.5.1.el5xen
> version : #1 SMP Fri Apr 1 19:35:13 EDT 2011
> machine : x86_64
> nr_cpus : 4
> nr_nodes : 1
> sockets_per_node : 1
> cores_per_socket : 4
> threads_per_core : 1
> cpu_mhz : 2400
> hw_caps :
> bfebfbff:20100800:00000000:00000940:0000e3bd:00000 000:00000001
> total_memory : 4095
> free_memory : 383
> node_to_cpu : node0:0-3
> xen_major : 3
> xen_minor : 1
> xen_extra : .2-238.5.1.el5
> xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_pagesize : 4096
> platform_params : virt_start=0xffff800000000000
> xen_changeset : unavailable
> cc_compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
> cc_compile_by : mockbuild
> cc_compile_domain : centos.org
> cc_compile_date : Fri Apr 1 18:30:53 EDT 2011
> xend_config_format : 2
>

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-15-2011, 02:34 PM
Ryan Wagoner
 
Default Two cleanly installed CentOS 5.6 servers but with different Xen kernel versions

On Fri, Apr 15, 2011 at 10:18 AM, Hans Vos <hans@laissezfaire.nl> wrote:
> Hello,
>
> Earlier this week I installed a test server with CentOS 5.6 with
> Virtualization enabled during the installer. Today I installed another
> server using the same method (they are identical servers). I just did a
> yum update and I found something curious. Both servers have a different
> kernel. Server 1 is at 9.1 version and server 2 at 5.1. How can this be?
> How to I get the latest version on server 2? If I run yum update there
> are none available.

The 9.1 kernel update was released last night. The mirrors must still
be catching up. I was update to update one box to 9.1 and my other
boxes still don't see the 9.1 update.

Ryan
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-15-2011, 02:37 PM
Hans Vos
 
Default Two cleanly installed CentOS 5.6 servers but with different Xen kernel versions

Hello Cal,

Thank you for your reply.

> It's possible that your #2 server has not rebooted or had problems with
> the latest kernel or just has the default set to something other than
> "0" in grub.conf.

I did a reboot and checked the grub.conf. Should have mentioned that.

> What's the output of:
>
> egrep 'default|title' /etc/grub.conf

# egrep 'default|title' /etc/grub.conf
default=0
title CentOS (2.6.18-238.5.1.el5xen)
title CentOS (2.6.18-238.el5xen)

> yum list kernel | grep kernel

yum list kernel | grep kernel
kernel.x86_64 2.6.18-238.5.1.el5
updates

Also if I do "yum info kernel-xen" I get this on server 1:

Name : kernel-xen
Arch : x86_64
Version : 2.6.18
Release : 238.9.1.el5
Size : 95 M
Repo : installed
Summary : The Linux kernel compiled for Xen VM operations
URL : http://www.kernel.org/
License : GPLv2
Description: This package includes a version of the Linux kernel which
: runs in Xen VM. It works for both priviledged and
unpriviledged guests.

And this on server 2:

Name : kernel-xen
Arch : x86_64
Version : 2.6.18
Release : 238.5.1.el5
Size : 95 M
Repo : installed
Summary : The Linux kernel compiled for Xen VM operations
URL : http://www.kernel.org/
License : GPLv2
Description: This package includes a version of the Linux kernel which
: runs in Xen VM. It works for both priviledged and
unpriviledged guests.

--
Kind regards,

Hans Vos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-15-2011, 02:42 PM
Hans Vos
 
Default Two cleanly installed CentOS 5.6 servers but with different Xen kernel versions

Hello,

> The 9.1 kernel update was released last night. The mirrors must still
> be catching up. I was update to update one box to 9.1 and my other
> boxes still don't see the 9.1 update.

Ah, that might also explain why on server 1 there were 51 updates and on
server 2 only 33. Could not figure out why. Was comparing installed
packages also.

--
Kind regards,

Hans Vos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org