Activity log for bug #1933532

Date Who What changed Old value New value Message
2021-06-24 18:06:22 Karsten Necke bug added bug
2021-06-25 08:33:45 Juerg Haefliger nominated for series Ubuntu Focal
2021-06-25 08:33:45 Juerg Haefliger bug task added linux-raspi-5.4 (Ubuntu Focal)
2021-06-25 08:34:28 Juerg Haefliger affects linux-raspi-5.4 (Ubuntu) linux-raspi (Ubuntu)
2021-10-17 20:59:36 Launchpad Janitor linux-raspi (Ubuntu): status New Confirmed
2021-10-17 20:59:36 Launchpad Janitor linux-raspi (Ubuntu Focal): status New Confirmed
2022-01-20 14:42:31 Juerg Haefliger marked as duplicate 1933627
2022-01-20 16:30:15 Juerg Haefliger removed duplicate marker 1933627
2022-01-20 16:30:20 Juerg Haefliger linux-raspi (Ubuntu): status Confirmed Invalid
2022-01-20 16:30:25 Juerg Haefliger linux-raspi (Ubuntu Focal): status Confirmed In Progress
2022-01-20 16:30:28 Juerg Haefliger linux-raspi (Ubuntu Focal): assignee Juerg Haefliger (juergh)
2022-01-20 16:34:00 Juerg Haefliger description It appears that large page support and transparent hugepages are disabled in config on the Raspberry Pi. It would be nice if they were enabled in the kernel configuration, even if they are disabled by default. Then they could be set in user-editable config via the "transparent_hugepage" boot option. With 4GB hardware in this family, there might be valid uses for large pages. root@ubuntu:/home/ubuntu# hugeadm --explain hugeadm:ERROR: kernel does not support huge pages root@ubuntu:/home/ubuntu# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal root@ubuntu:/home/ubuntu# uname -a Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi CONFIG_SYS_SUPPORTS_HUGETLBFS=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_HAVE_ARCH_HUGE_VMAP=y # CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_HUGETLBFS is not set [ Impact ] It appears that large page support and transparent hugepages are disabled in config on the Raspberry Pi. It would be nice if they were enabled in the kernel configuration, even if they are disabled by default. Then they could be set in user-editable config via the "transparent_hugepage" boot option. With 4GB hardware in this family, there might be valid uses for large pages. root@ubuntu:/home/ubuntu# hugeadm --explain hugeadm:ERROR: kernel does not support huge pages root@ubuntu:/home/ubuntu# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal root@ubuntu:/home/ubuntu# uname -a Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:14:11 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux root@ubuntu:/home/ubuntu# grep -i huge /boot/config-5.4.0-1038-raspi CONFIG_SYS_SUPPORTS_HUGETLBFS=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_HAVE_ARCH_HUGE_VMAP=y # CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_HUGETLBFS is not set [ Test Case ] See above: [ Fix ] Enable HUGETLBFS and TRANSPARENT_HUGEPAGE to match the master kernel and hirsure and later raspi kernels. [ Where Problems Could Occur ] Thess configs enable code that is disabled by default. However, there is minimal stub code running at boot so problems would most likely show up as splats during boot or later on when hugetlbfs is explicitly mounted by systemd.
2022-01-25 11:57:57 Juerg Haefliger linux-raspi (Ubuntu Focal): status In Progress Fix Committed
2022-02-16 08:22:05 Ubuntu Kernel Bot tags verification-needed-focal
2022-02-19 14:20:00 Karsten Necke tags verification-needed-focal verification-done-focal
2022-03-03 08:58:05 Launchpad Janitor linux-raspi (Ubuntu Focal): status Fix Committed Fix Released
2022-03-03 08:58:05 Launchpad Janitor cve linked 2021-4083
2022-03-03 08:58:05 Launchpad Janitor cve linked 2021-4155
2022-03-03 08:58:05 Launchpad Janitor cve linked 2022-0330
2022-03-03 08:58:05 Launchpad Janitor cve linked 2022-22942