[rescue] SPARCstation 1 boot woes
David McMackins II
contact at mcmackins.org
Sun Nov 2 14:01:12 UTC 2025
Alright, I'm not entirely sure what I'm looking at in this call trace.
I've attached a text document with the output as well as hex dumps at
address 4000 and the beginning of the boot program file on the tftp
server.
It looks like the program is transferring correctly with an offset of
32 bytes. I also ran your quick memory check and it did come back as
all f as expected.
Do you have any guidance for me for following this call trace? I don't
know sparc assembly, but I'm familiar with the basics of assembly
languages, so I can follow a little bit. I'm guessing these are some
register dumps down the calling stack, but these addresses are
meaningless to me.
--
Regards,
David E. McMackins II
www.mcmackins.org
On Sun, 2025-11-02 at 11:37 +1100, Ethan Hawke wrote:
> > Excellent information! Well, it turns out that the memory at %pc is
> > all
> > zeroes! So it seems something is going wrong with the loading of
> > the
> > boot program, even though it seems to be counting it correctly.
> >
> > The memory diagnostics are passing, so I don't suspect a memory
> > error.
> > Any idea what could cause this behavior?
>
> Awesome, there is a lot more tools we can use to help track down the
> problem.
>
> You can use 'ctrace' to print a backtrace of function calls to see
> where
> it jumped to
> the empty address.
>
> Client programs (via 'boot') are always loaded to address 4000, you
> can
> double check
> that there is a valid program loaded there.
>
> That empty memory address can be checked via a store and load (-1 %pc
> !
> %pc ?).
> Should came back as all f's if the memory is good.
>
> 'init-program' can be used to reset the client program and try it
> again
> with 'go', it's
> also possible to set breakpoints with '<addr> +bp' and then run 'go'.
> There is also
> 'step' to single step the program.
>
> Let us know what you find!
>
> Ethan
-------------- next part --------------
ctrace:
PC: 40
Last leaf: jmpl 40 from 3826f4
0 w %o0-%o5: ( 37fe18 38f400 1 40 ffffffff ffffffff )
call 3826cc from 38158c
1 w %o0-%o5: ( 38cac8 ffffffff ffffffff ffffffff ffffffff ffffffff )
call 381570 from 381b88
2 w %o0-%o5: ( 38f400 382cf8 382c68 382cc8 382de4 382d60 )
call 3816c0 from 381ce0
3 w %o0-%o5: ( 381bc8 381298 3812f0 382990 3829f4 382ab8 )
call 381cc8 from 3800f8
4 w %o0-%o5: ( 38dc00 38f400 ffe0f000 0 ffe0f000 1 )
call ffe800e8 from ffe8014c
5 w %o0-%o5: ( 40 380000 ffd40000 ffd40000 100 101 )
XXXXXXX from 0
6 w %o0-%o5: ( ffe82098 0 0 0 0 0 )
--------------------------------------------------------
ok 4000 100 dump
\/ 1 2 3 4 5 6 7 8 9 a b c d e f v123456789abcdef
4000 13 00 0e 00 92 12 60 00 9d e2 7f a0 40 00 00 02 ......`..b. @...
4010 01 00 00 00 a0 03 ff f4 23 00 0e 00 a2 14 60 00 .... ..t#...".`.
4020 11 00 0e 3e 90 12 22 14 a4 22 00 11 d0 04 00 00 ...>..".$"..P...
4030 a0 04 20 04 d0 24 40 00 a4 a4 a0 04 14 bf ff fc . .P$@.$$ ..?.|
4040 a2 04 60 04 03 00 0e 00 82 10 60 54 81 c0 40 00 ".`.......`T.@@.
4050 01 00 00 00 11 00 0e 3c 90 12 22 18 13 00 0e 3e .......<.."....>
4060 92 12 62 14 92 a2 40 08 02 80 00 06 93 32 60 02 ..b.."@......2`.
4070 c0 22 00 00 92 a2 60 01 12 bf ff fe 90 02 20 04 @"..."`..?.~.. .
4080 91 48 00 00 90 2a 2f 00 81 8a 2b 00 01 00 00 00 .H...*/...+.....
4090 01 00 00 00 01 00 00 00 11 00 0e 3d 0f 00 00 10 ...........=....
40a0 80 a6 00 07 02 80 00 09 01 00 00 00 88 10 20 01 .&............ .
40b0 8a 10 20 0c 13 00 0e 3d f0 22 61 04 13 00 0e 3d .. ....=p"a....=
40c0 f6 22 61 18 30 80 00 03 88 10 20 00 8a 10 20 0d v"a.0..... ... .
40d0 c8 22 21 14 11 00 0e 3d ca 22 21 08 90 10 20 01 H"!....=J"!... .
40e0 8b 2a 00 05 11 00 0e 3d ca 22 21 0c 8a 21 60 01 .*.....=J"!..!`.
40f0 11 00 0e 3d ca 22 21 10 40 00 06 f4 90 10 00 18 ...=J"!. at ..t....
--------------------------------------------------
hexdump -C netbsd-1.4t-sparc-boot.net | head -n 17 <
00000000 01 03 01 07 30 80 00 07 00 00 00 00 00 00 00 00 |....0...........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 13 00 0e 00 92 12 60 00 9d e2 7f a0 40 00 00 02 |......`..... at ...|
00000030 01 00 00 00 a0 03 ff f4 23 00 0e 00 a2 14 60 00 |........#.....`.|
00000040 11 00 0e 3e 90 12 22 14 a4 22 00 11 d0 04 00 00 |...>..".."......|
00000050 a0 04 20 04 d0 24 40 00 a4 a4 a0 04 14 bf ff fc |.. ..$@.........|
00000060 a2 04 60 04 03 00 0e 00 82 10 60 54 81 c0 40 00 |..`.......`T.. at .|
00000070 01 00 00 00 11 00 0e 3c 90 12 22 18 13 00 0e 3e |.......<.."....>|
00000080 92 12 62 14 92 a2 40 08 02 80 00 06 93 32 60 02 |..b... at ......2`.|
00000090 c0 22 00 00 92 a2 60 01 12 bf ff fe 90 02 20 04 |."....`....... .|
000000a0 91 48 00 00 90 2a 2f 00 81 8a 2b 00 01 00 00 00 |.H...*/...+.....|
000000b0 01 00 00 00 01 00 00 00 11 00 0e 3d 0f 00 00 10 |...........=....|
000000c0 80 a6 00 07 02 80 00 09 01 00 00 00 88 10 20 01 |.............. .|
000000d0 8a 10 20 0c 13 00 0e 3d f0 22 61 04 13 00 0e 3d |.. ....=."a....=|
000000e0 f6 22 61 18 30 80 00 03 88 10 20 00 8a 10 20 0d |."a.0..... ... .|
000000f0 c8 22 21 14 11 00 0e 3d ca 22 21 08 90 10 20 01 |."!....=."!... .|
00000100 8b 2a 00 05 11 00 0e 3d ca 22 21 0c 8a 21 60 01 |.*.....=."!..!`.|
More information about the rescue
mailing list