Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: okepc on January 21, 2008, 11:44:42 AM

Title: 7.2 --> 7.3 centos kernel is this ok?
Post by: okepc on January 21, 2008, 11:44:42 AM
yesterday i yummed my sme from 7.2 to 7.3.
Finished and rebooted with signal-event opst-upgrade and reboot
I noticed at the boot screen on the top of my list it had installed a centos kernel.
kernel-smp.i686 2.6.9-67.0.1.EL
kernel.i686 2.6.9-67.0.1.EL
No changes made to yum all is stock config.

Is this ok or should i have a sme-server rebranded kernel in grub?

Regards

Dirk
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: cactus on January 21, 2008, 11:53:41 AM
yesterday i yummed my sme from 7.2 to 7.3.
Finished and rebooted with signal-event opst-upgrade and reboot
I noticed at the boot screen on the top of my list it had installed a centos kernel.
kernel-smp.i686 2.6.9-67.0.1.EL
kernel.i686 2.6.9-67.0.1.EL
No changes made to yum all is stock config.

Is this ok or should i have a sme-server rebranded kernel in grub?

Regards

Dirk

For a multi processor machine it
Code: [Select]
uname -ashould output this:
Code: [Select]
Linux sme73test 2.6.9-67.0.1.ELsmp #1 SMP Wed Dec 19 16:01:12 EST 2007 i686 athlon i386 GNU/Linux
If your output looks very different I would advice you reporting this as a bug in the bugtracker as IMHO this should not happen.

Edit: changed single to multiple to match output
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: william_syd on January 21, 2008, 12:16:23 PM

I noticed at the boot screen on the top of my list it had installed a centos kernel.
kernel-smp.i686 2.6.9-67.0.1.EL
kernel.i686 2.6.9-67.0.1.EL



I always thought the first kernel installed from cd was titled SME Server and any yum'd kernels were titled CentOS.

I'm not sure now....

