Source-Changes-HG archive

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

[src/trunk]: src/distrib/i386/floppies/kernel-ramdisk Add a little gdb script...



details:   https://anonhg.NetBSD.org/src/rev/27859afe3178
branches:  trunk
changeset: 498365:27859afe3178
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Fri Oct 20 21:49:00 2000 +0000

description:
Add a little gdb script to switch off FFS clustering. This avoids
buffer cache lockups in INSTALL_TINY (it has very little buffers
to spare). This is the least intrusive way of fixing that.

diffstat:

 distrib/i386/floppies/kernel-ramdisk/Makefile      |  3 ++-
 distrib/i386/floppies/kernel-ramdisk/nocluster.gdb |  2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 3218b729b6f8 -r 27859afe3178 distrib/i386/floppies/kernel-ramdisk/Makefile
--- a/distrib/i386/floppies/kernel-ramdisk/Makefile     Fri Oct 20 20:43:26 2000 +0000
+++ b/distrib/i386/floppies/kernel-ramdisk/Makefile     Fri Oct 20 21:49:00 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2000/09/27 16:04:14 fvdl Exp $
+#      $NetBSD: Makefile,v 1.2 2000/10/20 21:49:00 fvdl Exp $
 
 TOP=           ${.CURDIR}/..
 
@@ -39,6 +39,7 @@
 
 netbsd.INSTALL_TINY.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL_TINY/netbsd ${RAMDISK_T}
        cp ${KERNOBJDIR}/INSTALL_TINY/netbsd netbsd.tmp
+       gdb --write -batch -x ${.CURDIR}/nocluster.gdb netbsd.tmp
        ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK_T}
        nm netbsd.tmp > netbsd.INSTALL_TINY.symbols
        ${STRIP} netbsd.tmp
diff -r 3218b729b6f8 -r 27859afe3178 distrib/i386/floppies/kernel-ramdisk/nocluster.gdb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/i386/floppies/kernel-ramdisk/nocluster.gdb        Fri Oct 20 21:49:00 2000 +0000
@@ -0,0 +1,2 @@
+set doclusterwrite=0
+set doclusterread=0



Home | Main Index | Thread Index | Old Index