[Bug 277097] FreeBSD fails to boot on PowerNV with current Petitboot revisions
Date: Sun, 18 Feb 2024 00:04:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277097 --- Comment #5 from Timothy Pearson <tpearson@raptorengineering.com> --- (In reply to Justin Hibbits from comment #4) kexec_file_load() appears to hand all the parsing off to the Linux kernel: https://github.com/antonblanchard/kexec-lite/blob/6b0130b3c1ea489e061cda2805e6f8b68dc96a76/kexec.c#L798 The original kexec_load() function: https://github.com/antonblanchard/kexec-lite/blob/6b0130b3c1ea489e061cda2805e6f8b68dc96a76/kexec.c#L157 Either the Linux kernel is also parsing the ELF wrong (which is entirely possible!) or FreeBSD isn't 100% in compliance with the specification. I don't know which one it is but would suspect that the same bug that was present in kexec-lite [1] could easily be present in the Linux kernel somewhere... [1] https://github.com/antonblanchard/kexec-lite/commit/666c8464fd8e0ab2bc6f80aed393c97445b9a479 -- You are receiving this mail because: You are the assignee for the bug.