Port-macppc archive

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

Re: Issues with NetBSD 8.1 macppc



Hi,
I tried to boot without "via=pmu" option. Still Kernel panic on boot. 
The message "oea_startup: failed to allocate DEAD ZONE: error=12" does shows up when booting on NetBSD 8.0 but it does not seems to affect the booting process.

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,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.12 (Tue Jul 17 14:59:51 UTC 2018)
open /netbsd: No such file or directory
open /netbsd.gz: No such file or directory
6075428+127808=0x5eab28
 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 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.0 (INSTALL) #0: Tue Jul 17 14:59:51 UTC 2018
        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.
bootpath: /pci@f2000000/mac-io@c/ata-3@21000/cdrom@0:0/netbsd.macppc
mainbus0 (root)
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 0x809400a4<EMCP,DOZE,DPM,EIEC,SGE,BTIC,BHT>, powersave: 1
cpu0: 0.00 MHz L2 cache present but not enabled

Another point : I tried to boot with NetBSD 8.0 and 8.1 on my ibook g4. Both seems to work fine with real hardware.


On Tue, Oct 8, 2019 at 2:51 PM Mark Cave-Ayland <mark.cave-ayland%ilande.co.uk@localhost> wrote:
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.


Home | Main Index | Thread Index | Old Index