Source-Changes-HG archive

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

[src/trunk]: src GENERIC should run on any environment.



details:   https://anonhg.NetBSD.org/src/rev/0c86104413dc
branches:  trunk
changeset: 493985:0c86104413dc
user:      minoura <minoura%NetBSD.org@localhost>
date:      Wed Jun 28 15:27:19 2000 +0000

description:
GENERIC should run on any environment.
It required 6MB of memory;  disable some options/devices so that
it can run on 4MB machines.

diffstat:

 etc/etc.x68k/Makefile.inc  |    3 +-
 sys/arch/x68k/conf/GENERIC |   44 +++---
 sys/arch/x68k/conf/SMALL   |  316 ---------------------------------------------
 3 files changed, 23 insertions(+), 340 deletions(-)

diffs (truncated from 469 to 300 lines):

diff -r 02256b47c323 -r 0c86104413dc etc/etc.x68k/Makefile.inc
--- a/etc/etc.x68k/Makefile.inc Wed Jun 28 15:25:03 2000 +0000
+++ b/etc/etc.x68k/Makefile.inc Wed Jun 28 15:27:19 2000 +0000
@@ -1,11 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.7 1999/12/24 17:03:34 minoura Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2000/06/28 15:27:19 minoura Exp $
 #
 #      etc.x68k/Makefile.inc -- x68k-specific etc Makefile targets
 #
 
 # Set this for any kernels beyond GENERIC you want to include
 # in the distribution.
-EXTRA_KERNELS+= SMALL
 BUILD_KERNELS+=        INSTALL INSTALL_SMALL
 
 LOCALTIME=     Japan
diff -r 02256b47c323 -r 0c86104413dc sys/arch/x68k/conf/GENERIC
--- a/sys/arch/x68k/conf/GENERIC        Wed Jun 28 15:25:03 2000 +0000
+++ b/sys/arch/x68k/conf/GENERIC        Wed Jun 28 15:27:19 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.47 2000/06/22 20:27:57 fvdl Exp $
+#      $NetBSD: GENERIC,v 1.48 2000/06/28 15:31:02 minoura Exp $
 
 #
 #      GENERIC
@@ -6,9 +6,9 @@
 
 include "arch/x68k/conf/std.x68k"
 
-#ident                 "GENERIC-$Revision: 1.47 $"
+#ident                 "GENERIC-$Revision: 1.48 $"
 
-maxusers       32
+maxusers       8
 
 ## System kernel configuration.  See options(4) for more detail.
 
@@ -99,7 +99,7 @@
 #options       DEBUG
 
 ## Make SCSI error messages more verbose when explaining their meanings.
-options        SCSIVERBOSE
+#options       SCSIVERBOSE
 
 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
@@ -153,7 +153,7 @@
 
 ## File system options.
 options        NFSSERVER       # Sun NFS-compatible filesystem server
-options        QUOTA           # FFS quotas
+#options       QUOTA           # FFS quotas
 #options       FFS_EI          # FFS Endian Independent support
 options        SOFTDEP         # FFS soft updates support.
 
@@ -163,7 +163,7 @@
 #options       IPSEC           # IP security
 #options       IPSEC_ESP       # IP security (encryption part; define w/IPSEC)
 #options       IPSEC_DEBUG     # debug for IP security
-options        TCP_COMPAT_42   # 4.2BSD IP implementation compatibility
+#options       TCP_COMPAT_42   # 4.2BSD IP implementation compatibility
 #options       GATEWAY         # packet forwarding ("router switch")
 #options       MROUTING        # packet forwarding of multicast packets
 #options       DIRECTED_BROADCAST      # allow broadcasts through routers
@@ -172,14 +172,14 @@
 #options       ISO,TPIP        # OSI networking
 #options       EON             # OSI tunneling over IP
 #options       CCITT,LLC,HDLC  # X.25 packet switched protocol
-options        NETATALK        # AppleTalk (over Ethernet) protocol
-options        NTP             # Network Time Protocol in-kernel support
+#options       NETATALK        # AppleTalk (over Ethernet) protocol
+#options       NTP             # Network Time Protocol in-kernel support
 #options       PPS_SYNC        # Add serial line synchronization for NTP
 options        PFIL_HOOKS      # Add pfil(9) hooks, intended for custom LKMs.
