PC Linux OS and CentOS 64-bit Kernel Version 4.10.12

Here is the latest version 4.10.12 CK patch enabled 64-bit CentOS and PC Linux OS desktop kernel. This kernel has MuQSS version 0.152 enabled.

This kernel works for me very well. I am not assuring that it will work for you. I am making it available in the hope that it might help someone who is in need of the latest kernel, like I was.

Kernel Image: kernel-4.10.12_ck1-1.x86_64.rpm

SHA256sum: b8dd 60e9 9b06 ae66 2606 2c39 7b47 e84d 515f 02da 30d6 133e 4500 4387 411d 4cee

Kernel Headers: kernel-headers-4.10.12_ck1-1.x86_64.rpm

SHA256 sum: b919 b742 1d54 2e2e 11f9 a3cd b36a 61c2 e98a 2534 2580 4812 c3cb c720 8d24 8822

Kernel Devel: kernel-devel-4.10.12_ck1-1.x86_64.rpm

SHA256 sum: d227 615e 96bc e912 fb21 bf51 3829 9c67 d73e 3f02 5685 e72a 1422 9711 7b58 9fcf

Kernel Source: kernel-4.10.12_ck1-1.src.rpm

SHA256 sum: a76f 07b7 e8fe 8a47 9b2b c390 82dd 4148 eb49 e4ce 3482 3ced ae4b 96e2 7581 b9f4

This kernel has MuQSS enabled as the CPU scheduler.

dmesg | grep MuQSS

[ 0.145027] MuQSS locality CPU 0 to 1: 2

[ 2.896324] MuQSS CPU scheduler v0.152 by Con Kolivas.

This kernel has BFQ as the disk scheduler.

cat /sys/block/sda/queue/scheduler

noop deadline cfq [bfq]

To change the disk scheduler:

  1. Edit /etc/default/grub
  2. Add:

elevator=deadline

to:

GRUB_CMDLINE_LINUX_DEFAULT

For example:

GRUB_CMDLINE_LINUX=”rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet elevator=deadline

(The above line is for the deadline scheduler. Change similarly for cfq and noop, as desired.)

3. Run grub2-mkconfig -o /boot/grub2/grub.cfg to regenerate the grub configuration.

4. Reboot the system.

This kernel has the aufs and ceph modules built-in.

Install using rpm -ivh [file name]

Additional Steps for CentOS 7

**This kernel works on CentOS 7 also. For CentOS 7, run the following 2 commands (as root ) after installing the kernel. These commands generate the boot loader configuration and then set the system to boot from the first entry in the boot loader file.

  • grub2-mkconfig -o /boot/grub2/grub.cfg
  • grub2-set-default 0

**

Note: kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package.

Note: If you are a developer, install the kernel-headers package.

Note: The kernel-devel package provides kernel headers and makefiles sufficient to build modules against the kernel package.

Note: The kernel-devel package is needed only if you need to compile additional kernel modules.

Remove Older Kernels

To remove the older kernel(s) [applicable only to PCLinux OS]:

  1. Run rpm -qa | grep kernel as root. The list of installed kernels is displayed as in the following example:

    kernel-4.10.1_ck1-3

    kernel-4.9.13-pclos1-1-1pclos2017

  2. Delete the old kernels. Here, I am deleting kernel 4.9.13. Run the commands (as root):

rpm -e kernel-4.9.13-pclos1-1-1pclos2017

and then:

apt-get clean all

Note: Substitute the correct kernel entries as appropriate, in the rpm -e command that is mentioned above.

Note: An easier way to remove the old kernel is to open  Synaptic, find the package, and uninstall.

To remove the older kernel(s) [applicable only to CentOS]:

Run yum list installed | grep kernel as root. The output should be similar to the following:

kernel.x86_64     3.10.0-514.10.2.el7 @updates
kernel.x86_64        4.10.6_ck1-2         installed

kernel.x86_64        4.10.5_ck1-1         installed

kernel-devel.x86_64    4.10.6_ck1-2   installed
kernel-headers.x86_64   4.10.6_ck1-2  installed

Here, I am removing 4.10.5_ck1-1.

Run: yum remove 4.10.5_ck1-1

and then:

yum clean all

Note: Substitute the correct kernel entries as appropriate, in the yum remove command that is mentioned above.

Leave a Reply

Your email address will not be published. Required fields are marked *