Ubuntu and Debian Linux Desktop Kernels Version 4.10.10

Here are the latest version 4.10.10 CK patch enabled 32 and 64-bit Ubuntu and Debian Linux desktop kernels. These kernels have MuQSS version 0.152 enabled. aufs and ceph are built-in.

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

64-bit Kernel

Note: Docker should run fine on the 64-bit kernel. It does for me:-)

Kernel Image: linux-image-4.10.10-ck1_1_amd64.deb

SHA256sum: fa6a b9fb d462 8667 4468 7414 6f5d 5774 d39f a922 0c81 2ce6 5df5 0c4b 4181 615a

Kernel Headers: linux-headers-4.10.10-ck1_1_amd64.deb

SHA256 sum: 20df 987b 5128 b47a 692f 4552 e395 5d7c 13dc ae0d e006 725c 935d 9229 f2a6 26ce

32-bit Kernel

The 32-bit kernels are under compilation. Will post the new ones later.

Kernel Image: linux-image-4.10.10-ck1_1_i386.deb

SHA256sum: 2878 3d1f 3095 dee8 9c41 9527 6021 bbe1 f980 9e7c 020d 9a6f 7a74 df5d cd11 ab6d

Kernel Headers: linux-headers-4.10.10-ck1_1_i386.deb

SHA256 sum: 9137 892c 34ef d852 1afd 6dcb 1c19 4da7 ceca 23e5 06e3 a157 792b 0e7b ba46 2329

These kernels have MuQSS enabled as the CPU scheduler.

dmesg | grep MuQSS

[ 0.176311] MuQSS locality CPU 0 to 1: 2

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

These kernels have 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. Change:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash elevator=deadline"

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

3. Run update-grub2 to regenerate the grub configuration.

4. Reboot the system.

Install the kernel using dpkg -i [file name]

Note: The header package is needed only if you need to compile additional kernel modules, or if you are setting up a developer system.

Enable AppArmor

To enable AppArmor, run the following commands as root:

#Enable AppArmor

perl -pi -e 's,GRUB_CMDLINE_LINUX="(.*)"$,GRUB_CMDLINE_LINUX=" $1 apparmor=1 security=apparmor",' /etc/default/grub

#Regenerate Grub Boot Loader

update-grub

#Reboot System

shutdown -r now

Once the system reboots, check whether AppArmor is loaded. Run (as root)

apparmor_status

The output should be similar to:

apparmor module is loaded.

12 profiles are loaded.

12 profiles are in enforce mode.

/sbin/dhclient

/usr/bin/lxc-start

….

Remove Older Kernels

To remove the older kernel(s):

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

    ii linux-image-4.9.6-ck1-md 4.9.6-ck1-md-10.00.Custom amd64 Linux kernel binary image for version 4.9.6-ck1-md

    ii linux-image-4.9.7-ck1-md 4.9.7-ck1-md-10.00.Custom amd64 Linux kernel binary image for version 4.9.7-ck1-md

    ii linux-image-4.9.8-ck1-md 4.9.8-ck1-md-10.00.Custom amd64 Linux kernel binary image for version 4.9.8-ck1-md

    ii rsyslog

  2. Delete the old kernels. Here, I am deleting kernels 4.9.6 and 4.9.7. Run the commands (as root):

apt-get remove --purge linux-image-4.9.6-ck1-md linux-image-4.9.7-ck1-md

and then:

apt-get clean all

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

Leave a Reply

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