DingXuan
By:
DingXuan

CentOS6: why i can't update to kernel-2.6.32-642.6.2.el6.x86_64 ?

November 2, 2016 300 views
System Tools CentOS

uname -r

2.6.32-504.12.2.el6.x86_64

rpm -qa |grep kernel

kernel-2.6.32-504.12.2.el6.x8664
kernel-2.6.32-642.3.1.el6.x86
64
kernel-2.6.32-642.4.2.el6.x8664
kernel-2.6.32-642.6.1.el6.x86
64
kernel-firmware-2.6.32-642.6.2.el6.noarch
kernel-headers-2.6.32-642.6.2.el6.x8664
kernel-2.6.32-642.6.2.el6.x86
64
dracut-kernel-004-409.el6_8.2.noarch

yum update is working everyday. According to log, new kernel has been already installed.
but after reboot, my OS still use 2.6.32-504.12.2.

Is there anything I can do? Does it mean that server isn't compatible with new kernel?

3 Answers
xMudrii November 2, 2016
Accepted Answer

Did you switched to internally managed kernel? If not, this could make a problem, as for older Droplet, it was managed from Control Panel.
Look at tutorial and if this is the case, follow it and try to update again.

by Adam LaGreca
Updating the kernel on your DigitalOcean Droplet is a straight forward process that differs slightly based on the Droplet's operating system. In this guide, we'll walk you through the process of updating your kernels for DigitalOcean Droplets.
  • Thanks for reply!
    I just found out I should set kernel from control panel too.
    but there isn't any new version in the list.
    So it seems that I still can not use the latest kernel.

    Due to the latest kernel bug "dirty COW", digital ocean team need to update system asap.

    • It's updated and there is tutorial how to fix it.
      How To Protect Your Server Against the Dirty COW Linux Vulnerability will show you how to do it.
      But before following it you need to change Kernel from Control Panel to DigitalOcean GrubLoader. After you select it from drop down menu click on Change button. When it finish power off Droplet (power off is required!) and you can follow "dirty COW" tutorial. The steps needed to change kernel is from tutorial I linked in first answer - How To Update a DigitalOcean Server's Kernel. It is required before you follow "dirty COW" one.

      by Adam LaGreca
      Updating the kernel on your DigitalOcean Droplet is a straight forward process that differs slightly based on the Droplet's operating system. In this guide, we'll walk you through the process of updating your kernels for DigitalOcean Droplets.

Thank you so much xMudrll.
Your info is very helpful!!!

Have another answer? Share your knowledge.