DISKLESS revision 1.69
11.69Sabs# $NetBSD: DISKLESS,v 1.69 2014/06/25 16:14:43 abs 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.68Sabs#options SCSIDEBUG 451.68Sabs#options SCSIVERBOSE # Verbose SCSI errors 461.20Sgwr 471.32Swiz# Compatibility options 481.28Sgwr#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 491.68Sabs#options COMPAT_SVR4 # can run SVR4 executables 501.28Sgwr#options COMPAT_43 # and 4.3BSD and ... 511.28Sgwr#options COMPAT_10 # NetBSD 1.0 521.28Sgwr#options COMPAT_11 # NetBSD 1.1 531.28Sgwr#options COMPAT_12 # NetBSD 1.2 541.22Skleinkoptions COMPAT_13 # NetBSD 1.3 551.29Saugustssoptions COMPAT_14 # NetBSD 1.4 561.55Smanuoptions COMPAT_15 # NetBSD 1.5 571.42Scloptions COMPAT_16 # NetBSD 1.6 581.45Stsutsuioptions COMPAT_20 # NetBSD 2.0 591.56Stsutsuioptions COMPAT_30 # NetBSD 3.0 601.60Stsutsuioptions COMPAT_40 # NetBSD 4.0 611.60Stsutsuioptions COMPAT_50 # NetBSD 5.0 compatibility. 621.64Sapboptions COMPAT_60 # NetBSD 6.0 compatibility. 631.68Sabs#options COMPAT_AOUT_M68K # support for NetBSD a.out executables 641.28Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 651.68Sabs#options EXEC_AOUT # support for a.out executables 661.33Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 671.56Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 681.1Sgwr 691.1Sgwr# Filesystem options 701.20Sgwr#file-system FFS # Berkeley Fast Filesystem 711.20Sgwrfile-system NFS # Sun NFS client support 721.20Sgwr#file-system CD9660 # ISO 9660 + Rock Ridge file system 731.28Sgwr#file-system FDESC # /dev/fd/* 741.28Sgwr#file-system KERNFS # /kern 751.28Sgwr#file-system NULLFS # loopback file system 761.68Sabs#file-system OVERLAY # overlay file system 771.28Sgwr#file-system PROCFS # /proc 781.20Sgwr#file-system UNION # union file system 791.20Sgwr#file-system MFS # memory-based filesystem 801.49Schristos#file-system PTYFS # /dev/pts/N support 811.68Sabs#file-system TMPFS # Efficient memory file-system 821.68Sabs#file-system UDF # experimental - OSTA UDF CD/DVD file-system 831.17Sthorpej 841.20Sgwr#options NFSSERVER # nfs server support 851.62Sbouyer#options QUOTA # legacy UFS quotas 861.62Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 871.63Swiz#options FFS_EI # FFS Endian Independent support 881.68Sabs#options WAPBL # File system journaling support 891.68Sabs#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 901.68Sabs#options FFS_NO_SNAPSHOT # No FFS snapshot support 911.1Sgwr 921.1Sgwr# Networking options 931.50Sisakioptions INET # IP protocol stack support 941.68Sabs#options INET6 # IPV6 951.68Sabs#options IPSEC # IP security 961.68Sabs#options IPSEC_DEBUG # debug for IP security 971.20Sgwr#options GATEWAY # IP packet forwarding 981.33Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 991.20Sgwr 1001.20Sgwr# Work-around for root on slow servers (insurance...) 1011.6Sgwroptions NFS_BOOT_RWSIZE=1024 1021.24Sgwroptions NFS_BOOT_BOOTPARAM 1031.1Sgwr 1041.17Sthorpejconfig netbsd root on ? type nfs 1051.1Sgwr 1061.25Sgwr# On-board I/O space (required) 1071.25Sgwrinclude "arch/sun3/conf/obio.sun3" 1081.25Sgwr 1091.25Sgwr# On-board memory (optional) 1101.25Sgwr# See frame-buffers 1111.25Sgwrobmem0 at mainbus? 1121.25Sgwr 1131.25Sgwr# VME bus support (optional) 1141.28Sgwr# (none on desktop machines) 1151.25Sgwr 1161.11Sgwr# 1171.12Sgwr# Serial ports 1181.12Sgwr# 1191.19Slukemzstty0 at zsc1 channel 0 # ttya 1201.19Slukemzstty1 at zsc1 channel 1 # ttyb 1211.12Sgwr 1221.19Slukemkbd0 at zsc0 channel 0 # keyboard 1231.19Slukemms0 at zsc0 channel 1 # mouse 1241.12Sgwr 1251.12Sgwr# 1261.11Sgwr# Network devices 1271.11Sgwr# 1281.1Sgwr 1291.11Sgwr# Intel Ethernet (onboard, or VME) 1301.69Sabsie0 at obio0 addr 0x0C0000 ipl 3 1311.35Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1321.6Sgwr 1331.11Sgwr# Lance Ethernet (only onboard) 1341.25Sgwrle0 at obio0 addr 0x120000 ipl 3 1351.23Sgwr 1361.25Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1371.25Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1381.25Sgwroptions LANCE_REVC_BUG 1391.25Sgwr 1401.11Sgwr# 1411.11Sgwr# Frame buffer devices 1421.11Sgwr# 1431.11Sgwr 1441.26Sgwrinclude "arch/sun3/conf/bw2.sun3" 1451.26Sgwrinclude "arch/sun3/conf/cg4.sun3" 1461.11Sgwr 1471.11Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 1481.26Sgwr# cgsix0 at obmem0 addr 0xff000000 1491.11Sgwr 1501.11Sgwr# 3/60 P4 24-bit color frame buffer 1511.26Sgwr# cgeight0 at obmem0 addr 0xff300000 1521.11Sgwr 1531.25Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1541.28Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1551.11Sgwr 1561.25Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1571.25Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1581.11Sgwr 1591.11Sgwr# Misc. 1601.66Schristospseudo-device loop # network loopback 1611.52Srpaulopseudo-device bpfilter # packet filter 1621.68Sabs#pseudo-device carp # Common Address Redundancy Protocol 1631.53Scubepseudo-device sl # CSLIP 1641.53Scubepseudo-device ppp # PPP 1651.68Sabs#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1661.68Sabs#pseudo-device tun # network tunneling over tty 1671.68Sabs#pseudo-device tap # virtual Ethernet 1681.53Scube#pseudo-device gre # generic L3 over IP tunnel 1691.20Sgwr#pseudo-device ipfilter # ip filter 1701.68Sabs#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1711.68Sabs#pseudo-device faith # IPv[46] tcp relay translation i/f 1721.68Sabs#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1731.68Sabs#pseudo-device vlan # IEEE 802.1q encapsulation 1741.68Sabs#pseudo-device bridge # simple inter-network bridging 1751.68Sabs#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1761.68Sabs#pseudo-device agr # IEEE 802.3ad link aggregation 1771.6Sgwr 1781.30Sjdolecekpseudo-device pty # pseudo-terminals 1791.39Slukempseudo-device clockctl # user control of clock subsystem 180