Subject: Re: -current kernel ramdisk buffer creation error (always the same size; smaller than configured)
To: satadru pramanik <satadru@umich.edu>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-kern
Date: 03/30/2002 00:52:42
On Thu, Mar 28, 2002 at 12:41:15PM -0500, satadru pramanik wrote:
  | I have compiled several kernels with src from -current for a g4u bootdisk,
  | and am having problems which I think I can reliably track to the kernel
  | creating a buffer for the ramdisk which is too small.  Could somebody tell
  | me if I am doing something wrong?   CCs to me and reposts to a relevant list
  | if this is not appropriate would be appreciated, as I'm not on this
  | developers list.

The option MINIROOTSIZE was replaced with MEMORY_DISK_SIZE in
NetBSD-current on 2002/03/10.  Try setting the latter option instead.


  | Debugging information enclosed below:
  | 
  | When I use mdsetimage, I get this error:
  | -=-=-
  | =-=-=
  | /usr/sbin/mdsetimage -v netbsd.tmp
  | /usr/src/distrib/i386/floppies/ramdisk-g4u/ramdisk-g4u.fs
  | got symbols from netbsd.tmp
  | mapped netbsd.tmp
  | mdsetimage: fs image (1286144 bytes) too big for buffer (262144 bytes)
  | *** Error code 1
  | -=-=
  | Note: this seems to happen no matter what arbitrarily size I make the
  | MINIROOTSIZE
  | =-=-=

Luke.

-- 
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system