DISKLESS revision 1.64
11.64Sapb# $NetBSD: DISKLESS,v 1.64 2012/10/17 14:48:17 apb 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.58Stsutsuimakeoptions COPTS="-Os" # 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 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.55Smanuoptions COMPAT_15 # NetBSD 1.5 541.42Scloptions COMPAT_16 # NetBSD 1.6 551.45Stsutsuioptions COMPAT_20 # NetBSD 2.0 561.56Stsutsuioptions COMPAT_30 # NetBSD 3.0 571.60Stsutsuioptions COMPAT_40 # NetBSD 4.0 581.60Stsutsuioptions COMPAT_50 # NetBSD 5.0 compatibility. 591.64Sapboptions COMPAT_60 # NetBSD 6.0 compatibility. 601.28Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 611.33Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 621.56Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 631.1Sgwr 641.1Sgwr# Filesystem options 651.20Sgwr#file-system FFS # Berkeley Fast Filesystem 661.20Sgwrfile-system NFS # Sun NFS client support 671.20Sgwr#file-system CD9660 # ISO 9660 + Rock Ridge file system 681.28Sgwr#file-system FDESC # /dev/fd/* 691.28Sgwr#file-system KERNFS # /kern 701.28Sgwr#file-system NULLFS # loopback file system 711.28Sgwr#file-system PROCFS # /proc 721.20Sgwr#file-system UNION # union file system 731.20Sgwr#file-system MFS # memory-based filesystem 741.49Schristos#file-system PTYFS # /dev/pts/N support 751.17Sthorpej 761.20Sgwr#options NFSSERVER # nfs server support 771.62Sbouyer#options QUOTA # legacy UFS quotas 781.62Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 791.63Swiz#options FFS_EI # FFS Endian Independent support 801.1Sgwr 811.1Sgwr# Networking options 821.50Sisakioptions INET # IP protocol stack support 831.20Sgwr#options GATEWAY # IP packet forwarding 841.20Sgwr#options ISO,TPIP # OSI networking 851.20Sgwr#options EON # OSI tunneling over IP 861.20Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 871.33Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 881.20Sgwr 891.20Sgwr# Work-around for root on slow servers (insurance...) 901.6Sgwroptions NFS_BOOT_RWSIZE=1024 911.24Sgwroptions NFS_BOOT_BOOTPARAM 921.1Sgwr 931.17Sthorpejconfig netbsd root on ? type nfs 941.1Sgwr 951.25Sgwr# On-board I/O space (required) 961.25Sgwrinclude "arch/sun3/conf/obio.sun3" 971.25Sgwr 981.25Sgwr# On-board memory (optional) 991.25Sgwr# See frame-buffers 1001.25Sgwrobmem0 at mainbus? 1011.25Sgwr 1021.25Sgwr# VME bus support (optional) 1031.28Sgwr# (none on desktop machines) 1041.25Sgwr 1051.11Sgwr# 1061.12Sgwr# Serial ports 1071.12Sgwr# 1081.19Slukemzstty0 at zsc1 channel 0 # ttya 1091.19Slukemzstty1 at zsc1 channel 1 # ttyb 1101.12Sgwr 1111.19Slukemkbd0 at zsc0 channel 0 # keyboard 1121.19Slukemms0 at zsc0 channel 1 # mouse 1131.12Sgwr 1141.12Sgwr# 1151.11Sgwr# Network devices 1161.11Sgwr# 1171.1Sgwr 1181.11Sgwr# Intel Ethernet (onboard, or VME) 1191.28Sgwr#ie0 at obio0 addr 0x0C0000 ipl 3 1201.35Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1211.6Sgwr 1221.11Sgwr# Lance Ethernet (only onboard) 1231.25Sgwrle0 at obio0 addr 0x120000 ipl 3 1241.23Sgwr 1251.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1261.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1271.25Sgwroptions LANCE_REVC_BUG 1281.25Sgwr 1291.11Sgwr# 1301.11Sgwr# Frame buffer devices 1311.11Sgwr# 1321.11Sgwr 1331.26Sgwrinclude "arch/sun3/conf/bw2.sun3" 1341.26Sgwrinclude "arch/sun3/conf/cg4.sun3" 1351.11Sgwr 1361.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1371.26Sgwr# cgsix0 at obmem0 addr 0xff000000 1381.11Sgwr 1391.11Sgwr# 3/60 P4 24-bit color frame buffer 1401.26Sgwr# cgeight0 at obmem0 addr 0xff300000 1411.11Sgwr 1421.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1431.28Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1441.11Sgwr 1451.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1461.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1471.11Sgwr 1481.11Sgwr# Misc. 1491.20Sgwrpseudo-device loop 1 # network loopback 1501.52Srpaulopseudo-device bpfilter # packet filter 1511.53Scubepseudo-device sl # CSLIP 1521.53Scubepseudo-device ppp # PPP 1531.53Scubepseudo-device tun # network tunneling over tty 1541.53Scube#pseudo-device gre # generic L3 over IP tunnel 1551.20Sgwr#pseudo-device ipfilter # ip filter 1561.6Sgwr 1571.30Sjdolecekpseudo-device pty # pseudo-terminals 1581.39Slukempseudo-device clockctl # user control of clock subsystem 159