Subject: re: SMP success
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 01/06/2003 18:04:47
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
fdc0 at obio0 slot 0 offset 0x700000 level 11
Watchdog Reset
<#0>
what normally comes after this point of the probe? from the <#0> prompt
(note: that "#0" means cpu0 - if it crashed a different cpu may get to
the prom...) at this point type 'ctrace'. that will give you a stack
trace that you can use, eg, gdb to match up addresses with functions to
find out where it was where it crashed. you can also use '.registers'
to view the current set of global registers and 'N .window' to view the
N'th away set of window registers (in, out's & locals). eg:
<#0> ok ctrace
PC: ffd3e620
Last leaf: call ffd3e710 from ffd4e4a0
0 w %o0-%o5: ( 0 8 ffeef000 80 ffef200c ffef2010 )
call ffd509c0 from ffd3e31c
1 w %o0-%o5: ( ffef6f78 0 85e000 ffd3e2dc 0 8 )
jmpl ffd3e600 from 389464
2 w %o0-%o5: ( ffef6f78 0 85e000 0 0 85e000 )
jmpl 389440 from 3883e8
3 w %o0-%o5: ( ffef6f78 0 85e000 389440 0 85e000 )
jmpl ffd3e600 from 38b574
4 w %o0-%o5: ( 396400 1 42f0 2000 39a338 39831c )
call 38b464 from 38bbc4
5 w %o0-%o5: ( 3981a8 387ce4 387ce0 387d1c 38bb38 d00 )
jmpl 38bb38 from 38ff58
6 w %o0-%o5: ( 0 1a3f88 d227c 387d54 38bb38 78 )
<#0> ok .registers
%g0 %g1 %g2 %g3 %g4 %g5 %g6 %g7
0 0 ffd3e600 ffef0000 0 ffd71434 ffefef1c ffefebd0
PC nPC Y PSR WIM TBR
ffd3e620 ffd3e624 0 40401be2 1 ffeff1e0
<#0> ok 0 .window
0 1 2 3 4 5 6 7
IN: ffef6f78 0 85e000 ffd3e2dc 0 8 387ae0 ffd3e31c
LOC: 20 ffd712e0 1cfa7b30 a 1cfafa14 a a e00
OUT: 0 8 ffeef000 80 ffef200c ffef2010 387a78 ffd4e4a0
<#0> ok 1 .window
0 1 2 3 4 5 6 7
IN: ffef6f78 0 85e000 0 0 85e000 387b40 389464
LOC: 10 ffd4d360 b000 ffd51338 ffecb001 39a339 fffffff8 8000000
OUT: ffef6f78 0 85e000 ffd3e2dc 0 8 387ae0 ffd3e31c
<#0> ok