Subject: Re: 420R fails to boot
To: None <eeh@netbsd.org, kenny@the-b.org>
From: None <eeh@netbsd.org>
List: port-sparc64
Date: 11/05/2001 23:28:40
| Yep.  With the new ofwboot and netbsd (binery build from -current in the
| ftp://ftp.netbsd.org/pub/netbsd/arch/sparc64 directory), it died at
| f0003048.

Hm.  This one is a bit strange...

| >> NetBSD/sparc64 OpenFirmware Boot, Revision
| >> (mrg@powerofseven.eterna.com.au, Sat Aug 19 02:35:03 EST 2000)
| Using BOOTPARAMS protocol: ip address: 10.xx.xx.xx, hostname: netbsdtest
| root addr=10.xx.xx.xx path=/install/netbsd/NetBSD-1.5.2/sparc64/root
| loadfile: reading header
| elf64_exec: Booting /pci@1f,4000/network@1,1/netbsd
| 4794248@0x1000000+153080@0x1800000+512560@0x18255f8
| symbols @ 0xfef86300 74+321936+171403 start=0x1000000
| chain: calling OF_chain(800000, ef18, 1000000, 139b60, 18)
| [ using 494192 bytes of netbsd ELF symbol table ]
| Fast Data Access MMU Miss
| {0} ok .trap-registers
| %TL:1 %TT:68 %TPC:100c8c4 %TnPC:100c8b8
| %TSTATE:1603  %CWP:3
|    %PSTATE:16 AG:0 IE:1 PRIV:1 AM:0 PEF:1 RED:0 MM:0 TLE:0 CLE:0 MG:0 IG:0
|    %ASI:0  %CCR:0  XCC:nzvc   ICC:nzvc

Here the kernel tried to access some address or other and took a data miss
fault.  

|
| %TL:2 %TT:68 %TPC:f0003048 %TnPC:f000304c
| %TSTATE:4458041403  %CWP:3
|    %PSTATE:414 AG:0 IE:0 PRIV:1 AM:0 PEF:1 RED:0 MM:0 TLE:0 CLE:0 MG:1 IG:0
|    %ASI:58  %CCR:44  XCC:nZvc   ICC:nZvc

Since pmap has not been initialized yet, the PROM is supposed to handle it,
but it appears the PROM also took a data miss fault.

The ofwboot.net you are using is from Aug 2000, which is quite old.  Also
the revision number is missing.

The kernel you are using has a data segment >4MB.  The version of ofwboot.net
you have does not support kernels with data segments much larger than 3MB.  You
need a new ofwboot.net.  And if that's a 1.5.x kernel you need to put it on a
diet since it won't handle such a large data segment either.

Eduardo