Command : qemu-system-ppc -boot d -M mac99,via=pmu -m 1024 -hda /srv/disk-images/mxqc1-test.img -cdrom /mnt/NetBSD-8.0-macppc.iso -net nic,model=e1000,macaddr=52:54:00:12:34:fa -net bridge,br=br0 -prom-env 'auto-boot?=true' -prom-env 'boot-device=cd:,ofwboot.xcf netbsd.macppc' -nographic>> =============================================================>> OpenBIOS 1.1 [Feb 2 2019 05:05]>> Configuration device id QEMU version 1 machine id 1>> CPUs: 1>> Memory: 1024M>> UUID: 00000000-0000-0000-0000-000000000000>> CPU type PowerPC,G4milliseconds isn't unique.Welcome to OpenBIOS v1.1 built on Feb 2 2019 05:05Trying cd:,ofwboot.xcf...>> switching to new context:>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Tue Jul 17 14:59:51 UTC 2018)open /netbsd: No such file or directoryopen /netbsd.gz: No such file or directory6075428+127808=0x5eab28start=0x100000mem region 0 start=0 size=40000000avail region 0 start=0x1000 size=0x3fff000avail region 1 start=0x4800000 size=0x3b458000avail region 2 start=0x3fe10000 size=0xda000Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,2018 The NetBSD Foundation, Inc. All rights reserved.Copyright (c) 1982, 1986, 1989, 1991, 1993The Regents of the University of California. All rights reserved.NetBSD 8.0 (INSTALL) #0: Tue Jul 17 14:59:51 UTC 2018mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/INSTALLtotal memory = 1024 MBoea_startup: failed to allocate DEAD ZONE: error=12avail memory = 980 MBfound openpic PIC at 80040000OpenPIC Version 1.2: Supports 1 CPUs and 64 interrupt sources.bootpath: /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0/netbsd.macppcmainbus0 (root)cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)cpu0: HID0 0x809400a4<EMCP,DOZE,DPM,EIEC,SGE,BTIC,BHT>, powersave: 1cpu0: 0.00 MHz L2 cache present but not enabled
On 08/10/2019 07:46, Julien Savard wrote:
> Hi,
> 1) I'm using QEMU emulator version 3.1.1 ( host system is fedora 30)
> 2) Booting with "-nographic" was a pretty good idea :
>
> Started qemu with : qemu-system-ppc -boot d -M mac99,via=pmu -m 1024 -hda
> /srv/disk-images/mxqc1-test.img -cdrom /mnt/NetBSD-8.1-macppc.iso -net
> nic,model=e1000,macaddr=52:54:00:12:34:fa -net bridge,br=br0 -prom-env
> 'auto-boot?=true' -prom-env 'boot-device=cd:,ofwboot.xcf netbsd.macppc' -nographic
>
> >> =============================================================
> >> OpenBIOS 1.1 [Feb 2 2019 05:05]
> >> Configuration device id QEMU version 1 machine id 1
> >> CPUs: 1
> >> Memory: 1024M
> >> UUID: 00000000-0000-0000-0000-000000000000
> >> CPU type PowerPC,G4
> milliseconds isn't unique.
> Welcome to OpenBIOS v1.1 built on Feb 2 2019 05:05
> Trying cd:,ofwboot.xcf...
> >> switching to new context:
>
> >> NetBSD/macppc OpenFirmware Boot, Revision 1.13 (Tue May 14 17:21:59 UTC 2019)
> open /netbsd: No such file or directory
> open /netbsd.gz: No such file or directory
> 6081892+127872=0x5ec4a8
> start=0x100000
> mem region 0 start=0 size=40000000
> avail region 0 start=0x1000 size=0x3fff000
> avail region 1 start=0x4800000 size=0x3b458000
> avail region 2 start=0x3fe10000 size=0xda000
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
> 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
> 2018, 2019 The NetBSD Foundation, Inc. All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>
> NetBSD 8.1_RC1 (INSTALL) #0: Tue May 14 17:21:59 UTC 2019
> mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/INSTALL
> total memory = 1024 MB
> oea_startup: failed to allocate DEAD ZONE: error=12
> avail memory = 980 MB
> found openpic PIC at 80040000
> OpenPIC Version 1.2: Supports 1 CPUs and 64 interrupt sources.
> trap: pid 0.0 (): kernel PGM trap @ 0 (SRR1=0x83030)
> panic: trap
> trap: pid 0.0 (): kernel PGM trap @ 0x6bada4 (SRR1=0x89032)
> Skipping crash dump on recursive panic
> panic: trap
> rebooting
>
> EXITtrap: pid 0.0 (): kernel PGM trap @ 0 (SRR1=0x83030)
> Skipping crash dump on recursive panic
> panic: trap
> rebooting
>
> EXITtrap: pid 0.0 (): kernel PGM trap @ 0 (SRR1=0x83030)
> Skipping crash dump on recursive panic
> panic: trap
> rebooting
>
> EXITtrap: pid 0.0 (): kernel PGM trap @ 0 (SRR1=0x83030)
> Skipping crash dump on recursive panic
> panic: trap
> rebooting
>
>
> And so on...
>
> Not sure it is related to RC1 kernel but if you plan to replace the iso with "stable"
> 8.1 keep me posted,
I haven't been following NetBSD development too closely, however the "oea_startup:
failed to allocate DEAD ZONE: error=12" message looks slightly suspicious - does that
appear when booting 8.0 in the same way? And are you able to boot if you remove the
"via=pmu" machine option?
ATB,
Mark.