Subject: Re: And just how big can it be? (Sun3/50 kernels..)
To: None <port-sun3@NetBSD.ORG>
From: Greg Oster <oster@cs.usask.ca>
List: port-sun3
Date: 11/24/1997 08:55:33
woods@most.weird.com writes:
> [ On Sun, November 23, 1997 at 19:10:34 (GMT), Greg Oster wrote: ]
> > Subject: And just how big can it be? (Sun3/50 kernels..)
> >
> > Ok, so the kernel was 970K or so, which didn't seem to be *too* big, but ok
> , I
> > could trim a bit.... So I built a kernel that was only 770K... Same error..
> .
> > "kernel too large for Sun3/50"... I tried stripping the kernel -- 690K now
> ...
>
> Remember that stripping an object doesn't make its load image any
> smaller.
Ya, I didn't suspect it was going to do any good when I did it, but hey, it
was something that didn't take more than 5 minutes to do on a 3/50, and the
error message didn't exactly specify what part of the kernel it thought was
too big ;-) :->
[snip]
> Perhaps there were other changes elsewhere that I didn't notice.
> Actually that seems to make sense given the increase in bss too, as the
> pmap changes alone definitely couldn't have caused this.
As a followup: I simply commented out the appropriate sunmon_abort() line
in pmap.c, and let things continue... The machine has been up for about 16
hours now, and is happily re-building the world... My guess is that the
condition ( avail_end > hole_start ) is incorrect, as avail_end is around
0x7fc000 on my machine, and hole_start is at 0x100000.
Later...
Greg Oster
oster@cs.usask.ca
Department of Computer Science
University of Saskatchewan, Saskatoon, Saskatchewan, CANADA