Subject: Re: e450 issue
To: NetBSD Port Sparc64 <port-sparc64@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: port-sparc64
Date: 06/02/2004 11:52:29
> From: Eduardo Horvath <eeh@NetBSD.org>
> Date: Wed, 2 Jun 2004 15:45:17 +0000
> To: Peter Eisch <peter@boku.net>
> Cc: NetBSD Port Sparc64 <port-sparc64@netbsd.org>
> Subject: Re: e450 issue
>
> I'm happy that worked. At some point someone should spend some time trying
> to determine exactly why test-method fails on those machines. Hm... I wonder
> if the test_method() check is inverted... What happens if you do:
>
> 527c527
> < if (OF_test_method(memh, "SUNW,retain") != 0) {
> ---
>> if (OF_test_method(memh, "SUNW,retain") == 0) {
>
It croaks right there. I can't tell if it quits at line 526 or 527, but
regardless it looks like something isn't where its expected.
...
main: Calling loadfile(fd, /pci@1f,4000/network@1,1/netbsd -d)
loadfile: reading header
elf64_exec: Booting /pci@1f,4000/network@1,1/netbsd
5199280@0x1000000+174672@0x1800000+4019632@0x182aa50
start=0x1000000
chain: calling OF_chain(800000, cbb8, 1000000, fff7fa80, 18)
Type 'go' to resume
{0} ok go
OF_chain: prom returned!
Calling entry(0, 0xfff7fa80, 18, f0075a4c, f0075a4c)
Data Access Exception
{0} ok ctrace
PC: 11b84e0
Last leaf: jmpl 1000002 from 122a444
0 w %o0-%o5: (14aae78 80c000 1000000 fff7fa80 18 18 )
call 122a310 from 122b060
1 w %o0-%o5: (64 5 0 feff2440 fff7fb70 fff7f648 )
call 122afdc from 122aa70
2 w %o0-%o5: (14b5700 5 0 0 0 1 )
call 122aa34 from 1229fac
3 w %o0-%o5: (14b5700 80c000 d f f0075a4c d )
call 1229f20 from 1340400
4 w %o0-%o5: (14e5488 fff7f72f 1 6 f0075a4c fff7f74c )
call 13403cc from 1340e7c
5 w %o0-%o5: (a 0 10 fff7f8d8 f0075a4c fff7f0cc )
call 1340a34 from 1341074
6 w %o0-%o5: (8009dc 14a6400 1821668 4 f0075a4c fff7f0cc )
call 1341070 from 100a2a4
7 w %o0-%o5: (2000 10 2000 33312031343a3034 182aa50 1000000 )
call 80042c OF_chain from 800e54 chain+e8
8 w %o0-%o5: (800000 80c000 1000000 fff7fa80 18 18 )
call 800d6c chain from 801000 loadfile+188
9 w %o0-%o5: (1000000 fff7fa80 feff2000 feff2440 fff7fb70 80c400 )
call 800e78 loadfile from 802010 main+284
a w %o0-%o5: (0 fff7fc80 0 200 0 0 )
call 801d8c main from 80004c
b w %o0-%o5: (0 0 0 0 0 80c400 )
XXXXXXX from 0
c w %o0-%o5: (0 0 0 0 f0075a4c 0 )
{0} ok