Subject: Re: Question about creating a root-memory disk
To: Anshul Kantawala <anshul@dworkin.wustl.edu>
From: Chris G. Demetriou <cgd@pa.dec.com>
List: netbsd-help
Date: 01/15/1998 11:10:19
> I was successfully able to create a root-memory disk using the
> INSTALL config file. However I ran into problems when I tried to
> increase the value of MINIROOTSIZE in
> options MINIROOTSIZE=3074 # size of memory disk, in blocks
>
> I tried values of 8000 and 16000 and the kernel would keep
> rebooting just after it finished printing out the initial numbers
> on kernel size etc. Are there some other parameters that I should
> change?
You didn't say, but is this with NetBSD/i386?
I've had problems in the past where NetBSD/i386 would have that
behaviour if a large (~4M) data object were put into the kernel image.
My guess is that it has something to do with eating more than one
PDE's worth (4MB) of space with the kernel text+data+bss, and locore
not being able to cope with that.
I suggest you send a PR about the problem.
chris