RHEL 6 Kernel Upgrade
RHEL 6 Kernel Building Procedures
(using RHEL 6 and 2.6.38.3 kernel):
Ensure the following packages are installed and up to date:
autoconf
automake
bison
byacc
flex
gcc
gcc-c++
gettext
libpciaccess
libpciaccess-devel (this by default is not installed)
libstdc++ (for x86_64 systems)
libtool
make
ncurses-devel
patch
rpm-build
1. Get the latest kernel source from www.kernel.org
I used 2.6.38.3
2. Unpack:
# bunzip2 linux-2.6.38*.tar.bz2
# tar xvf linux-2.6.38*.tar
3 Go to to its directory:
# cd linux-2.6.38*
4 configure:
# make menuconfig
Select requred device drivers:
Example:
Device Drivers -> Network device support -> Ethernet (10000 Mbit)
Intel(R) 10GbE PCI Express adapters support
5. Save the new kernel configuration
6. Compile (-j 8 for 4 core CPU):
make -j 8 && make -j 8 modules_install && make install
7. Reboot system to new the kernel
GSO, thanks for the tip.
Instead of ‘make menuconfig’, copy the .config file from the previous kernel source into the new build directory and ‘make oldconfig’, this will prompt only for new features.