Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2024 00:04:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ppc@FreeBSD.org
Subject:   [Bug 277097] FreeBSD fails to boot on PowerNV with current Petitboot revisions
Message-ID:  <bug-277097-21-0N0jSTNr2O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277097-21@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277097-21@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277097

--- 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/6b0130b3c1ea489e061cda280=
5e6f8b68dc96a76/kexec.c#L798

The original kexec_load() function:

https://github.com/antonblanchard/kexec-lite/blob/6b0130b3c1ea489e061cda280=
5e6f8b68dc96a76/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 d=
on'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/666c8464fd8e0ab2bc6f80a=
ed393c97445b9a479

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277097-21-0N0jSTNr2O>