Re: booting powerpc64le under qemu

Lexi Winter <[email protected]> Sat, 20 Sep 2025 20:13:12 +0100
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>
Justin Hibbits wrote in <[email protected]>:
> Interesting news:  I tested 02a8fadd2c (August 19 snapshot at the link
> above), and the bootonly.iso crashed the same way as you posted.
> However, I tested the qcow2 VM image, from
> https://artifact.ci.freebsd.org/snapshot/15.0-CURRENT/02a8fadd2c4dc4b78d6d93d9d8b70e9348a6de6d/powerpc/powerpc64le/
> and the VM image booted successfully.  I don't know if that helps you
> narrow down anything.

i mounted my disc1.iso and loaded /boot/kernel/kernel directly with
qemu's -kernel flag, and this boots fine:

  Welcome to Open Firmware

  Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
  This program and the accompanying materials are made available
  under the terms of the BSD License available at
  http://www.opensource.org/licenses/bsd-license.php

Booting from memory...

 NOT FOUNDGDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2025 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 16.0-CURRENT #0: Sat Sep 20 06:16:11 BST 2025
    [email protected]:/build/obj/bsd/src/bsd/dev/powerpc.powerpc64le/sys/GENERIC64LE powerpc

this makes me wonder if there's something wrong with how we're building
the ISO image itself, which would explain why the VM image works.
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaM78xQAKCRD1nT63mIK/
YK3oAQCEZGBjdIf7Azkia+E8lx2gyzY/3FObcif2u1Ia0n6HaAD+PJOlTqEteen7
F0oS06GM1ZQTaMYjfua3Fu9qH1B4JQI=
=DsVI
-----END PGP SIGNATURE-----