DISKLESS3X revision 1.49
11.49Sbouyer# $NetBSD: DISKLESS3X,v 1.49 2011/03/06 17:08:32 bouyer Exp $ 21.1Sgwr 31.15Sgwr# DISKLESS - Root and swap on NFS 41.15Sgwr# Desktop machines only (3/80) 51.15Sgwr# 61.1Sgwr# Includes devices needed to run as an X-terminal 71.1Sgwr 81.13Sgwrinclude "arch/sun3/conf/std.sun3x" 91.25Satatat 101.25Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 111.1Sgwr 121.45Stsutsuimakeoptions COPTS="-Os" # bootloader has size limit (~2MB) 131.45Stsutsui 141.13Sgwr# Machines to be supported by this kernel 151.13Sgwr# options FPU_EMULATE # XXX - Ever needed? 161.12Sgwr# options HAVE_IOCACHE # XXX - Not yet supported. 171.1Sgwr 181.1Sgwr# Needs to be set per system. i.e change these as you see fit 191.9Sgwrmaxusers 2 201.1Sgwr 211.1Sgwr# Standard system options 221.15Sgwr#options KTRACE # system call tracing 231.15Sgwr#options SYSVMSG # System V message queues 241.15Sgwr#options SYSVSEM # System V semaphores 251.15Sgwr#options SYSVSHM # System V shared memory 261.8Sgwr#options INSECURE # disable kernel security level 271.27Slukemoptions USERCONF # userconf(4) support 281.43Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 291.30Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 301.1Sgwr 311.8Sgwr# Which kernel debugger? Uncomment either this: 321.15Sgwr#options DDB 331.3Sgwr# ... or these for KGDB (gdb remote target) 341.22Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 351.1Sgwr#options KGDB 361.21Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 371.8Sgwr 381.8Sgwr# Other debugging options 391.10Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 401.8Sgwr#options DEBUG # kernel debugging code 411.8Sgwr#options DIAGNOSTIC # extra kernel sanity checking 421.8Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 431.8Sgwr#options PMAP_DEBUG 441.8Sgwr 451.19Swiz# Compatibility options 461.15Sgwr#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 471.15Sgwr#options COMPAT_43 # and 4.3BSD and ... 481.15Sgwr#options COMPAT_10 # NetBSD 1.0 491.15Sgwr#options COMPAT_11 # NetBSD 1.1 501.15Sgwr#options COMPAT_12 # NetBSD 1.2 511.11Skleinkoptions COMPAT_13 # NetBSD 1.3 521.16Saugustssoptions COMPAT_14 # NetBSD 1.4 531.42Smanuoptions COMPAT_15 # NetBSD 1.5 541.29Scloptions COMPAT_16 # NetBSD 1.6 551.32Stsutsuioptions COMPAT_20 # NetBSD 2.0 561.43Stsutsuioptions COMPAT_30 # NetBSD 3.0 571.47Stsutsuioptions COMPAT_40 # NetBSD 4.0 581.47Stsutsuioptions COMPAT_50 # NetBSD 5.0 compatibility. 591.15Sgwr#options COMPAT_LINUX # can run Linux/m68k executables 601.20Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 611.43Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 621.1Sgwr 631.1Sgwr# Filesystem options 641.9Sgwr#file-system FFS # Berkeley Fast Filesystem 651.8Sgwrfile-system NFS # Sun NFS client support 661.9Sgwr#file-system CD9660 # ISO 9660 + Rock Ridge file system 671.9Sgwr#file-system MSDOSFS # MS-DOS FAT file system 681.15Sgwr#file-system FDESC # /dev/fd/* 691.15Sgwr#file-system KERNFS # /kern 701.15Sgwr#file-system NULLFS # loopback file system 711.15Sgwr#file-system PROCFS # /proc 721.9Sgwr#file-system UNION # union file system 731.9Sgwr#file-system MFS # memory-based filesystem 741.36Schristos#file-system PTYFS # /dev/pts/N support 751.2Sthorpej 761.9Sgwr#options NFSSERVER # nfs server support 771.49Sbouyer#options QUOTA # legacy UFS quotas 781.49Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 791.15Sgwr#options FFS_EI # FFS Endian Independant support 801.1Sgwr 811.1Sgwr# Networking options 821.37Sisakioptions INET # IP protocol stack support 831.6Slukem#options GATEWAY # IP packet forwarding 841.9Sgwr#options ISO,TPIP # OSI networking 851.9Sgwr#options EON # OSI tunneling over IP 861.9Sgwr#options PFIL_HOOKS # pfil(9) packet filter hooks. 871.20Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 881.8Sgwr 891.8Sgwr# Work-around for root on slow servers (insurance...) 901.1Sgwroptions NFS_BOOT_RWSIZE=1024 911.12Sgwroptions NFS_BOOT_BOOTPARAM 921.1Sgwr 931.2Sthorpejconfig netbsd root on ? type nfs 941.1Sgwr 951.12Sgwr# On-board I/O space (required) 961.12Sgwrinclude "arch/sun3/conf/obio.sun3x" 971.12Sgwr 981.12Sgwr# On-board memory (optional) 991.12Sgwr# See frame-buffers 1001.12Sgwrobmem0 at mainbus? 1011.12Sgwr 1021.15Sgwr# VME bus support (optional) 1031.15Sgwr# (none on desktop machines) 1041.15Sgwr 1051.1Sgwr# 1061.1Sgwr# Serial ports 1071.1Sgwr# 1081.6Slukemzstty0 at zsc1 channel 0 # ttya 1091.6Slukemzstty1 at zsc1 channel 1 # ttyb 1101.1Sgwr 1111.6Slukemkbd0 at zsc0 channel 0 # keyboard 1121.6Slukemms0 at zsc0 channel 1 # mouse 1131.1Sgwr 1141.1Sgwr# 1151.1Sgwr# Network devices 1161.1Sgwr# 1171.1Sgwr 1181.12Sgwr# Intel Ethernet (onboard, or VME) 1191.15Sgwr#ie0 at obio0 addr 0x65000000 ipl 3 1201.22Slukem#ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1211.8Sgwr 1221.1Sgwr# Lance Ethernet (only onboard) 1231.1Sgwrle0 at obio0 addr 0x65002000 ipl 3 1241.1Sgwr 1251.1Sgwr# 1261.1Sgwr# Frame buffer devices 1271.1Sgwr# 1281.1Sgwr 1291.13Sgwr# P4 Monochrome frame buffer. 1301.22Slukembwtwo0 at obmem0 addr 0x50300000 1311.13Sgwr 1321.13Sgwr# P4 8-bit color frame buffer 1331.13Sgwrcgfour0 at obmem0 addr 0x50300000 1341.13Sgwr 1351.13Sgwr# P4 accelerated 8-bit color frame buffer 1361.15Sgwr# cgsix0 at obmem0 addr 0x50000000 1371.13Sgwr 1381.13Sgwr# P4 24-bit color frame buffer 1391.13Sgwr# cgeight0 at obmem0 addr 0x50300000 1401.13Sgwr 1411.13Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 1421.13Sgwr# This driver is going to need work in its mmap function. 1431.13Sgwr# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 1441.13Sgwr 1451.13Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 1461.13Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 1471.1Sgwr 1481.1Sgwr# Misc. 1491.6Slukempseudo-device loop 1 # network loopback 1501.39Srpaulopseudo-device bpfilter # packet filter 1511.40Scubepseudo-device sl # CSLIP 1521.40Scubepseudo-device ppp # PPP 1531.40Scubepseudo-device tun # network tunneling over tty 1541.40Scube#pseudo-device gre # generic L3 over IP tunnel 1551.9Sgwr#pseudo-device ipfilter # ip filter 1561.1Sgwr 1571.17Sjdolecekpseudo-device pty # pseudo-terminals 1581.26Slukempseudo-device clockctl # user control of clock subsystem 159