Subject: Re: root memory disk problem
To: None <gharris@jayhackers.net>
From: Luke Mewburn <lukem@netbsd.org>
List: port-i386
Date: 10/20/2002 17:48:08
On Sat, Oct 19, 2002 at 02:48:32AM -0500, gharris@jayhackers.net wrote:
  | Hi.  I'm trying to create a root memory disk inside a kernel.  When I boot
  | the system, it automatically reboots just after the NetBSD prompt (after i
  | press enter and the spinning bar appears).  Here are the options I have in
  | the kernel config:
  | 
  | pseudo-device   md      1
  | options         MEMORY_DISK_HOOKS
  | options         MEMORY_DISK_IS_ROOT
  | options         MEMORY_DISK_SERVER=1
  | options         MEMORY_DISK_ROOT_SIZE=65536
  | 
  | I'm trying to create a 32 meg filesystem as root.  I use makefs and
  | mdsetimage to make the image and put the image into the kernel.  What am I
  | doing wrong?  Thanks.

Does a kernel *without* those options work ?

Also, I notice that the our kernels which use these options have:
	options         MEMORY_DISK_SERVER=0
where you have
	options         MEMORY_DISK_SERVER=1

I'd try using the former.

Luke.