DISKLESS revision 1.45
11.45Stsutsui# $NetBSD: DISKLESS,v 1.45 2005/01/21 12:19:25 tsutsui Exp $
21.3Sgwr
31.28Sgwr# DISKLESS - Root and swap on NFS
41.28Sgwr# Desktop machines only (3/50, 3/60, 3/110)
51.28Sgwr#
61.10Sgwr# Includes devices needed to run as an X-terminal
71.1Sgwr
81.14Sjtcinclude "arch/sun3/conf/std.sun3"
91.38Satatat
101.38Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.1Sgwr
121.26Sgwr# Machines to be supported by this kernel
131.6Sgwroptions 	FPU_EMULATE
141.7Sgwroptions 	HAVECACHE		# Sun3/260 VAC
151.1Sgwr
161.1Sgwr# Needs to be set per system.  i.e change these as you see fit
171.20Sgwrmaxusers	2
181.9Sgwr
191.1Sgwr# Standard system options
201.28Sgwr#options 	KTRACE		# system call tracing
211.28Sgwr#options 	SYSVMSG		# System V message queues
221.28Sgwr#options 	SYSVSEM		# System V semaphores
231.28Sgwr#options 	SYSVSHM		# System V shared memory
241.20Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
251.20Sgwr#options 	LKM		# loadable kernel modules
261.20Sgwr#options 	INSECURE	# disable kernel security level
271.40Slukemoptions 	USERCONF	# userconf(4) support
281.36Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
291.43Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
301.15Sthorpej
311.20Sgwr# Which kernel debugger?  Uncomment either this:
321.28Sgwr#options 	DDB
331.18Sgwr# ... or these for KGDB (gdb remote target)
341.35Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
351.20Sgwr#options 	KGDB
361.34Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
371.20Sgwr
381.20Sgwr# Other debugging options
391.21Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.20Sgwr#options 	DEBUG		# kernel debugging code
411.20Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
421.20Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
431.20Sgwr#options 	PMAP_DEBUG
441.20Sgwr
451.32Swiz# Compatibility options
461.28Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
471.28Sgwr#options 	COMPAT_43	# and 4.3BSD and ...
481.28Sgwr#options 	COMPAT_10	# NetBSD 1.0
491.28Sgwr#options 	COMPAT_11	# NetBSD 1.1
501.28Sgwr#options 	COMPAT_12	# NetBSD 1.2
511.22Skleinkoptions 	COMPAT_13	# NetBSD 1.3
521.29Saugustssoptions 	COMPAT_14	# NetBSD 1.4
531.42Scloptions 	COMPAT_16	# NetBSD 1.6
541.45Stsutsuioptions 	COMPAT_20	# NetBSD 2.0
551.28Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
561.33Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
571.44Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
581.1Sgwr
591.1Sgwr# Filesystem options
601.20Sgwr#file-system	FFS		# Berkeley Fast Filesystem
611.20Sgwrfile-system	NFS		# Sun NFS client support
621.20Sgwr#file-system	CD9660		# ISO 9660 + Rock Ridge file system
631.28Sgwr#file-system	FDESC		# /dev/fd/*
641.28Sgwr#file-system	KERNFS		# /kern
651.28Sgwr#file-system	NULLFS		# loopback file system
661.28Sgwr#file-system	PROCFS		# /proc
671.20Sgwr#file-system	UNION		# union file system
681.20Sgwr#file-system	MFS		# memory-based filesystem
691.17Sthorpej
701.20Sgwr#options 	NFSSERVER	# nfs server support
711.20Sgwr#options 	QUOTA		# FFS quotas
721.28Sgwr#options 	FFS_EI		# FFS Endian Independant support
731.1Sgwr
741.1Sgwr# Networking options
751.15Sthorpejoptions 	INET		# IP prototol stack support
761.20Sgwr#options 	GATEWAY		# IP packet forwarding
771.20Sgwr#options 	ISO,TPIP	# OSI networking
781.20Sgwr#options 	EON		# OSI tunneling over IP
791.20Sgwr#options 	CCITT,LLC,HDLC	# X.25
801.20Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
811.33Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
821.20Sgwr
831.20Sgwr# Work-around for root on slow servers (insurance...)
841.6Sgwroptions 	NFS_BOOT_RWSIZE=1024
851.24Sgwroptions 	NFS_BOOT_BOOTPARAM
861.1Sgwr
871.17Sthorpejconfig		netbsd root on ? type nfs
881.1Sgwr
891.25Sgwr# On-board I/O space (required)
901.25Sgwrinclude "arch/sun3/conf/obio.sun3"
911.25Sgwr
921.25Sgwr# On-board memory (optional)
931.25Sgwr# See frame-buffers
941.25Sgwrobmem0 at mainbus?
951.25Sgwr
961.25Sgwr# VME bus support (optional)
971.28Sgwr# (none on desktop machines)
981.25Sgwr
991.11Sgwr#
1001.12Sgwr# Serial ports
1011.12Sgwr#
1021.19Slukemzstty0	at zsc1 channel 0	# ttya
1031.19Slukemzstty1	at zsc1 channel 1	# ttyb
1041.12Sgwr
1051.19Slukemkbd0	at zsc0 channel 0	# keyboard
1061.19Slukemms0	at zsc0 channel 1	# mouse
1071.12Sgwr
1081.12Sgwr#
1091.11Sgwr# Network devices
1101.11Sgwr#
1111.1Sgwr
1121.11Sgwr# Intel Ethernet (onboard, or VME)
1131.28Sgwr#ie0 at obio0 addr 0x0C0000 ipl 3
1141.35Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1151.6Sgwr
1161.11Sgwr# Lance Ethernet (only onboard)
1171.25Sgwrle0 at obio0 addr 0x120000 ipl 3
1181.23Sgwr
1191.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1201.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1211.25Sgwroptions 	LANCE_REVC_BUG
1221.25Sgwr
1231.11Sgwr#
1241.11Sgwr# Frame buffer devices
1251.11Sgwr#
1261.11Sgwr
1271.26Sgwrinclude "arch/sun3/conf/bw2.sun3"
1281.26Sgwrinclude "arch/sun3/conf/cg4.sun3"
1291.11Sgwr
1301.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1311.26Sgwr# cgsix0 at obmem0 addr 0xff000000
1321.11Sgwr
1331.11Sgwr# 3/60 P4 24-bit color frame buffer
1341.26Sgwr# cgeight0 at obmem0 addr 0xff300000
1351.11Sgwr
1361.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1371.28Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1381.11Sgwr
1391.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1401.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1411.11Sgwr
1421.11Sgwr# Misc.
1431.20Sgwrpseudo-device	loop		1	# network loopback
1441.20Sgwrpseudo-device	bpfilter	8	# packet filter
1451.20Sgwrpseudo-device	sl		2	# CSLIP
1461.20Sgwrpseudo-device	ppp		2	# PPP
1471.20Sgwrpseudo-device	tun		2	# network tunneling over tty
1481.28Sgwr#pseudo-device	gre		2	# generic L3 over IP tunnel
1491.20Sgwr#pseudo-device	ipfilter		# ip filter
1501.6Sgwr
1511.30Sjdolecekpseudo-device	pty			# pseudo-terminals
1521.39Slukempseudo-device	clockctl		# user control of clock subsystem
153