DISKLESS revision 1.58
11.58Stsutsui# $NetBSD: DISKLESS,v 1.58 2008/04/05 22:08:41 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.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 SHMMAXPGS=1024 # 1024 pages is the default 271.20Sgwr#options LKM # loadable kernel modules 281.20Sgwr#options INSECURE # disable kernel security level 291.40Slukemoptions USERCONF # userconf(4) support 301.56Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 311.43Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 321.15Sthorpej 331.20Sgwr# Which kernel debugger? Uncomment either this: 341.28Sgwr#options DDB 351.18Sgwr# ... or these for KGDB (gdb remote target) 361.35Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 371.20Sgwr#options KGDB 381.34Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 391.20Sgwr 401.20Sgwr# Other debugging options 411.21Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 421.20Sgwr#options DEBUG # kernel debugging code 431.20Sgwr#options DIAGNOSTIC # extra kernel sanity checking 441.20Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 451.20Sgwr#options PMAP_DEBUG 461.20Sgwr 471.32Swiz# Compatibility options 481.28Sgwr#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 491.28Sgwr#options COMPAT_43 # and 4.3BSD and ... 501.28Sgwr#options COMPAT_10 # NetBSD 1.0 511.28Sgwr#options COMPAT_11 # NetBSD 1.1 521.28Sgwr#options COMPAT_12 # NetBSD 1.2 531.22Skleinkoptions COMPAT_13 # NetBSD 1.3 541.29Saugustssoptions COMPAT_14 # NetBSD 1.4 551.55Smanuoptions COMPAT_15 # NetBSD 1.5 561.42Scloptions COMPAT_16 # NetBSD 1.6 571.45Stsutsuioptions COMPAT_20 # NetBSD 2.0 581.56Stsutsuioptions COMPAT_30 # NetBSD 3.0 591.56Stsutsuioptions COMPAT_40 # NetBSD 4.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.20Sgwr#options QUOTA # FFS quotas 781.28Sgwr#options FFS_EI # FFS Endian Independant support 791.1Sgwr 801.1Sgwr# Networking options 811.50Sisakioptions INET # IP protocol stack support 821.20Sgwr#options GATEWAY # IP packet forwarding 831.20Sgwr#options ISO,TPIP # OSI networking 841.20Sgwr#options EON # OSI tunneling over IP 851.20Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 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.28Sgwr#ie0 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.20Sgwrpseudo-device loop 1 # network loopback 1491.52Srpaulopseudo-device bpfilter # packet filter 1501.53Scubepseudo-device sl # CSLIP 1511.53Scubepseudo-device ppp # PPP 1521.53Scubepseudo-device tun # network tunneling over tty 1531.53Scube#pseudo-device gre # generic L3 over IP tunnel 1541.20Sgwr#pseudo-device ipfilter # ip filter 1551.6Sgwr 1561.30Sjdolecekpseudo-device pty # pseudo-terminals 1571.39Slukempseudo-device clockctl # user control of clock subsystem 158