Kernel rpms of 2.6.18-194.11.1.0.1.el5 & 2.6.18-194.26.1.0.1.el5 equired
Hi All,
I have an urgent need of following kernel rpm files (not source files) for Oracle Linux Enterprise server machine.
1. kernel-2.6.18-194.11.1.0.1.el5
2. kernel-2.6.18-194.26.1.0.1.el5
My Machine Details, using following commands, are:
cat /etc/issue:
==========
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel \r on an \m
uname -a
======
Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Please help me with that.
Thanks in advance!
user13780004 wrote:
I have an urgent need of following kernel rpm files (not source files) for Oracle Linux Enterprise server machine.Buy a ULN subscription and download them from Oracle's Unbreakable Linux Network. Downloading a kernel from anywhere else is just a massive security risk. If it's not signed by Oracle Development, there is no way you should trust it, unless you compile it from source yourself.
Similar Messages
-
Need the kernel rpm for 2.6.18-238.12.2.0.2.el5
I am looking out for kernel rpm of 2.6.18-238.12.2.0.2.el5 ( OEL kernel ) .Can anyone pass on the URL from where it can be downloaded or provide me info about the repository from where this kernel can be downloaded.
Thanks,
Raju Arora956675 wrote:
We have a customer to support on this kernelAre you an internal Oracle employee? If so, you should not be using the public forums for support-related questions. Otherwise, if you're not an employee, please contact Oracle Support via an SR. This was not a released kernel version, so it's not available via ULN or public-yum.oracle.com. -
Cant find kernel-2.6.18-194.0.0.0.3.el5
Hi All,
I am looking for the kernel-2.6.18-194.0.0.0.3.el5. Please point me to the link / location where i can find the kernel rpm - kernel-2.6.18-194.0.0.0.3.el5.
Thanks
RajuThe kernel you are looking for is a kernel patched by Oracle. It is not the standard RHEL 5.5 based distribution kernel.
It is available on the OEL 5.5 installation DVD iso for x86 or x86_64. You can download the iso image from https://edelivery.oracle.com/linux
https://oss.oracle.com/el5/docs/RELEASE-NOTES-U5-en.html
Open the DVD and look inside the Server/oracle_updated directory and you will find:
kernel-2.6.18-194.0.0.0.3.el5.x86_64.rpm among other 0.0.0.3 patches for oracleasm, ocfs2, etc. -
Kernel-devel-2.6.18-238.el5.x86_64.rpm dependency for dkms
Hi,
I am trying to install VirtualBox-4.1-4.1.8_75467_rhel5-1.x86_64.rpm on Red Hat Enterprise Linux Server release 5.6.
During installation it fails with following error:
=================================
sh-3.2# rpm -i VirtualBox-4.1-4.1.8_75467_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.8_75467_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
===========================
So I tried installing dkms and it failed with following error.
=========================================================
sh-3.2# rpm -i dkms-2.1.1.2-1.el5.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
kernel-devel is needed by dkms-2.1.1.2-1.el5.rf.noarch
=======================================================
Now I am not able to find rpm for kernel-devel (kernel-devel-2.6.18-238.el5.x86_64.rpm ).
Any idea?houst0n wrote:
There is no 'kernel-devel' package on redhat, if you need the kernel source then you need to pull down a srpm.Of course there's a kernel-devel package. I use it all the time.
However, the Red Hat (and associated downstream compilations like CentOS and Oracle Linux) don't use DKMS. What you want is to install kernel-devel so it builds the full kernel modules, not the DKMS module. We provide the kernel-devel package for Oracle Linux on the install media, on ULN and via our public yum repository at http://public-yum.oracle.com -
[Mini-HOWTO] RPMs needed to compile a kernel-module on / for VM Server
In reply to the question I've asked a couple of days ago in this forum
Compile module for Oracle VM Server
I tried to do it myself, since no answer was given.
And it turned out to be fairly easy afterward too!
Just install these RPM-packages from an Oracle Enterprise Linux v5 i386 distribution (v5, NOT v5U1!) in this order:
kernel-headers-2.6.18-8.el5.i386.rpm
glibc-headers-2.5-12.i386.rpm
glibc-devel-2.5-12.i386.rpm
libgomp-4.1.1-52.el5.i386.rpm
cpp-4.1.1-52.el5.i386.rpm
gcc-4.1.1-52.el5.i386.rpmThese 6 RPMs and finally the
kernel-ovs-devel-2.6.18-8.1.6.0.18.el5 RPM, to be found on the VM Server-CD you've burned from the downloaded ISO.
Hope this helps!
At least I was able to recompile the qla2xxx-modules from the HP-provided sources.
Message was updated by:
hbokhobasically it is the same thing as build a normal kernel module i think. some packages need to be installed first for e.g. the kernel source and development packages.
refer to, (just some google results)
http://www.eece.maine.edu/~sheaff/module.html
http://tldp.org/LDP/lkmpg/2.6/html/index.html
The system I installed the OVS on has a network chip
that is not supported by the kernel in OVS 2.1. I
found the source code for the module, but does anyone
have a clue how to set up an environment so I can
compile the module in a way that it'll be accepted on
the OVS server. I downloaded the Source OVS CD, but
I'm not quite sure what to do from there. Anybody has
some hints? -
Mostly curiosity on how this kernel replaces the existing kernel by what almost appears
to be an in place upgrade. (2.6.32-100.26.2.el5 to 2.6.32-100.28.9.el5)
After upgrade there are no references in grub for the old kernel and it no longer exists in the rpmdb.
This has happen on both OEL5.6 and OEL6 systems.
It would make the fall back to old kernel process a little more fun.
Anybody have any information on this?I have not rebooted this box yet so here is the current running kernel.
[root@linux7 ~]# uname -r
2.6.32-100.26.2.el5
upgraded kernel using yum update.
[root@linux7 ~]# rpm -qa | grep kernel | sort
kernel-2.6.32-100.24.1.el5
kernel-firmware-2.6.32-100.24.1.el5
kernel-uek-2.6.32-100.28.9.el5
kernel-uek-firmware-2.6.32-100.28.9.el5
kernel-uek-headers-2.6.32-100.28.9.el5
kernel-xen-2.6.18-194.32.1.0.1.el5
kernel-xen-2.6.18-238.1.1.0.1.el5
kernel-xen-2.6.18-238.5.1.0.1.el5
kernel-xen-devel-2.6.18-194.32.1.0.1.el5
kernel-xen-devel-2.6.18-238.1.1.0.1.el5
kernel-xen-devel-2.6.18-238.5.1.0.1.el5
[root@linux7 ~]# cat /var/log/yum.log | grep kernel
Jan 16 20:00:25 Updated: kernel-headers-2.6.32-100.24.1.el5.x86_64
Jan 16 20:00:43 Installed: kernel-xen-devel-2.6.18-194.32.1.0.1.el5.x86_64
Jan 16 20:01:29 Installed: kernel-firmware-2.6.32-100.24.1.el5.x86_64
Jan 16 20:06:25 Installed: kernel-2.6.32-100.24.1.el5.x86_64
Jan 22 08:05:24 Installed: kernel-xen-2.6.18-194.32.1.0.1.el5.x86_64
Feb 15 15:08:44 Installed: kernel-xen-devel-2.6.18-238.1.1.0.1.el5.x86_64
Feb 15 15:12:58 Installed: kernel-xen-2.6.18-238.1.1.0.1.el5.x86_64
Feb 15 15:16:07 Installed: kernel-uek-headers-2.6.32-100.26.2.el5.x86_64
Feb 15 15:16:07 Installed: kernel-uek-firmware-2.6.32-100.26.2.el5.noarch
Feb 15 15:16:25 Installed: kernel-uek-2.6.32-100.26.2.el5.x86_64
Feb 15 15:16:42 Erased: kernel-headers
Mar 08 19:21:44 Installed: kernel-xen-devel-2.6.18-238.5.1.0.1.el5.x86_64
Mar 08 19:22:09 Installed: kernel-xen-2.6.18-238.5.1.0.1.el5.x86_64
Mar 23 20:16:12 Updated: kernel-uek-firmware-2.6.32-100.28.9.el5.noarch
Mar 23 20:16:38 Updated: kernel-uek-2.6.32-100.28.9.el5.x86_64
Mar 23 20:16:41 Updated: kernel-uek-headers-2.6.32-100.28.9.el5.x86_64
[root@linux7 ~]# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Oracle Linux Server (2.6.32-100.28.9.el5)
root (hd0,0)
kernel /vmlinuz-2.6.32-100.28.9.el5 ro root=/dev/VolGroup00/LogVol00 console=hvc0 rhgb quiet numa=off
initrd /initrd-2.6.32-100.28.9.el5.img
title Oracle Linux Server (2.6.18-238.5.1.0.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.5.1.0.1.el5xen ro root=/dev/VolGroup00/LogVol00 console=hvc0 rhgb quiet numa=off
initrd /initrd-2.6.18-238.5.1.0.1.el5xen.img
title Oracle Linux Server (2.6.18-238.1.1.0.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.1.1.0.1.el5xen ro root=/dev/VolGroup00/LogVol00 console=hvc0 rhgb quiet numa=off
initrd /initrd-2.6.18-238.1.1.0.1.el5xen.img
title Enterprise Linux Enterprise Linux Server (2.6.18-194.32.1.0.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.32.1.0.1.el5xen ro root=/dev/VolGroup00/LogVol00 console=hvc0 rhgb quiet numa=off
initrd /initrd-2.6.18-194.32.1.0.1.el5xen.img
title Enterprise Linux Enterprise Linux Server (2.6.32-100.24.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.32-100.24.1.el5 ro root=/dev/VolGroup00/LogVol00 console=hvc0 rhgb quiet numa=off
initrd /initrd-2.6.32-100.24.1.el5.img -
Can't install oracle-validated with kernel-PAE
I can't install oracle-validated when using kernel-PAE.... Anyone help?
Take a look at the following actions:
[root@db ~]# up2date -i oracle-validated
Fetching Obsoletes list for channel: el5_i386_latest...
Fetching rpm headers...
Name Version Rel
oracle-validated 1.0.0 18.el5 i386
Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:
Unresolvable chain of dependencies:
glibc-headers 2.5-34 requires kernel-headers
glibc-headers-2.5-34 requires kernel-headers >= 2.2.1
oracle-validated 1.0.0-18.el5 requires kernel-headers
The following packages were added to your selection to satisfy dependencies:
Package Required by
gcc-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 gcc
gcc-c++-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 gcc-c++
libstdc++-devel-4.1.2-44.el5.i386 oracle-validated-1.0.0-18.el5 libstdc++-devel
[root@db ~]# rpm -q kernel-PAE
kernel-PAE-2.6.18-92.el5
kernel-PAE-2.6.18-128.1.10.0.1.el5
[root@db ~]# Best Regards,
JoaoProblem was that up2date config had marked to not install kernel* packages :)
ran up2date-config and removed that ...
Regards
Joao Oliveira -
Kernel/driver downward compatibility
Dear all,
I have an EL5 Update 4 installation. My WLAN card has a BCM4318 chip from Broadcom. As stated on Broadcom's home page, I normally needed a b43 driver--however, this requires kernel 2.6.25 or higher. My kernel is 2.6.18, as originally downloaded from Oracle's web site. It as a deprecated driver bcm43xx installed, modprobe shows it up. However, this driver can not control the above card. LAN is working OK.
My questieon is: Can I get and install a much newer b43 driver to cooperate with my older kernel or is downward compatibility excluded?
Lately I used an up2date for my ULN, no change in kernel.
Then I looked round for latest versions, and downloaded some kernel-2.6.18-164.11.1.0.1.el5.i686.rpm package, When trying to install it I get
Can't install a different arch of /root/Desktop/kernel-2.6.18-164.11.1.0.1.el5.i686.rpm than already installed.
Can anyone help me what to do for me not to damage anything that is already working properly?
Thanks, kind regards,
Miklos HERBOLYThis questions comes up a lot recently.
OEL is a server distribution and is not likely to keep abreast of the latest
wireless technology. So if your wireless card isn't properly detected out of
the box, you are pretty much own your own.
That being said, if you do this:
# /bin/rpm -qa --qf="%{NAME}-%{VERSION}-%{REVISION}.%{ARCH}.rpm\n" kernel\*You will get the exact name of the kernel RPM for your current install. If
you get a newer kernel from somewhere, the VERSION and REVISION portions may
differ, but the rest should be the same as you currently have. -
How do you recompile the kernel for oracle linux 6.3
Hello,
I have installed Oracle linux 6.3 default settings on x86_64 bit pc
I have some questions:
1. What public yum repositories contain the oracle linux 6.3 kernel source code ?
2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?
3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.
4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.
5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .
Thankyou
GlennGlenn D. wrote:
1. What public yum repositories contain the oracle linux 6.3 kernel source code ?None of them. The Oracle Linux kernel source code can be found here:
https://oss.oracle.com/ol6/SRPMS/
https://oss.oracle.com/ol6/SRPMS-updates/
And our git repositories are here:
https://oss.oracle.com/git/
The default kernel in OL6.3 is here:
https://oss.oracle.com/git/?p=linux-uek-2.6.39.git;a=summary
2. Is the oracle linux 6.3 kernel source code on OracleLinux-R6-U3-src-dvd1.iso or OracleLinux-R6-U3-src-dvd2.iso , can I use this to recompile a new kernel ?Actually, I have no idea which DVD the source code is on.
3. Do you have the steps/commands needed to set options and compile a installable kernel[rpm] on oracle linux 6.3 x86_64.No, you'd need to decide that for yourself. The kernel source is complex and can be very tricky to recompile.
4. What gui tools are available in the desktop to manage settings e.g sound/volume or to install additional gui utilities.Wow, topic shift. GNOME Control Center manages settings and installing new utilities is done by Pirut.
5. Is there some documentation help on using the oracle linux desktop ?. If so where is it located .Oracle Linux isn't intended to be used as a desktop. All the documentation is here:
https://linux.oracle.com/documentation/
http://docs.oracle.com/cd/E37670_01/index.html -
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.
Thanks987942 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/LinuxIf 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
# rebootWe'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/LinuxNotice 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. -
Oracle Linux 5.6 - Do I need to keep the xen kernel ?
I am using the Oracle Linux 5.6 kernel 2.6.32-100.26.2.el5 also know as the UEK Release 1 in an OVM x86_64 environment.
Question: Since the Guests are paravirtualized and require Xen specifc I/O drives ( network, disk, etc. ) does that mean I need to keep the Xen kernel rpms, i.e.,
kernel-xen-2.6.18-238.0.0.0.1.el5
kernel-xen-devel-2.6.18-238.0.0.0.1.el5
and this entry in /boot/grub/grub.conf
title Oracle Linux Server (2.6.18-238.0.0.0.1.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.0.0.0.1.el5xen ro root=LABEL=/ numa=off
initrd /initrd-2.6.18-238.0.0.0.1.el5xen.img
The main driver for this question is I am trying to determine if these rpms are accessed in any way when the UEK Release 1 is in use. If so, then I will need
to heed to the Security Scan results against the xen kernel version otherwise I will ignore them and move forward.
Thanks
Mark E. LLoyd
Data Center Technology
AccentureThe following is from the OL 6.5 release notes:
https://oss.oracle.com/el5/docs/RELEASE-NOTES-U6-en.html
Hardware virtualized guest with kernel-uek-2.6.32-100.35.1.el5uek and higher
Unbreakable Enterprise Kernel version kernel-uek-2.6.32-100.35.1 adds support for paravirtualized drivers in a harware virtualized guest on Oracle VM. Starting this kernel version hardware virtualized guests which are not configured to use paravirtualized drivers will need an additional kernel boot parameter "xen_emul_unplug=never" in /etc/grub.conf:
kernel /vmlinuz-2.6.32-100.35.1.el5uek ro root=/dev/VolGroup00/LogVol00 xen_emul_unplug=never
With kernel-uek-2.6.32-100.35.1 and higher, the default is to present only paravirtualized drivers when running in a hardware virtualized guest on Oracle VM. Adding this kernel boot parameter makes the kernel also present the emulated drivers as it did before (e.g. the 8139cp network driver may no longer load if this parameter is not set).
Older version of Unbreakable Enterprise Kernel do not have support for hardware virtualized guest that uses paravirtualized drivers (PVHVM). -
Cannot install oracle vpn on linux getting error kernel-sourcecode is neede
cannot install oracle vpn on linux getting error kernel-sourcecode is needed by gds_cisco_vpn_client-2.0-llrhel4.i386.. i already installed kernel-devel still it get the same error. pls help.
1. kernel (.rpm)
2. kernel-devel (.rpm) - containing only Makefiles and some kernel header files
3. kernel source rpm (src.rpm) - source for rebuilding the kernel
4. kernel-sourcecode (.rpm) - source-tree for developing custom kernels
are four different packages.
If you are running OEL-4 (2.6.9 kernel) and you have an ULN account, you can download kernel-sourcecode rpm from ULN. There is no kernel-sourcecode for OEL-5 available on ULN site.
NJ -
Hi,
as long as RHEL-5 and then OEL-5 have been released, I have been wondering why my own programs, compiled and run on RHEL-5/OEL-5, are slower than the same programs compiled and run on RHEL-4/OEL-4 on the same machine. This is really barmy since gcc-4.1, shipped with RHEL-5/OEL-5, is very aggressive compiler and produces faster binary code than gcc-3.4.6, shipped with RHEL-4/OEL-4. I verified this hundred times testing both compilers on RHEL-4/OEL-4 and RHEL-5/OEL-5. The 4.1 compiler always produces faster executable on the same OS.
The problem is obviously in kernel-2.6.18. There is something in the kernel (maybe scheduler?) that slows down the execution of programs. But what? I experimented with changing various kernel boot parameters (eg "acpi=off" etc), even tried to recompile the kernel many times with various combinations of config parameters, and nothing helps. Thus, I'm still wondering whether the problem is solvable by disabling one or more config parameters and recompiling the kernel, or is deeply embedded in the main kernel code.
Is there anybody in this forum who experienced the same, say running OEL-4 before migrating to OEL-5?
Here are two examples showing different execution times on OEL-4.5 (kernel-2.6.9-55.0.5.0.1.EL.i686, gcc-3.4.6-8.0.1) and OEL-5 (kernel-2.6.18-8.1.10.0.1.el5, gcc-4.1.1-52.el5.2). The first example is trivial but very sensitive to overal system load and kernel version. The second example is "Sieve of Eratosthenes" - the program for finding prime numbers (CPU bound).
EXAMPLE 1.
/* Simle program for text screen console */
/* very sensitive to overall system load */
/* and kernel version */
#include <stdio.h>
int main(void)
register int i;
for(i = 0; i < 1000000; i++)
printf(" %d ", i);
return 0;
/* end of program */
$ gcc -O2 -o example1 -s example1.c
$ time ./example1The average execution times on OEL-4.5 and OEL-5 are as follow:
Mode OEL-4.5 OEL-5
real 0m3.141s 0m4.931s
user 0m0.394s 0m0.366s
sys 0m2.747s 0m4.563s
----------------------------------As we can see, the program on the same machine, compiled and run on OEL-4.5 (gcc-3.4.6 and kernel-2.6.9) is 57% faster than the same program compiled and run on OEL-5 (gcc-4.1.1 and kernel-2.6.18), although gcc-4.1.1 produces much faster binary code. Since the times the process spent in user mode are almost equal on both OS, the whole difference is due to the time the process spent in kernel mode. Note that kernel mode (sys) is taking 66% more time on OEL-5. It tells me that "something" in the kernel-2.6.18 slows down the execution of the program.
In the second example OEL-4.5 is also faster than OEL-5, but the differences in execution times are not so drastic as in the first example.
EXAMPLE 2.
/* Sieve of Eratosthenes */
#define GNUSOURCE
#include <stdio.h>
#include <stdlib.h>
#define MAX_PRIME_AREA 100000
#define REPEAT_LOOP 10000
int main(void)
int prime, composite, count;
char *sieve_array;
if ((sieve_array = (char *) malloc( (size_t) (MAX_PRIME_AREA + 1))) == NULL)
fprintf(stderr,"Memory block too big!\nMemory allocation failed!\a\n");
exit(EXIT_FAILURE);
for(count = 0; count < REPEAT_LOOP; count++)
for(prime = 0; prime < (MAX_PRIME_AREA + 1); prime++)
*(sieve_array + prime) = (char) '\0';
for(prime = 3; prime < (MAX_PRIME_AREA + 1); prime += 2)
if (! *(sieve_array + prime) )
*(sieve_array + prime) = (char) 'P'; /* offset prime is a prime */
for(composite = (2 * prime); composite < (MAX_PRIME_AREA + 1); composite += prime)
*(sieve_array + composite) = (char) 'X'; /* offset composite is a composite */
/* DO NOT COMPILE FOR TEST !!!
fprintf(stdout, "\n%d\n", 2);
for(prime = 3; prime < (MAX_PRIME_AREA + 1); prime += 2)
if ( *(sieve_array + prime) == 'P' )
fprintf(stdout, "%d\n", prime);
free(sieve_array);
return 0;
/* End of Sieve of Eratosthenes */The average execution times on the same machine on OEL-4.5 and OEL-5 are:
MAX_PRIME_AREA Mode OEL-4.5 OEL-5
real 0m9.196s 0m10.531s
100000 user 0m9.189s 0m10.478s
sys 0m0.002s 0m0.010s
real 0m20.264s 0m21.532s
200000 user 0m20.233s 0m21.490s
sys 0m0.020s 0m0.025s
real 0m30.722s 0m33.502s
300000 user 0m30.684s 0m33.456s
sys 0m0.024s 0m0.032s
real 1m10.163s 1m15.215s
400000 user 1m10.087s 1m14.704s
sys 0m0.075s 0m0.079s
---------------------------------------------------------Does this ring a bell with anyone? Any clue why?
N.J.An hour? Hard to believe or is your hardware that
old?An hour? That's a super good time for 3 kernel
packages (i686, xen and PAE) with all modules, plus 3
kernel-devel packages, plus debuginfo package of
150-580 MB where smart people at Red Hat decided to
put uncompressed vmlinux image which is necessary for
kernel profiling and debugging. Ah, I had a different kernel make process in mind.
Oracle doesn't ship
debuginfo package. Of course, this is when I build a
"complete suite" of kernel rpm packages using
unmodified spec file. And, to be honest, it takes
much more than an hour, maybe even two hours. Another
thing is compiling single i686 kernel without
building a package. But it also takes at least half
an hour. Anyway the time significantly depends on how
many modules are selected to be built in.That what I was looking for.
What's your time to build a single kernel (which
version?) with default set of modules ? On which
hardware ? I've only access to a root server right now, which is
cat /proc/cpuinfo | grep "model name"
model name : AMD Athlon(tm) 64 Processor 3700+with about 2GB of RAM
free -m
total used free shared buffers cached
Mem: 2024 1957 67 0 368 1291
-/+ buffers/cache: 297 1727
Swap: 3827 24 3803under
uname -a
Linux base 2.6.22-gentoo-r5 #5 PREEMPT Mon Sep 10 22:32:37 CEST 2007 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/LinuxThis is what i did
cd /usr/src/linux
make clean
time nice -n 19 genkernel --lvm2 --makeopts="-j2" --oldconfig all
* Running with options: --lvm2 --makeopts=-j2 --oldconfig all
* Linux Kernel 2.6.22-gentoo-r5 for x86...*
mount: /boot mounted successfully!
* config: >> Running oldconfig...
* config: --no-clean is enabled; leaving the .config alone.
* >> Compiling 2.6.22-gentoo-r5 bzImage...
* >> Compiling 2.6.22-gentoo-r5 modules......
real 17m30.582s
user 16m8.480s
sys 1m9.000sWhat could helped here was that I've switched off some modules and (maybe) the use of ccache.
C. -
I compiled the whole kernel package for OEL5.7.
But on installing the RPM, I get this error:
rpm -vih /usr/src/redhat/RPMS/x86_64/kernel-uek-2.6.32-200.20.1uek.x86_64.rpm
error: Failed dependencies:
kernel-firmware >= 2.6.32-200.20.1uek is needed by
kernel-uek-2.6.32-200.20.1uek.x86_64
Yet I see no kernel-firmware package that was compiled into an RPM
as part of this. I compiled using:
rpmbuild -ba --target x86_64 kernel-uek.rpm
Any ideas? How do I get and compile the kernel-firmware package?
Thanks in advance.user754933 wrote:
I know very well how to compile it, so does anyone know where I can
obtain the source for the kernel-uek-firmware for kernel-uek-2.6.32-200.20.1 ?The source for the firmware is contained with the same kernel src you've already downloaded, however it's compiled separately. You need to enable it in the .spec file for the UEK build:
# kernel-firmware
%define with_firmware 0Switch that to 1 and rebuild the kernel RPM from the .spec file. -
The beginning of RPM-hell on VM Server [SOLVED]
Check this README regarding the Hypervisor patch:
http://download.oracle.com/otn_software/virtualization/Hypervisor_README
Right. Downloaded the two mentioned files plus an extra "xen-tools" , tried to install as stated in the above readme and this shows up:
# rpm -Uv xen-3.1.1-0.0.36.el5.i386.rpm xen-64-3.1.1-0.0.36.el5.noarch.rpm
warning: xen-3.1.1-0.0.36.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
xen-tools = 3.1.1-0.0.36.el5 is needed by xen-3.1.1-0.0.36.el5.i386
xen-tools = 3.1.1-0.0.36.el5 is needed by xen-64-3.1.1-0.0.36.el5.noarchAh, but xen-tools-3.1.1-0.0.36.el5.i386.rpm was provided also, so let's install it:
# rpm -Uv xen-tools-3.1.1-0.0.36.el5.i386.rpm
warning: xen-tools-3.1.1-0.0.36.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: Failed dependencies:
xen-tools = 3.1.1-0.0.35.el5 is needed by (installed) xen-devel-3.1.1-0.0.35.el5.i386
xen-tools = 3.1.1-0.0.35.el5 is needed by (installed) xen-3.1.1-0.0.35.el5.i386
xen-tools = 3.1.1-0.0.35.el5 is needed by (installed) xen-64-3.1.1-0.0.35.el5.noarchEhr... anyone found an update for xen-devel-3.1.1-0.0.35 to work with these RPM's..?!
Please Oracle, be a little more straight in providing the right RPM's (unless I'm overlooking something completely). This update is useless so far...
Am I the first to bump into this issue?
Message was edited by:
hbokho
Missing RPM xen-devel was added to Oracle downloads.The current version is very buggy. Hopefully Oracle will release new version or patches.
My notes:
1) VM has gone craizy and shows initializing..., for 4 days already, cannot delete it, cannot delete server nor cannot delete server pool :)
2) Use case: Power on to VM, initializing..., restarted VM server and now it's not possible to stop server pool, delete server pool and also not possible to delete or shut down virutal machine that is still initializing. So only solution I found is to reinstall server.
3) Power on VM and VM got the status Running, Power OFF vm, Power ON and no more able to power up. Shows only initializing
Message was edited by:
JustC
Message was edited by:
JustC
null
Maybe you are looking for
-
IE 8 will not display a PDF xp sp3
Adobe reader worked fine till I was forced to reinstall IE8 on my xp sp3 machine. Now it will not open a pdf on the web, however Fire Fox using the same adobe reader has no problems on the same website. Tried all the "manage add on ideas, nothing. ge
-
Sync iCal: MacBook Air, iPad and iPhone5?
How do I sync my iCal across these devices? I am on iCloud and I thought they would sync automatically. Very frustrating!
-
So I just managed to install Leopard on my MacBook. It required erasing everything first, so I backed up all of my documents and Tiger apps on my 500 GB Lacie Drive. Now I'm wondering what to keep. Some things are obsolete (they come with Leopard or
-
Why do you need an iPad?
How does an iPad serve your needs compared to say, a macbook air, or something similar (ie. another small netbook or laptop) ? The reason I ask is because as I have started using my iPad, I am realizeing some magor deficiencies such as inability to w
-
Excel Toolkit GOOP Stopped Working
I spent the better part of a day searching the forums for a solution, and I am a bit stuck. I wrote a program some time ago where I would open a chosen Excel file, then read measurements from a multimeter, then drop those values in the active cell. T