Subject: port-i386/2076: INSTOTHER kernel is too big
To: None <gnats-bugs@NetBSD.ORG>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 02/14/1996 02:55:51
>Number:         2076
>Category:       port-i386
>Synopsis:       INSTOTHER kernel is too big
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 14 03:20:01 1996
>Last-Modified:
>Originator:     Mike Long <mike.long@analog.com>
>Organization:
	
>Release:        960209
>Environment:
System: NetBSD azathoth 1.1A NetBSD 1.1A (AZATHOTH) #6: Fri Feb 9 01:00:48 EST 1996 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	INSTOTHER is too big to fit on the kernel-copy (1.2M) floppy.
>How-To-Repeat:
	cd /sys/arch/i386/conf
	config INSTOTHER
	cd ../compile/INSTOTHER
	make depend && make
	cd /usr/src/distrib/i386/floppies/kcoth
	make
>Fix:
	I found that removing the DIAGNOSTIC and KTRACE options shrunk
the kernel enough to get it onto the kernel-copy floppy.

I also fixed a typo (internally -> internal) found during this
process.  The patches below don't fix all instances of the typo; grep
for "internally" in /sys/arch/i386/conf to get the rest.

*** /sys/arch/i386/conf/INSTOTHER~      Thu Dec 14 07:21:44 1995
--- /sys/arch/i386/conf/INSTOTHER       Sat Feb 10 01:09:28 1996
***************
*** 27,32 ****
  
  #makeoptions  DEBUG="-g"      # compile full symbol table
- options               DIAGNOSTIC      # internally consistency checks
- options               KTRACE          # system call tracing, a la ktrace(1)
  
  options               COMPAT_10       # NetBSD 1.0,
--- 27,30 ----

*** /sys/arch/i386/conf/INSTADP~        Sat Jan 13 07:35:53 1996
--- /sys/arch/i386/conf/INSTADP Sat Feb 10 01:11:48 1996
***************
*** 27,32 ****
  
  #makeoptions  DEBUG="-g"      # compile full symbol table
- options               DIAGNOSTIC      # internally consistency checks
- options               KTRACE          # system call tracing, a la ktrace(1)
  
  options               COMPAT_10       # NetBSD 1.0,
--- 27,30 ----

*** /sys/arch/i386/conf/GENERIC~        Sat Jan 13 07:35:52 1996
--- /sys/arch/i386/conf/GENERIC Sat Feb 10 01:11:10 1996
***************
*** 26,30 ****
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internally consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  
--- 26,30 ----
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internal consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  

*** /sys/arch/i386/conf/GENERICADP~     Sat Jan 13 07:35:53 1996
--- /sys/arch/i386/conf/GENERICADP      Sat Feb 10 01:11:22 1996
***************
*** 27,31 ****
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internally consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  
--- 27,31 ----
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internal consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  

*** /sys/arch/i386/conf/GENERICOTHER~   Sun Dec 24 07:23:45 1995
--- /sys/arch/i386/conf/GENERICOTHER    Sat Feb 10 01:11:34 1996
***************
*** 27,31 ****
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internally consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  
--- 27,31 ----
  options               DDB             # in-kernel debugger
  #makeoptions  DEBUG="-g"      # compile full symbol table
! options               DIAGNOSTIC      # internal consistency checks
  options               KTRACE          # system call tracing, a la ktrace(1)
  

>Audit-Trail:
>Unformatted: