mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-25 17:24:07 +00:00
3fcc781fdd
The ubuntu-26.04-ppc64el diskless node never starts its kernel. SLOF reports W3411 and E3406 and falls through to disk. The node fetches the kernel and the initrd in under a minute and fails six minutes later, with no network activity in between: grub2 has the payload and cannot start it. genimage copies the whole lib/firmware tree of the root image into the initrd. That tree is 666 MB on Ubuntu 26.04, which takes the initrd to 719 MB. A 687 MB initrd boots the same kernel on the same node; a 719 MB one does not. The firmware copy now takes only the firmware that the drivers in the initrd ask for, which modinfo reports for each module. The root image keeps its whole tree, so the node that boots is unchanged. ubuntu_genimage_initrd_firmware.t drives the firmware step over a root image whose firmware tree holds files no driver asks for. It fails on the previous commit. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>