Subject: Re: Q900 info
To: Frederick Bruckman <fb@enteract.com>
From: Ryan Ordway <sammael@pacifier.com>
List: port-mac68k
Date: 07/20/1999 11:19:47
	Ok, I've dug through uvm_init.c, uvm_pager.c and uvm_km.c and it
seems that it's dying someplace in uvm_km_suballoc(). The last kernel I
built gets to the last uvm_map_submap() call and triggers the panic()
call. All I have been changing is adding printf() calls to show me where
exactly the problem is... and until now it has never broken into the
debugger. I added a printf() right between the call to uvm_map_submap()
and the panic() and got an actual kernel panic this time. Hitting the
interrupt switch again gives me another break this time, so all of these
printf() calls are doing SOMETHING. At least the machine isn't totally
FROZEN! Anyone have any clue what is going on in here? Same thing happens
on a GENERIC config and my MERLIN config. On my original compile I got a
few warnings due to uninitialized variables that I set to zero to get
through. Here's what I got, maybe one of these is causing the problem...

cc1: warnings being treated as errors
../../../../netinet/tcp_subr.c: In function `tcp_respond':
../../../../netinet/tcp_subr.c:379: warning: `th' might be used
uninitialized in
this function
*** Error code 1

Stop.

# I set th = 0 and continued

cc1: warnings being treated as errors
../../../../nfs/nfs_serv.c: In function `nfsrv_statfs':
../../../../nfs/nfs_serv.c:3122: warning: `tval' might be used
uninitialized in 
this function
*** Error code 1

Stop.

# I set tval = 0

cc1: warnings being treated as errors
../../../../arch/mac68k/mac68k/iop.c: In function `receive_iop_message':
../../../../arch/mac68k/mac68k/iop.c:325: warning: `ioph' might be used 
uninitialized in this function
../../../../arch/mac68k/mac68k/iop.c:340: warning: `ioph' might be used 
uninitialized in this function
../../../../arch/mac68k/mac68k/iop.c:348: warning: `ioph' might be used 
uninitialized in this function
*** Error code 1

Stop.

# I set the ioph's = 0

	None of these have anything to do with UVM though... anyone have
any clues as to what might be going on? I sup'ed these sources this
morning. The locore.s problem was fixed.

	I'm going to try a serial console on my PB540c to see if I can get
a backtrace...

	Ryan

--
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!
Vidi, vici, veni. (I saw, I conquered, I came.)