Module Name:    src
Committed By:   tsutsui
Date:           Tue Apr 29 18:47:22 UTC 2014

Modified Files:
        src/sys/arch/hp300/conf: RAMDISK

Log Message:
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.

These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.

Should be pulled up to netbsd-6* branches.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/hp300/conf/RAMDISK

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp300/conf/RAMDISK
diff -u src/sys/arch/hp300/conf/RAMDISK:1.13 src/sys/arch/hp300/conf/RAMDISK:1.14
--- src/sys/arch/hp300/conf/RAMDISK:1.13	Tue Nov 23 11:13:58 2010
+++ src/sys/arch/hp300/conf/RAMDISK	Tue Apr 29 18:47:22 2014
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK,v 1.13 2010/11/23 11:13:58 hannken Exp $
+# $NetBSD: RAMDISK,v 1.14 2014/04/29 18:47:22 tsutsui Exp $
 #
 # RAMDISK machine description file
 #
@@ -7,6 +7,11 @@
 
 include 	"arch/hp300/conf/INSTALL"
 
+# These options for small RAM machines makes extracting binaries much slower.
+no options	NVNODE
+no options	NBUF
+no options	BUFPAGES
+
 # Enable the hooks used for initializing the root memory-disk.
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT		# force root on memory disk

Reply via email to