This discussion is archived
8 Replies Latest reply: Jun 5, 2013 5:57 PM by Dude! RSS

Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz

MarkE.LLoyd/DCT-Accenture Newbie
Currently Being Moderated
I am trying to understand the results I see on an OVM Oracle Linux Guest built from the
Template == OVM_OL5U6_X86_64_PVM_10GB.tgz

When I execute an rpm -qa | grep "^kernel" I obtain
rpm -qa | grep "^kernel"
kernel-uek-headers-2.6.32-100.26.2.el5
kernel-uek-firmware-2.6.32-100.26.2.el5
kernel-xen-devel-2.6.18-238.0.0.0.1.el5
kernel-uek-2.6.32-100.26.2.el5
kernel-xen-2.6.18-238.0.0.0.1.el5
kernel-uek-devel-2.6.32-100.26.2.el5

I expected to see an rpm of kernel-2.6.32-100.26.2.el5 based on the results of a "uname -a"

Linux foobar.local 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

To further confuse matters a listing of the /usr/src/kernels dir lists

ls -l
total 20
drwxr-xr-x 19 root root 4096 Apr 28 2011 2.6.18-238.0.0.0.1.el5-xen-x86_64
lrwxrwxrwx 1 root root 33 Apr 28 2011 2.6.18-238.0.0.0.1.el5xen-x86_64 -> 2.6.18-238.0.0.0.1.el5-xen-x86_64
drwxr-xr-x 22 root root 4096 Apr 28 2011 2.6.32-100.26.2.el5

whereas

rpm -q --whatprovides /boot/vmlinuz-`uname -r`
kernel-uek-2.6.32-100.26.2.el5


I am 99.99 % certain I am not running the UEK kernel but trying to understand the seemingly contradicting information as detailed above.

Thanks
  • 1. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Avi Miller Guru
    Currently Being Moderated
    987942 wrote:
    I am 99.99 % certain I am not running the UEK kernel but trying to understand the seemingly contradicting information as detailed above.
    You are 100% wrong, though. 2.6.32-100 is the UEK.

    Edited to add that the Red Hat kernels on OL5 are all 2.6.18. So anything that's 2.6.32 or 2.6.39 are UEK kernels.

    Edited by: Avi Miller on May 23, 2013 7:47 AM
  • 2. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Dude! Guru
    Currently Being Moderated
    The early UEK kernel was not showing 'uek' in the kernel name. It was corrected in later kernel updates with the release of Oracle Linux 5.7 or kernel 2.6.32-200 family.

    You can check the boot screen. It should show something like:

    "Booting Oracle Linux server….. el5uek".
  • 3. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    MarkE.LLoyd/DCT-Accenture Newbie
    Currently Being Moderated
    Actually when this is the Boot message in dmesg

    Booting paravirtualized kernel on Xen

    I welcome any test I can perform to prove empirically whether it is the uek kernel or not.

    Thanks
  • 4. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Dude! Guru
    Currently Being Moderated
    The RHCK kernels are based on 2.6.18. There is no 2.6.32 Red Hat kernel available for EL 5, hence it must be UEK. Why or what other proof do you need?
  • 5. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Avi Miller Guru
    Currently Being Moderated
    987942 wrote:
    I welcome any test I can perform to prove empirically whether it is the uek kernel or not.
    It's definitely the UEK, for the reasons stated above. Oracle Linux 5 Update 6 was the first version of Oracle Linux to ship with the UEK as the default kernel, and we hadn't quite gotten all the naming aspects 100% correct yet. So, the 2.6.32-100 kernel is absolutely a UEK.

    So, on a freshly installed Oracle Linux 5 Update 6 box:
    # uname -a
    Linux localhost.localdomain 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    If I then upgrade yum (required to get the yum changes to support kernel-uek installs) and then upgrade the box to the latest and reboot:
     # yum update yum
    # yum update
    # reboot
    We're now running the latest UEK Release 1 kernel (2.6.32-400.26.2.el5uek) and it identifies itself as such:
     # uname -a
    Linux localhost.localdomain 2.6.32-400.26.2.el5uek #1 SMP Tue Apr 23 19:04:54 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux
    Notice that it now says el5uek in the uname string.

    We changed the RPM and kernel identifiers from kernel-uek-2.6.32-100.35.1.el5uek. So, it wasn't in the release of Oracle Linux 5 Update 6, but happened in that update errata cycle. All subsequence releases of the UEK Release 1 (2.6.32) and UEK Release 2 (2.6.39) identify themselves with an el5uek or el6uek marker.

    BTW, is there any particular reason you're using a template that has a particularly old version of Oracle Linux 5 instead of using the latest Update 9? You can find Oracle Linux 5 Update 9 templates under the heading "Oracle VM 3 Templates (OVF) for Oracle Linux 5 Media Pack for x86_64 (64 bit)" on the Oracle Software Delivery Cloud.
  • 6. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    MarkE.LLoyd/DCT-Accenture Newbie
    Currently Being Moderated
    The question was asked why are we using such an old version of the OL 5.X kernel.

    Short answer: Because are Non-PROD envs are on x86_64 whereas PROD and DR are Exalogic X2-2 running NavStar
    The Navstar vServer template is OL 5.6 UEK and the direction was to use that in the non-PROD envs

    We also understand that the kernel can not be modified on the Engineered systems as well as there are a number of RPMs that must be remain unchanged.

    Thanks for the insights provided to date.

    I had no understanding the the UEK kernel updates required a YUM plugin.

    Must this be present to patch from kernel-uek-2.6.32-100.26.2.el5.x86_64.rpm to for example the ELSA-2011-2014 that upgrades the kernel to kernel-uek-2.6.32-100.26.2.el5.x86_64.rpm ?

    Thanks again
  • 7. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Avi Miller Guru
    Currently Being Moderated
    987942 wrote:
    I had no understanding the the UEK kernel updates required a YUM plugin.
    They don't.
    Must this be present to patch from kernel-uek-2.6.32-100.26.2.el5.x86_64.rpm to for example the ELSA-2011-2014 that upgrades the kernel to kernel-uek-2.6.32-100.26.2.el5.x86_64.rpm ?
    I'm not sure what YUM plugin you're referring to, but there is no requirement for any plugins to install to a specific kernel, assuming you have yum properly configured to point to either ULN, public-yum.oracle.com or a local YUM mirror. If so, just run:
     # yum install kernel-uek-2.6.32-100.26.2.el5
  • 8. Re: Oracle Linux 5.6 kernel  in OVM VM Template OVM_OL5U6_X86_64_PVM_10GB.tgz
    Dude! Guru
    Currently Being Moderated
    It might be worth adding that YUM is the default software management utility since RHEL5. OL5 uses up2date as the default update mechanism with ULN, but you can also use YUM. If you use the Oracle public YUM server, you obviously need to use the YUM utility. YUM is not just a plugin, but a complete software management facility and unlike the RPM tool automatically resolves software dependencies and prevents you from installing conflicting or incomplete software.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points