Subject: Re: Memory Disk options
To: Aymeric Arnoud <adrastee@free.fr>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 03/16/2004 22:15:20
--nk27jClX7wGPY2hW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Mar 16, 2004 at 09:47:33AM +0100, Aymeric Arnoud wrote:
  | With NetBSD-1.6ZI I build a kernel based on INSTALL_TINY (i386) and
  | copy a 4 Mo file system in it with
  |	makefs -s 4m -t ffs image  <rootdir>
  |	mdsetimage kernel image
  | If I set "options MEMORY_DISK_ROOT_SIZE=8192", it works as expected
  | but increasing to 16384 (and still use 4 Mo filesystem, or use
  | really a 8 Mo fs) then the kernel is load up to the stop of the
  | 'rotation /-\-' and the PC reboots immediately. How to debug this ?
  | Is this related to missing parameters/options to makefs ?
  |
  | And how to use MEMORY_DISK_DYNAMIC ? I can't find who finally makes
  | the call to md_root_setconf().

There's a bug in the way that the MEMORY_DISK is implemented on
i386 (and possibly other platforms) that effectively limits the
size of the memory disk to ~ 10MB.

(It's a problem that I'd like to see fixed too...)

--nk27jClX7wGPY2hW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAVuHIpBhtmn8zJHIRAmT1AJ4/QIdEMOTeRx1bV2yN93lzubAE3QCeNkNN
8SYvHmAggIpZnoJFLuJfaIU=
=d3RV
-----END PGP SIGNATURE-----

--nk27jClX7wGPY2hW--