Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2026 17:23:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ppc@FreeBSD.org
Subject:   [Bug 292341] 15 / 16 doesn't boot on a G5 apple ppc64, doesn't boot in qemu either!
Message-ID:  <bug-292341-21@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292341

            Bug ID: 292341
           Summary: 15 / 16 doesn't boot on a G5 apple ppc64, doesn't boot
                    in qemu either!
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: powerpc
          Assignee: ppc@FreeBSD.org
          Reporter: adrian@freebsd.org

I can't boot 15 or 16 on a G5 apple, but I can boot 12, 13 and 14.
(Well, "boot", but it makes it to the loader and kernel.)

It's easily reproducible with qemu, so you don't need hardware to reproduce/fix
this!

my config:

```
#!/bin/sh

# PPC970 (G5) mac emulation testing

# TODO: this thread has some info about their ppc64 SMP tinkering
# https://forums.macrumors.com/threads/smp-for-qemu-syetem-ppc64-wip.2450008/

# It would be nice to see SMP support for 970mp on mac99 and then
# use it for regression testing on FreeBSD!

# Booting cdrom:
#
# boot cd:,\\:tbxi

#       -hda drive-1.raw \
#
#       -drive id=drive1,file=drive-1.raw,if=none -device
virtio-blk-pci,drive=drive1 \
#       -cdrom
../iso/FreeBSD-16.0-CURRENT-powerpc-powerpc64-20251222-nullhash-nullcount-disc1.iso
\
#       -netdev tap,ifname=tap0,script=no,id=net0 -device
virtio-net-pci,netdev=net0,mac=00:08:01:12:00:01

#       -drive
file=../iso/FreeBSD-16.0-CURRENT-powerpc-powerpc64-20251222-nullhash-nullcount-disc1.iso,format=raw,media=cdrom,read
only=on,index=2
#       -drive
file=../iso/FreeBSD-14.3-RELEASE-powerpc-powerpc64-bootonly.iso,format=raw,media=cdrom,readonly=on,index=2

qemu-system-ppc64 \
        -machine mac99,via=pmu \
        -cpu 970fx \
        -smp 1 \
        -drive file=wd0.img,format=raw,media=disk,snapshot=on \
        -drive
file=../iso/FreeBSD-15.0-STABLE-powerpc-powerpc64-20260101-785d429c2b93-281645-bootonly.iso,format=raw,media=cdrom,r
eadonly=on,index=2
```

to reproduce:

* fetch the above iso images so you can test 14, 15, 16
* truncate -s 1G wd0.img
* ./run.sh
* at the openfirmware prompt, do "boot cd:,\\:tbxi"

It works for 14 (and 13, and 12) but not 15 or 16 - it spits out this

"No valid state has been set by load or init-program"

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

home | help

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