NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-macppc/59177: NetBSD/macppc -current fails to boot on qemu



>Number:         59177
>Category:       port-macppc
>Synopsis:       NetBSD/macppc -current fails to boot on qemu
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 14 15:50:00 +0000 2025
>Originator:     Andrew Randrianasulu
>Release:        10.1
>Organization:
n/a
>Environment:
tbsd10 10.1_STABLE NetBSD 10.1_STABLE (GENERIC) #0: Sun Jan 12 12:03:45 UTC 2025  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Tried to build NetBSD from source using this build.sh lines:

 ./build.sh -U -j8 -O ~/obj -m macppc -a powerpc tools
 ./build.sh -U -j8 -O ~/obj -m macppc -a powerpc release
 ./build.sh -U -j8 -O ~/obj -m macppc -a powerpc iso-image

They all report success, but resulting iso fails early in boot process:

netbsd10$ qemu-system-ppc -cdrom ~/obj/releasedir/images/NetBSD-10.99.12-macppc.iso -L /usr/pkg/share/qemu/ -boot d  -prom-env 'boot-device=cd:,ofwboot.xcf /netbsd.macppc -c ' -d guest_errors,unimp -nographic
Invalid write at addr 0x3A5288, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A528C, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A5290, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A5294, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A5298, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A529C, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52A0, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52A4, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52A8, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52AC, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52B0, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52B4, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52B8, size 4, region 'ppc_heathrow.bios', reason: rejected
Invalid write at addr 0x3A52BC, size 4, region 'ppc_heathrow.bios', reason: re
>> =============================================================
>> OpenBIOS 1.1 [Mar 7 2023 22:21]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
milliseconds isn't unique.
Welcome to OpenBIOS v1.1 built on Mar 7 2023 22:21
Trying cd:,ofwboot.xcf...
>> switching to new context:
>> NetBSD/macppc OpenFirmware Boot, Revision 1.15 (Fri Mar 14 14:31:24 UTC 2025)
>> Open Firmware version 3.x
>> Open Firmware running in virtual-mode.
6898956+117828=0x6b1554
 start=0x100000
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 10.99.12 (INSTALL) #10: Fri Mar 14 18:23:55 MSK 2025
[   1.0000000]  guest@netbsd10:/home/guest/obj/sys/arch/macppc/compile/INSTALL
[   1.0000000] total memory = 128 MB
[   1.0000000] avail memory = 107 MB
[   1.0000000] found heathrow PIC at 81080000
[   1.0000000] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000000] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting

EXIT[   1.0000190] trap: kernel read DSI trap @ 0x41a2fedc by 0xfff1059c (DSISR 0x40000000, err=14), lr 0xfff1055c
[   1.0000190] Skipping crash dump on recursive panic
[   1.0000190] panic: trap
[   1.0000190] rebooting


and so on ...
>How-To-Repeat:
Install qemu from pkgsrc

Build -current version of NetBSD/macppc on NetBSD 10.1/amd64

try to boot resulted iso on qemu.
>Fix:



Home | Main Index | Thread Index | Old Index