The "2nd" assert that we always ran into was due to bootloader mappings still being active after VM init. Turns out we missed a call in the architecture specific code for cleaning this up.
Many thanks to Ingo for spending the time to figure this out!
a17ff82 ARM: make sure we cleanup after the bootloader
src/system/kernel/arch/arm/arch_vm.cpp | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Upstream: cgit.haiku-os.org