Subject: Re: problems with an ipx
To: None <port-sparc@netbsd.org>
From: Eduardo E. Horvath <eeh@one-o.com>
List: port-sparc
Date: 04/29/1999 08:47:06
On Wed, 28 Apr 1999, Gandhi woulda smacked you wrote:

> On Wed, 28 Apr 1999, nm wrote:
> 
> #
> # im using 1.3.3 on an IPX.
> # 
> 
> Are you on a serial term or a video console?
> 
> Did you get a 'watchdog reset'?
> 
> Is something halting your box?
> 
> At the 'ok' prompt, try:
> 
> 	setenv watchdog-reboot? true
> 
> ...and then keep a close eye on your logs, although a watchdog reset
> doesn't log, I think ...

That's presuming you have version 2 or 3 PROMs.  If you do then you can
get lots more information.  Do a `ctrace' and record the output.  You
should get something like this:

Type  'go' to resume
{f} ok ctrace
PC: f00581f0 
Last leaf: jmpl  f0058744    from edd00890 
     0 w  %o0-%o5: (f0000000 14 f0000000 0 2 0 )

call edd19f70    from edd18064 
     1 w  %o0-%o5: (f0058744 edd5a050 71 24 2 a )

call edd18030    from edd06284 
     2 w  %o0-%o5: (0 edd41d7c 4 edd5a800 a edd70bbb )

call edd06280    from edd102f8 
     3 w  %o0-%o5: (0 0 71 face edd7106e edd5a191 )

call edd0fb70    from edd0b1a8 
     4 w  %o0-%o5: (71 edd6dca8 0 1 0 a )

call edd0aa24    from edd08aec 
     5 w  %o0-%o5: (0 3d edd8968c edd6cea8 edd59e9c edd5a720 )

????     from edd08820 
     6 w  %o0-%o5: (0 0 0 0 0 0 )

jmpl  0    from edd2bce8      
     7 w  %o0-%o5: (0 0 0 0 0 0 )

{f} ok 

Do the same thing with `.registers'.  Then reboot the system and use gdb
on the kernel image.  

Take the `from' addresses and use the `disasem' command to find out what
functions those are.  Then correlating that with the wources you should be
able to get a really good idea why you're at the PROM.

Unfortunately I don't think the older PROMs are this useful.

=========================================================================
Eduardo Horvath				eeh@one-o.com
	"I need to find a pithy new quote." -- me