DISKLESS revision 1.81
11.81Ssimonb# $NetBSD: DISKLESS,v 1.81 2022/08/07 02:52:30 simonb 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.77Stsutsuimakeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
131.58Stsutsui
141.26Sgwr# Machines to be supported by this kernel
151.6Sgwroptions 	FPU_EMULATE
161.7Sgwroptions 	HAVECACHE		# Sun3/260 VAC
171.1Sgwr
181.1Sgwr# Needs to be set per system.  i.e change these as you see fit
191.20Sgwrmaxusers	2
201.9Sgwr
211.1Sgwr# Standard system options
221.28Sgwr#options 	KTRACE		# system call tracing
231.28Sgwr#options 	SYSVMSG		# System V message queues
241.28Sgwr#options 	SYSVSEM		# System V semaphores
251.28Sgwr#options 	SYSVSHM		# System V shared memory
261.20Sgwr#options 	INSECURE	# disable kernel security level
271.40Slukemoptions 	USERCONF	# userconf(4) support
281.56Stsutsui#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 	PMAP_DEBUG
431.68Sabs#options 	SCSIDEBUG
441.68Sabs#options 	SCSIVERBOSE		# Verbose SCSI errors
451.20Sgwr
461.32Swiz# Compatibility options
471.74Smrginclude 	"conf/compat_netbsd13.config"
481.74Smrg
491.28Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
501.68Sabs#options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
511.28Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
521.80Snia#options 	COMPAT_OSSAUDIO	# can run Linux/m68k executables
531.68Sabs#options 	EXEC_AOUT	# support for a.out executables
541.1Sgwr
551.81Ssimonb# File systems
561.20Sgwr#file-system	FFS		# Berkeley Fast Filesystem
571.20Sgwrfile-system	NFS		# Sun NFS client support
581.20Sgwr#file-system	CD9660		# ISO 9660 + Rock Ridge file system
591.28Sgwr#file-system	FDESC		# /dev/fd/*
601.28Sgwr#file-system	KERNFS		# /kern
611.28Sgwr#file-system	NULLFS		# loopback file system
621.68Sabs#file-system	OVERLAY		# overlay file system
631.28Sgwr#file-system	PROCFS		# /proc
641.20Sgwr#file-system	UNION		# union file system
651.20Sgwr#file-system	MFS		# memory-based filesystem
661.49Schristos#file-system	PTYFS		# /dev/pts/N support
671.68Sabs#file-system	TMPFS		# Efficient memory file-system
681.68Sabs#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
691.17Sthorpej
701.81Ssimonb# File system options
711.81Ssimonb#options 	FFS_EI		# FFS Endian Independent support
721.81Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
731.62Sbouyer#options 	QUOTA		# legacy UFS quotas
741.62Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
751.81Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
761.81Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
771.68Sabs#options 	WAPBL		# File system journaling support
781.81Ssimonb#options 	NFSSERVER	# Network File System server
791.1Sgwr
801.1Sgwr# Networking options
811.50Sisakioptions 	INET		# IP protocol stack support
821.68Sabs#options 	INET6		# IPV6
831.68Sabs#options 	IPSEC		# IP security
841.68Sabs#options 	IPSEC_DEBUG	# debug for IP security
851.20Sgwr#options 	GATEWAY		# IP packet forwarding
861.33Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
871.20Sgwr
881.20Sgwr# Work-around for root on slow servers (insurance...)
891.6Sgwroptions 	NFS_BOOT_RWSIZE=1024
901.24Sgwroptions 	NFS_BOOT_BOOTPARAM
911.1Sgwr
921.17Sthorpejconfig		netbsd root on ? type nfs
931.1Sgwr
941.25Sgwr# On-board I/O space (required)
951.25Sgwrinclude "arch/sun3/conf/obio.sun3"
961.25Sgwr
971.25Sgwr# On-board memory (optional)
981.25Sgwr# See frame-buffers
991.25Sgwrobmem0 at mainbus?
1001.25Sgwr
1011.25Sgwr# VME bus support (optional)
1021.28Sgwr# (none on desktop machines)
1031.25Sgwr
1041.11Sgwr#
1051.12Sgwr# Serial ports
1061.12Sgwr#
1071.19Slukemzstty0	at zsc1 channel 0	# ttya
1081.19Slukemzstty1	at zsc1 channel 1	# ttyb
1091.12Sgwr
1101.19Slukemkbd0	at zsc0 channel 0	# keyboard
1111.19Slukemms0	at zsc0 channel 1	# mouse
1121.12Sgwr
1131.12Sgwr#
1141.11Sgwr# Network devices
1151.11Sgwr#
1161.1Sgwr
1171.11Sgwr# Intel Ethernet (onboard, or VME)
1181.69Sabsie0 at obio0 addr 0x0C0000 ipl 3
1191.35Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1201.6Sgwr
1211.11Sgwr# Lance Ethernet (only onboard)
1221.25Sgwrle0 at obio0 addr 0x120000 ipl 3
1231.23Sgwr
1241.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1251.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1261.25Sgwroptions 	LANCE_REVC_BUG
1271.25Sgwr
1281.11Sgwr#
1291.11Sgwr# Frame buffer devices
1301.11Sgwr#
1311.11Sgwr
1321.26Sgwrinclude "arch/sun3/conf/bw2.sun3"
1331.26Sgwrinclude "arch/sun3/conf/cg4.sun3"
1341.11Sgwr
1351.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1361.26Sgwr# cgsix0 at obmem0 addr 0xff000000
1371.11Sgwr
1381.11Sgwr# 3/60 P4 24-bit color frame buffer
1391.26Sgwr# cgeight0 at obmem0 addr 0xff300000
1401.11Sgwr
1411.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1421.28Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1431.11Sgwr
1441.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1451.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1461.11Sgwr
1471.11Sgwr# Misc.
1481.66Schristospseudo-device	loop			# network loopback
1491.52Srpaulopseudo-device	bpfilter		# packet filter
1501.68Sabs#pseudo-device	carp			# Common Address Redundancy Protocol
1511.53Scubepseudo-device	sl			# CSLIP
1521.53Scubepseudo-device	ppp			# PPP
1531.68Sabs#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1541.68Sabs#pseudo-device	tun			# network tunneling over tty
1551.68Sabs#pseudo-device	tap			# virtual Ethernet
1561.53Scube#pseudo-device	gre			# generic L3 over IP tunnel
1571.75Smaxv#pseudo-device	npf			# NPF packet filter
1581.68Sabs#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1591.68Sabs#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1601.68Sabs#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1611.68Sabs#pseudo-device	vlan			# IEEE 802.1q encapsulation
1621.68Sabs#pseudo-device	bridge			# simple inter-network bridging
1631.79Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
1641.68Sabs#pseudo-device	agr			# IEEE 802.3ad link aggregation
1651.6Sgwr
1661.30Sjdolecekpseudo-device	pty			# pseudo-terminals
1671.39Slukempseudo-device	clockctl		# user control of clock subsystem
168