-options        IPFILTER_LOG    # Add ipmon(8) logging for ipfilter device
-options        PPP_BSDCOMP     # Add BSD compression to ppp device
-options        PPP_DEFLATE     # Add deflate (libz) compression to ppp device
-options        PPP_FILTER      # Add active filters for ppp (via bpf)
+#options       IPFILTER_LOG    # Add ipmon(8) logging for ipfilter device
+#options       PPP_BSDCOMP     # Add BSD compression to ppp device
+#options       PPP_DEFLATE     # Add deflate (libz) compression to ppp device
+#options       PPP_FILTER      # Add active filters for ppp (via bpf)
 
 
 
@@ -216,9 +216,9 @@
 
 sd*    at scsibus? target ? lun ?      # SCSI disks
 cd*    at scsibus? target ? lun ?      # SCSI CD-ROMs
-st*    at scsibus? target ? lun ?      # SCSI tapes
+#st*   at scsibus? target ? lun ?      # SCSI tapes
 #ss*   at scsibus? target ? lun ?      # SCSI scanners
-ch*    at scsibus? target ? lun ?      # SCSI changer devices
+#ch*   at scsibus? target ? lun ?      # SCSI changer devices
 #uk*   at scsibus? target ? lun ?      # SCSI unknown devices
 
 ## Ports
@@ -260,11 +260,11 @@
 ## Concatenated and striped disks; with this, you can create a software-based
 ## disk array similar to a "RAID 0" setup.  See ccd(4).
 
-pseudo-device  ccd     4
+#pseudo-device ccd     4
 
 ## RAIDframe disk driver: software RAID driver.  See raid(4).
 
-pseudo-device  raid    4
+#pseudo-device raid    4
 #options       RAID_AUTOCONFIG         # auto-configuration of RAID components
 
 ## Memory disk device, used on boot floppies with compressed
@@ -283,21 +283,21 @@
 
 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
 ## This is used by the third-party user-mode "ppp" program, and others.
-pseudo-device  tun             4
+#pseudo-device tun             4
 
 ## Generic L3 over IP tunnel
 #pseudo-device gre             2       # generic L3 over IP tunnel
 
 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
 ## interface that allows selective examining of incoming packets.
-pseudo-device  bpfilter        8
+pseudo-device  bpfilter        4
 
 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
 ## one example of the use of the IP Filter.
-pseudo-device  ipfilter
+#pseudo-device ipfilter
 
 ## for IPv6
-pseudo-device  gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
+pseudo-device  gif             1       # IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device faith           1       # IPv[46] tcp relay translation i/f
 #pseudo-device stf             1       # 6to4 IPv6 over IPv4 encapsulation
 
@@ -309,9 +309,9 @@
 ## number still requires you to run /dev/MAKEDEV to create the files
 ## for the ptys.
 
-pseudo-device  pty             32      # pseudo-ttys (for network, etc.)
+pseudo-device  pty             16      # pseudo-ttys (for network, etc.)
 
 ## Random device, used to implement /dev/random (a source of random noise),
 ## and generate randomness for some kernel formulae.
 
