Public bug reported:

Environment:

Hardware: Raspberry Pi 5 Model B Rev 1.0 (8GB RAM)
Ubuntu Release: Ubuntu 26.04 LTS
Kernel: 7.0.0-1017-raspi (arm64)

Summary:

On Raspberry Pi 5 hardware, the Raspberry Pi bootloader/EEPROM firmware
dynamically prepends hardware-tuning parameters to /proc/cmdline at boot
time, including numa=fake=8 and numa_policy=interleave.

While Raspberry Pi OS's vendor kernel carries a downstream patch adding
fake NUMA support to ARM64 for the BCM2712, Ubuntu's linux-raspi kernel
does not recognise numa=fake=8 on ARM64. Consequently, every boot on a
Raspberry Pi 5 emits an early boot error:

[    0.000000] Malformed early option 'numa'

Steps to reproduce:

flash standard ubu26.04 on raspberry pi5, boot the board and run dmesg

Observed results:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 7.0.0-1017-raspi (buildd@bos03-arm64-107) ...
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] Malformed early option 'numa'

Catting /proc/cmdline

reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe
numa_policy=interleave nvme.max_host_mem_size_mb=0 numa=fake=8
system_heap.max_order=0 iommu_dma_numa_policy=interleave
smsc95xx.macaddr=...

Expected behavior:

(Preferred): The Ubuntu linux-raspi kernel cherry-picks the Raspberry Pi 
Foundation's fake NUMA patch for BCM2712 so memory interleaving works as 
intended on Pi 5.
(Alternative): The numa=fake=X option is handled/ignored cleanly without 
logging an error on official certified hardware.

** Affects: linux-raspi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166421

Title:
  Malformed early option 'numa' passed in numa=fake=8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2166421/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to