15

As i have seen many changes and improvement in kernel 3.xx

The improvement i like is dmcache which introduced in kernel 3.9

I have 3 server with centos installed on all machine

Centos is still using old kernel which is 2.6.xx

I'm wondering why they are not upgrading kernel?

Resources

4 Answers4

20

CentOS 6 is based on RHEL 6, which was released in 2010. Within a major release, the goal is compatibility and not introducing breaking changes as the target audience is enterprises that value stability over features. As you can see from the version history, they don't introduce new kernel versions within a major release (but some fixes are backported), so it's likely RHEL 6/CentOS 6 will stay on 2.6.32 (a stable kernel version).

To get a newer kernel, you'll have to wait for RHEL 7/CentOS 7 and upgrade. It will include kernel 3.10 (another stable kernel release).

Since Red Hat supports each release for 10 years (or 13 with extended support, e.g. RHEL 6 until 2023), it's no surprise they don't release a new major version every year.

Daniel Beck
  • 111,893
1

There may be a disconnect here.

CentOS, like any enterprise linux, is geared toward stability and, importantly, compatibility throughout the major release (review Semantic Versioning).

In order to maintain compatibility, software released within a given major release will not suddenly be revised to a completely different baseline. In addition to breaking any kind of certification in the upstream distro (RHEL) with ISVs, the nightmares in (in order) testing and then support will create an untenable labour issue for anyone trying to actually support it.

If you need last week's code drop, you may want to consider a project with a release cycle more like a mayfly and less like infrastructure. Your upstream and downstream support will change dramatically, and consistently delivering a product may become a moving target, but this may be a great experience. Maybe look at this month's Fedora, or whichever mubuntian deriv is fashionable.

EL8 will of course have a newer kernel, and you may want to use Fedora in your test environment so that you can properly release on EL8 when Fedora's promoted to EL.

0

They do appear to have done a newer one last month:

http://vault.centos.org/6.5/xen4/Source/SPackages/kernel-3.10.34-11.el6.centos.alt.src.rpm

Grab it, then:

rpm -ivh kernel-3.10.34-11.el6.centos.alt.src.rpm

rpmbuild -ba ~/rpmbuild/SPECS/kernel.spec

rpm -Uvh ~/rpmbuild/RPMS/x86_64/kernel-*

anon
  • 9
0

It has been the middle of 2015, The version 7 of CentOS has been released for a long time and a major upgrade of Linux kernel -- 4.0 -- was released about two months ago, so I think it's time we keep up with the pace of software development. If CentOS does not want to upgrade the kernel because of steadiness consideration for example, let's do it ourselves!

I'm using CentOS 7 with 3.10.0 kernel. Following the article here, I successfully upgraded my CentOS 7 to the latest 4.0.5 kernel. It works very well on my machine. To simply put, the steps to upgrade the kernel to 4.0.5 on CentOS 7 is:

(1)rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

(2)rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

(3)yum --enablerepo=elrepo-kernel install kernel-ml

(4)reboot

(5) In the boot menu, select 4.0.5 kernel (usually in the 1st line).

After boot, use uname -r to check the new kernel version.

PS: That article also contains ways to upgrade kernel to 4.0.5 on ubuntu.