-pseudo-device  rnd
+#pseudo-device rnd
diff -r 02256b47c323 -r 0c86104413dc sys/arch/x68k/conf/SMALL
--- a/sys/arch/x68k/conf/SMALL  Wed Jun 28 15:25:03 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,316 +0,0 @@
-#      $NetBSD: SMALL,v 1.24 2000/06/14 22:02:44 veego Exp $
-
-#
-#      SMALL -- works with a small memory, e.g. 4MB
-#
-
-include "arch/x68k/conf/std.x68k"
-
-#ident                 "SMALL-$Revision: 1.24 $"
-
-maxusers       8
-
-## System kernel configuration.  See options(4) for more detail.
-
-
-## Options for variants of the m68k MPU
-## you must have at least the correct one; REQUIRED
-options        M68030
-options        M68040
-options        M68060
-
-
-#### System options specific to the x68k port
-
-#options       EXTENDED_MEMORY         # support for >16MB memory
-options        FPU_EMULATE             # software fpu emulation for MC68030
-options        FPSP                    # floating point emulation for MC68040
-options        M060SP                  # int/fp emulation for MC68060
-options        JUPITER                 # support for "Jupiter-X" accelerator
-#options       MAPPEDCOPY              # use page mapping for large copyin/copyout
-#options       BUFCACHE=5              # use this % of the memory for buffer cache 
-#options       ZSCONSOLE,ZSCN_SPEED="9600"     # use serial console
-
-
-#### System options that are the same for all ports
-
-## Root device configuration: change the ?'s if you are going to use a
-## nonstandard root partition (other than where the kernel is booted from)
-## and/or nonstandard root type (not ffs or nfs).  Normally this can be
-## automagically determined at boot time.
-
-config         netbsd  root on ? type ?
-#config                netbsd  root on sd0 type ffs
-
-## RTC is offset from GMT; -540 means JST-9
-options        RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
-
-## System call tracing (see ktrace(1)).
-options        KTRACE
-
-## Collect statistics on kernel malloc's and free's.  This does have a
-## significant performance hit on slower machines, so it is intended for
-## diagnostic use only.
-#options       KMEMSTATS
-
-## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
-options        SYSVMSG         # System V message queues
-options        SYSVSEM         # System V semaphores
-options        SYSVSHM         # System V shared memory
-#options       SHMMAXPGS=1024  # 1024 pages is the default
-
-## Loadable kernel module support
-#options       LKM
-
-## NFS boot options; not supported currently: needs nfsboot program
-#options       NFS_BOOT_BOOTPARAM
-#options       NFS_BOOT_BOOTP
-#options       NFS_BOOT_DHCP
-
-#### Debugging options
-
-## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
-## serial console break or keyboard reset, where the PROM would normally
-## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options       DDB                     # kernel dynamic debugger
-#options       DDB_HISTORY_SIZE=100    # enable history editing in DDB
-#options       DDB_ONPANIC=1           # see also sysctl(8): `ddb.onpanic'
-#options       PANICBUTTON             # interrupt switch invokes DDB
-
-## You may also use gdb, on another computer connected to this machine over
-## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
-## a dev_t encoded device number of the serial port to use.
-## KGDB is not supported for now.
-#options       KGDB            # support for kernel gdb
-#options       KGDBDEV=0xc00   # kgdb device number
-#options       KGDBRATE=9600   # baud rate
-
-## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
-## such that gdb(1) can be used on a kernel coredump.
-
-#makeoptions   DEBUG="-g"
-
-## Adds code to the kernel that does internal consistency checks, and will
-## cause the kernel to panic if corruption of internal data structures
-## is detected.
-#options       DIAGNOSTIC      # extra kernel sanity checking
-
-## Enable (possibly expensive) debugging code that may also display messages
-## on the system console
-#options       DEBUG
-
-## Make SCSI error messages more verbose when explaining their meanings.
-#options       SCSIVERBOSE
-
-## `INSECURE' turns off the kernel security level (securelevel = 0 always).
-## This allows writing to /dev/mem, loading kernel modules while multi-user,
-## and other insecurities good only for development work.  Do not use this
-## option on a production machine.
-#options       INSECURE
-
-## Allow non-root users to grab /dev/console with programs such as xconsole.
-## `xconsole' therefore does not need setuid root with this option enabled.
-#options       UCONSOLE
-
-## `FDSCRIPTS' allows non-readable but executable scripts by providing a
-## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
-## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
-## opaque file mechanism.  Perl calls this "secure setuid scripts."
-
-#options       FDSCRIPTS
-#options       SETUIDSCRIPTS
-
-## Options for compatibility with previous releases foreign system binaries.
-
-#options       COMPAT_43       # 4.3BSD system interfaces
-#options       COMPAT_09       # NetBSD 0.9 binary compatibility
-#options       COMPAT_10       # NetBSD 1.0 binary compatibility
-#options       COMPAT_11       # NetBSD 1.1 binary compatibility
-#options       COMPAT_12       # NetBSD 1.2 binary compatibility
-options        COMPAT_13       # NetBSD 1.3 binary compatibility
-options        COMPAT_14       # NetBSD 1.4 binary compatibility
-#options       COMPAT_M68K4K   # NetBSD/m68k4k binaries
-#options       COMPAT_SUNOS    # SunOS 4.x binary compatibility; broken
-#options       COMPAT_SVR4     # SVR4 binary compatibility; broken
-#options       COMPAT_LINUX    # Linux/m68k binary compatibility
-#options       EXEC_ELF32      # 32-bit ELF executables (Linux, SVR4)
-
-## File systems.
-file-system    FFS             # Berkeley Fast Filesystem
-file-system    NFS             # Sun NFS-compatible filesystem client
-file-system    KERNFS          # kernel data-structure filesystem
-#file-system   NULLFS          # NULL layered filesystem (buggy)
-#file-system   OVERLAY         # overlay file system
-file-system    MFS             # memory-based filesystem
-#file-system   FDESC           # user file descriptor filesystem
-#file-system   UMAPFS          # uid/gid remapping filesystem
-#file-system   LFS             # Log-structured filesystem (experimental)



Home | Main Index | Thread Index | Old Index