[root@c3 ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/main/root
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-67.0.1.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-67.0.1.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-67.0.1.EL.img
title SME Server (2.6.9-67.0.1.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-67.0.1.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-67.0.1.ELsmp.img
title SME Server (2.6.9-55.0.12.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.12.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.12.EL.img
title SME Server (2.6.9-55.0.12.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.12.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.12.ELsmp.img
title SME Server (2.6.9-55.0.9.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.9.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.9.ELsmp.img
title SME Server (2.6.9-55.0.9.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.9.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.9.EL.img
title SME Server (2.6.9-55.0.2.plus.c4)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.plus.c4 ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.plus.c4.img
title CentOS (2.6.9-55.0.2.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.ELsmp.img
title CentOS (2.6.9-55.0.2.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.2.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-55.0.2.EL.img
title SME Server (2.6.9-48.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-48.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-48.EL.img
title SME Server (2.6.9-42.0.10.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.10.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.10.ELsmp.img
title SME Server (2.6.9-42.0.10.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.10.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.10.EL.img
title SME Server (2.6.9-42.0.8.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.8.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.8.ELsmp.img
title SME Server (2.6.9-42.0.8.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.8.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.8.EL.img
title SME Server (2.6.9-42.0.3.plus.c4)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.3.plus.c4 ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.3.plus.c4.img
title SME Server (2.6.9-42.0.3.plus.c4smp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.3.plus.c4smp ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.3.plus.c4smp.img
title CentOS (2.6.9-42.0.3.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.3.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.3.EL.img
title CentOS (2.6.9-42.0.3.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-42.0.3.ELsmp.img
title SME Server (2.6.9-34.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-34.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-34.ELsmp.img
title SME Server-up (2.6.9-34.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-34.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-34.EL.img
[root@c3 ~]#
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: cactus on January 21, 2008, 12:28:59 PM
I always thought the first kernel installed from cd was titled SME Server and any yum'd kernels were titled CentOS.
I assumed the same and it is this way on my test machine which is installed from a SME Server 7.3 CD and is up-to-date. Since the applied updates do not include a kernel update I guess a clean SME Server 7.3 should look like this:
Code: [Select]
[root@sme73test ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/main/root
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-67.0.1.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-67.0.1.ELsmp ro root=/dev/main/root
        initrd /initrd-2.6.9-67.0.1.ELsmp.img
title SME Server-up (2.6.9-67.0.1.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-67.0.1.EL ro root=/dev/main/root
        initrd /initrd-2.6.9-67.0.1.EL.img
[root@sme73test ~]#
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: Confucius on January 21, 2008, 12:42:21 PM
Quote
For a single processor machine it
Code: [Select]
uname -ashould output this:
Code: [Select]
Linux sme73test 2.6.9-67.0.1.ELsmp #1 SMP Wed Dec 19 16:01:12 EST 2007 i686 athlon i386 GNU/Linux

Small mistake. SMP = more than 1 processor. (http://en.wikipedia.org/wiki/Symmetric_multiprocessing)

Harro
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: cactus on January 21, 2008, 12:43:55 PM
Small mistake. SMP = more than 1 processor. (http://en.wikipedia.org/wiki/Symmetric_multiprocessing)

Harro
Oops, thanks, I will correct this.
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: william_syd on January 21, 2008, 12:56:01 PM
I assumed the same

May of been changed...

Bug 1996 (http://bugs.contribs.org/show_bug.cgi?id=1996#c12)
Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: okepc on January 21, 2008, 01:29:12 PM
Uname -a

Linux e-smith-server 2.6.9-67.0.1.ELsmp #1 SMP Wed Dec 19 16:01:12 EST 2007 i686 i686 i386 GNU/Linux

Grub.conf top section

title CentOS (2.6.9-67.0.1.ELsmp)

root (hd0,0)

kernel /vmlinuz-2.6.9-67.0.1.ELsmp ro root=/dev/main/root

initrd /initrd-2.6.9-67.0.1.ELsmp.img

title CentOS (2.6.9-67.0.1.EL)

root (hd0,0)

kernel /vmlinuz-2.6.9-67.0.1.EL ro root=/dev/main/root

initrd /initrd-2.6.9-67.0.1.EL.img

There it is.... Title CentOS

All other kernels are sme branded.

So the question is , is this the right kernel?

Regards

Dirk

Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: william_syd on January 21, 2008, 02:05:46 PM


So the question is , is this the right kernel?




The developers don't compile or alter kernels. The are identical to upstream (CentOS).

The key thing is that your kernel modules match your kernel.

uname -r
rpm -qa | grep kmod

Should the kernel be labled as SME Server? The bug tracker seems to indicate they should. Perhaps this should be taken to the bug tracker to get a definitive answer.

Edit:

Good example
Code: [Select]
[root@tiger ~]# uname -r
2.6.9-67.0.1.ELsmp
[root@tiger ~]# rpm -qa | grep kmod
kmod-slip-1.0-2.2.6.9_67.0.1.EL
kmod-slip-smp-1.0-2.2.6.9_67.0.1.EL
kmod-ppp-1.0.2-2.2.6.9_67.0.1.EL
kmod-appletalk-smp-1.0-2.2.6.9_67.0.1.EL
kmod-appletalk-1.0-2.2.6.9_67.0.1.EL
kmod-ppp-smp-1.0.2-2.2.6.9_67.0.1.EL
[root@tiger ~]#

Bad Example
Code: [Select]
[root@c3 ~]# uname -r
2.6.9-67.0.1.EL
[root@c3 ~]# rpm -qa | grep kmod
kmod-bnx2-1.4.43c-2.2.6.9_42.0.3.EL
kmod-ppp-1.0.2-2.2.6.9_67.0.1.EL
kmod-appletalk-1.0-2.2.6.9_67.0.1.EL
mikmod-3.1.6-36.99_2.el4.at
kmod-bnx2-smp-1.4.43c-2.2.6.9_42.0.3.EL
kmod-ipp2p-0.8.0-1.2.6.9_42.0.10.EL
kmod-slip-smp-1.0-2.2.6.9_67.0.1.EL
kmod-ppp-smp-1.0.2-2.2.6.9_67.0.1.EL
kmod-appletalk-smp-1.0-2.2.6.9_67.0.1.EL
kmod-ipp2p-smp-0.8.0-1.2.6.9_42.0.10.EL
kmod-slip-1.0-2.2.6.9_67.0.1.EL
[root@c3 ~]#



Title: Re: 7.2 --> 7.3 centos kernel is this ok?
Post by: okepc on January 21, 2008, 02:56:50 PM
Bug = here: http://bugs.contribs.org/show_bug.cgi?id=3790