To access AMX hardware instructions on Intel Sapphire Rapids CPUs you need to be running Linux kernel 5.16 or later. To use many popular hardware drivers you have to run a 5.x series kernel, since many hardware vendors haven't yet built drivers for 6.x kernels. For this reason I'd like to install a 5.19 kernel and get 5.19 kernel updates as they are released.
A few weeks ago the Ubuntu kernel lifecycle page listed the 22.04.2 image as coming with a 5.19 kernel by default. Ubuntu kernel lifecycle page on 2023-08-10:
However, if you install 22.04.2-server you get a 5.15 kernel, not 5.19. If you install the HWE kernel package linux-generic-hwe-22.04
you get a 6.2 kernel, not 5.19.
support@ubuntu22042:~$ uname -a
Linux ubuntu22042 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Today the Ubuntu kernel lifecycle page lists 22.04.3 as coming with a 5.19 kernel by default, and the page removed the listing for 22.04.2 entirely. Ubuntu kernel lifecycle page on 2023-08-16:
However, if you install 22.04.3-server you get a 5.15 kernel, not 5.19:
support@ubuntu22043:~$ uname -a
Linux ubuntu22043 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
If you install the HWE kernel package linux-generic-hwe-22.04
you get a 6.2 kernel.
There is a difference between 22.04.3-server and 22.04.3-desktop. If I install the 22.04.3-desktop ISO I get a 6.2 kernel with a default install:
support@ubuntu220403-desktop:~$ uname -a
Linux ubuntu220403-desktop 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
There are 5.19 kernel packages in the Ubuntu repo for 22.04. I can see them when I run apt-cache search 5.19 | grep generic
. I can even install a specific 5.19 kernel by running:
sudo apt-get install --install-recommends linux-image-5.19.0-46-generic
However, that locks my kernel on 5.19.0-46, and even though 5.19.0-50 is available, apt-get upgrade
won't update the kernel. I won't get patches automatically for 5.19.
What package do I need to install on 22.04.3-server to get a 5.19 kernel, as shown on the Ubuntu kernel lifecycle page, that will continue to get updates and patches for 5.19 as they are released?