DISKLESS revision 1.47
1# $NetBSD: DISKLESS,v 1.47 2005/07/31 04:04:46 yamt Exp $ 2 3# DISKLESS - Root and swap on NFS 4# Desktop machines only (3/50, 3/60, 3/110) 5# 6# Includes devices needed to run as an X-terminal 7 8include "arch/sun3/conf/std.sun3" 9 10#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 11 12# Machines to be supported by this kernel 13options FPU_EMULATE 14options HAVECACHE # Sun3/260 VAC 15 16# Needs to be set per system. i.e change these as you see fit 17maxusers 2 18 19# Standard system options 20#options KTRACE # system call tracing 21#options SYSVMSG # System V message queues 22#options SYSVSEM # System V semaphores 23#options SYSVSHM # System V shared memory 24#options SHMMAXPGS=1024 # 1024 pages is the default 25#options LKM # loadable kernel modules 26#options INSECURE # disable kernel security level 27options USERCONF # userconf(4) support 28#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 29#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 30 31# Which kernel debugger? Uncomment either this: 32#options DDB 33# ... or these for KGDB (gdb remote target) 34#makeoptions DEBUG="-g" # debugging symbols for gdb 35#options KGDB 36#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 37 38# Other debugging options 39#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 40#options DEBUG # kernel debugging code 41#options DIAGNOSTIC # extra kernel sanity checking 42#options KMEMSTATS # kernel memory statistics (vmstat -m) 43#options PMAP_DEBUG 44 45# Compatibility options 46#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 47#options COMPAT_43 # and 4.3BSD and ... 48#options COMPAT_10 # NetBSD 1.0 49#options COMPAT_11 # NetBSD 1.1 50#options COMPAT_12 # NetBSD 1.2 51options COMPAT_13 # NetBSD 1.3 52options COMPAT_14 # NetBSD 1.4 53options COMPAT_16 # NetBSD 1.6 54options COMPAT_20 # NetBSD 2.0 55#options COMPAT_LINUX # can run Linux/m68k executables 56#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 57options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 58 59# Filesystem options 60#file-system FFS # Berkeley Fast Filesystem 61file-system NFS # Sun NFS client support 62#file-system CD9660 # ISO 9660 + Rock Ridge file system 63#file-system FDESC # /dev/fd/* 64#file-system KERNFS # /kern 65#file-system NULLFS # loopback file system 66#file-system PROCFS # /proc 67#file-system UNION # union file system 68#file-system MFS # memory-based filesystem 69 70#options NFSSERVER # nfs server support 71#options QUOTA # FFS quotas 72#options FFS_EI # FFS Endian Independant support 73 74# Networking options 75options INET # IP prototol stack support 76#options GATEWAY # IP packet forwarding 77#options ISO,TPIP # OSI networking 78#options EON # OSI tunneling over IP 79#options CCITT,LLC,HDLC # X.25 80#options PFIL_HOOKS # pfil(9) packet filter hooks. 81#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 82 83# Work-around for root on slow servers (insurance...) 84options NFS_BOOT_RWSIZE=1024 85options NFS_BOOT_BOOTPARAM 86 87config netbsd root on ? type nfs 88 89# On-board I/O space (required) 90include "arch/sun3/conf/obio.sun3" 91 92# On-board memory (optional) 93# See frame-buffers 94obmem0 at mainbus? 95 96# VME bus support (optional) 97# (none on desktop machines) 98 99# 100# Serial ports 101# 102zstty0 at zsc1 channel 0 # ttya 103zstty1 at zsc1 channel 1 # ttyb 104 105kbd0 at zsc0 channel 0 # keyboard 106ms0 at zsc0 channel 1 # mouse 107 108# 109# Network devices 110# 111 112# Intel Ethernet (onboard, or VME) 113#ie0 at obio0 addr 0x0C0000 ipl 3 114#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 115 116# Lance Ethernet (only onboard) 117le0 at obio0 addr 0x120000 ipl 3 118 119# All Sun3 machines with an "le" (3/50, 3/60) should be 120# presumed to have the old, buggy LANCE chip. (Rev. C) 121options LANCE_REVC_BUG 122 123# 124# Frame buffer devices 125# 126 127include "arch/sun3/conf/bw2.sun3" 128include "arch/sun3/conf/cg4.sun3" 129 130# 3/60 P4 accelerated 8-bit color frame buffer 131# cgsix0 at obmem0 addr 0xff000000 132 133# 3/60 P4 24-bit color frame buffer 134# cgeight0 at obmem0 addr 0xff300000 135 136# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 137# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 138 139# Support for the CG9 24-bit frame buffer (VME A32/D32). 140# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 141 142# Misc. 143pseudo-device loop 1 # network loopback 144pseudo-device bpfilter 8 # packet filter 145pseudo-device sl 2 # CSLIP 146pseudo-device ppp 2 # PPP 147pseudo-device tun 2 # network tunneling over tty 148#pseudo-device gre 2 # generic L3 over IP tunnel 149#pseudo-device ipfilter # ip filter 150 151pseudo-device pty # pseudo-terminals 152pseudo-device clockctl # user control of clock subsystem 153