Re: git: ba94d7574972 - main - stand/common/load_elf: Do kernel module relocations for PPC

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Tue, 28 Apr 2026 21:54:49 UTC
On Tue, 28 Apr 2026 at 14:45, Adrian Chadd <adrian@freebsd.org> wrote:
>
> hi,
>
> This somehow breaks booting in pseries VMs in virtualised ppc64 on
> qemu, both ppc64be and ppc64le.
> The loader gets through a bunch of kernel loading and then hangs
> before it jumps into the kernel.
>

I've committed some remote gdb sins to figure out where the CPU is in the loader
binary, and it looks like it's in load_elf.c : elf64_reloc_ptr .



-adrian