Subject: more Q900 info
To: port-mac68k <port-mac68k@netbsd.org>
From: Ryan Ordway <sammael@pacifier.com>
List: port-mac68k
Date: 07/20/1999 12:30:17
	Ok, I setup a serial console between my PB540c and my Q900 to get a
backtrace once the debugger is reached. Here's what it spat out at me:


_Debugger(3fe000,41727,128674,18af04,b4904) + 6
_panic(b47ca,114000,c00,c,100) + 50
_uvm_km_suballoc(10d47c,18af48,18af44,114000,0) + 10a
_pmap_init(1cb000,fffff000,18af74,18af70,130784) + 318
_uvm_init(1beff,1befc,103388,1b870,1c630) + 54
uvm_fault(0x10d47c, 0xfffff000, 0, 0x1) -> 0x1
  type 8, code [mmu,,ssw]: 505
trap type 8, code = 0x505, v = 0xfffffffb
kernel program counter = 0xec4b8
kernel: MMU fault trap
Caught exception in ddb.
_main() + 3a
_main() + 3a


	So, it appears that the problem ISN'T where I thought it was, it's
in pmap_init, which is machine-dependent, or at least it's located in the
mac68k tree. But for some reason it goes past pmap_init() and doesn't
freeze up until after uvm_pager_init().

	But then when I added the printf() calls to see where it was
dying... it started dying in pmap_init() and actually causing a kernel
panic and dropping into the debugger rather than just freezing up the
machine.

	That's about the extent of my knowledge, I've never worked this
much with the kernel... I'm afraid I'll blow up my machines! Anyone have
any ideas of what to try from here?

	Thanks, Ryan
--
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!