Subject: ufsboot trouble
To: None <mouse@Collatz.McRCIM.McGill.EDU>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 11/03/1995 17:52:56
> Date: Fri, 3 Nov 1995 16:37:26 -0500
> From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
> 
> I've got a Sun-3/150 running NetBSD/sun3.  It basically works fine
> (except that it takes about two days to do a "make build", but that's
> just 'cause it's a slow machine).

> But booting has some problems.  I'm having to netboot it, pass the
> kernel -a, and tell it to put root on sd0a.  When I try to boot from
> disk, the ROMs load bootxx okay, bootxx loads ufsboot okay, ufsboot
> starts to load the kernel prints the first number, spins the spinnner
> for a second or so, and then hangs hard - with the disk's activity
> light lit, if that's any help.

> Anyone have any recommendations on debugging this?

Does "L1-A" work after the hang?  If so, see where it says you are,
what the register contents are, what's on the stack.  Debugging
with the PROM monitor is a bit painful, but you can get clues...
(See the SunOS monitor manual page.)

There is quite a bit of DEBUG conditional code in ufsboot, so
maybe you could build a version of ufsboot with some of those
things enabled and try to figure out where it dies.

Gordon