Today I decided to upgrade the kernel (gentoo-sources) from 4.19.64 to 5.2.6 on my old ThinkPad X220. Apart from a few hiccups, everything went quite smoothly. I already have a blog post about upgrading the kernel on Gentoo, so I’ll skip many things here.

First, ensure the sys-kernel/gentoo-sources-5.2.6 is installed:

# emerge -av =sys-kernel/gentoo-sources-5.26

After the above package installed, we should be able to list it:

~ ❯❯❯ eselect kernel list
Available kernel symlink targets:
  [1]   linux-4.14.63-gentoo-r1
  [2]   linux-4.14.65-gentoo
  [3]   linux-4.14.78-gentoo
  [4]   linux-4.14.83-gentoo
  [5]   linux-4.19.27-gentoo-r1
  [6]   linux-4.19.44-gentoo
  [7]   linux-4.19.52-gentoo
  [8]   linux-4.19.57-gentoo
  [9]   linux-4.19.64-gentoo *
  [10]  linux-5.2.6-gentoo

Let’s select linux-5.2.6-gentoo as the version we’d like to switch to:

~ ❯❯❯ eselect kernel set 10

Follow this blog post to continue with installing a kernel on a Gentoon-based machine.

Now, here is the issues I came across: chronyd not starting. As a result there was a noticeable delay when the computer starts up.

For net-misc/chrony, the issue is with the version 3.3 installed on my machine. There is a bug and it should have been fixed in versoin 3.4. However, I opted to install the latest version available: 3.5.

# emerge -av =net-misc/chrony-3.5

The issue with chrony was fixed on the following reboot.

References: