in the past I use to copy /boot/config.Xxxix file to kernel/.config ; then
"make oldconfigsilent all modules modules_install "
worked most of the time.
Using an old config ensures all the modules used in your last booted kernel gets built the same way.
Kernel compilation on CentOS
Re: Kernel compilation on CentOS
Little bit confused with kernel versions,presently i am having 2.6.32.3,which i am thinking is the updated version of 2.6.32 with some bug fixes
please explain which is the latest kernel.
please explain which is the latest kernel.
Re: Kernel compilation on CentOS
All 2.6.32.X kernel sources will be dated in 2010 which is when that kernel was current. The latest and last 2.6.32 vanilla kernel was 2.6.32-27 from the 9th Dec 2010 which is when maintenance by the linux kernel community stopped for that version. No bug fixes past that time will be in that source and there have been several really important security vulnerabilities since then. You can see the entire release history on https://www.kernel.org/pub/linux/kernel/v2.6/
The latest CentOS supplied 2.6.32 kernel is kernel-2.6.32-696.13.2.el6.x86_64 which rpm -qi says is from "Build Date: Thu 05 Oct 2017 09:53:32 PM UTC". It has fixes right up to the current time. The kernel rpm changelog (rpm -q --changelog kernel-2.6.32-696.13.2.el6.x86_64 | less) has 45,377 lines in it and 41,217 of those are newer than Dec 10th 2010. That's 41 thousand fixes in the CentOS 2.6.32 kernel that are not in the last mainstream 2.6.32 kernel.
The latest CentOS supplied 2.6.32 kernel is kernel-2.6.32-696.13.2.el6.x86_64 which rpm -qi says is from "Build Date: Thu 05 Oct 2017 09:53:32 PM UTC". It has fixes right up to the current time. The kernel rpm changelog (rpm -q --changelog kernel-2.6.32-696.13.2.el6.x86_64 | less) has 45,377 lines in it and 41,217 of those are newer than Dec 10th 2010. That's 41 thousand fixes in the CentOS 2.6.32 kernel that are not in the last mainstream 2.6.32 kernel.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Kernel compilation on CentOS
Thanks for detailed explaination
Re: Kernel compilation on CentOS
Please suggest me kernel version which we can move to from standard kernel repository(https://www.kernel.org),so that it can be compiled both on RHEL 6 and Centos 6.9
Same version of kernel can be run in both RHEL and CentOS systems from standard kernel repository.
Same version of kernel can be run in both RHEL and CentOS systems from standard kernel repository.
Re: Kernel compilation on CentOS
We don't support or recommend use of mainline kernels at all. We recommend use of the kernels we ship - which are the same ones in use by RHEL minus the RH branding.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Kernel compilation on CentOS
The latest precompiled RPM-packaged kernel from the official CentOS repositories.vivekgwd wrote:Please suggest me kernel version
Forget the kernel. Focus on the application. Tear the application apart until it bends to your will. Use baseball bat, white-hot pitchfork or other equivalent high precision instrument to relieve the application from its delusions.
Kernel bows to no application. Applications must submit to kernel's rule.