Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/arch/hp300/conf Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/fa7b4ac4971a
branches:  netbsd-6
changeset: 776623:fa7b4ac4971a
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed May 21 20:44:23 2014 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1057):
        sys/arch/hp300/conf/RAMDISK: revision 1.14
        sys/arch/hp300/conf/INSTALL: revision 1.57
Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4).  In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)
Should be pulled up to all netbsd-6* branches.
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.

diffstat:

 sys/arch/hp300/conf/INSTALL |  3 ++-
 sys/arch/hp300/conf/RAMDISK |  7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 5b752e74a5e8 -r fa7b4ac4971a sys/arch/hp300/conf/INSTALL
--- a/sys/arch/hp300/conf/INSTALL       Wed May 21 20:39:17 2014 +0000
+++ b/sys/arch/hp300/conf/INSTALL       Wed May 21 20:44:23 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.48 2011/12/18 05:49:27 dholland Exp $
+# $NetBSD: INSTALL,v 1.48.2.1 2014/05/21 20:44:23 bouyer Exp $
 #
 # INSTALL machine description file
 #
@@ -245,3 +245,4 @@
 #pseudo-device stf                     # 6to4 IPv6 over IPv4 encapsulation
 #pseudo-device vlan                    # IEEE 802.1q encapsulation
 #pseudo-device bridge                  # simple inter-network bridging
+pseudo-device  wsmux                   # mouse & keyboard multiplexor
diff -r 5b752e74a5e8 -r fa7b4ac4971a sys/arch/hp300/conf/RAMDISK
--- a/sys/arch/hp300/conf/RAMDISK       Wed May 21 20:39:17 2014 +0000
+++ b/sys/arch/hp300/conf/RAMDISK       Wed May 21 20:44:23 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK,v 1.13 2010/11/23 11:13:58 hannken Exp $
+# $NetBSD: RAMDISK,v 1.13.14.1 2014/05/21 20:44:23 bouyer 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



Home | Main Index | Thread Index | Old Index