INSTALL revision 1.15
1# $NetBSD: INSTALL,v 1.15 2002/01/27 13:23:28 jdolecek Exp $
2#
3# INSTALL - Installation kernel for the Sun3
4#
5# This kernel is derived from GENERIC with some features commented out.
6#
7# This kernel does NOT support X, mice, non-NetBSD emulation, etc.
8#
9
10include "arch/sun3/conf/std.sun3"
11
12makeoptions	COPTS="-Os"	# Optimise for space. Implies -O2
13
14# Machines to be supported by this kernel
15options 	FPU_EMULATE
16options 	HAVECACHE	# Sun3/260 VAC
17
18# Needs to be set per system.  i.e change these as you see fit
19maxusers	2
20
21# Standard system options
22#options 	KTRACE		# system call tracing
23#options 	SYSVMSG		# System V message queues
24#options 	SYSVSEM		# System V semaphores
25#options 	SYSVSHM		# System V shared memory
26#options 	SHMMAXPGS=1024	# 1024 pages is the default
27#options 	LKM		# loadable kernel modules
28#options 	INSECURE	# disable kernel security level
29#options 	UCONSOLE	# Allow non-root TIOCCONS
30options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
31
32# Which kernel debugger?  Uncomment either this:
33#options 	DDB
34# ... or these for KGDB (gdb remote target)
35#makeoptions	DEBUG="-g"	# debugging symbols for gdb
36#options 	KGDB
37#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
38
39# Other debugging options
40#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
41#options 	DEBUG		# kernel debugging code
42#options 	DIAGNOSTIC	# extra kernel sanity checking
43#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
44#options 	PMAP_DEBUG
45#options 	SCSIDEBUG
46#options 	SCSIVERBOSE		# Verbose SCSI errors
47
48# Compatibility options
49#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
50#options 	COMPAT_43	# and 4.3BSD and ...
51#options 	COMPAT_10	# NetBSD 1.0
52#options 	COMPAT_11	# NetBSD 1.1
53#options 	COMPAT_12	# NetBSD 1.2
54options 	COMPAT_13	# NetBSD 1.3
55options 	COMPAT_14	# NetBSD 1.4
56#options 	COMPAT_LINUX	# can run Linux/m68k executables
57#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
58
59# File systems
60file-system	FFS		# Berkeley Fast Filesystem
61file-system	NFS		# Sun NFS client support
62file-system	CD9660		# ISO 9660 + Rock Ridge file system
63#file-system	FDESC		# /dev/fd/*
64file-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# Filesystem options
71#options 	NFSSERVER	# nfs server support
72#options 	QUOTA		# FFS quotas
73#options 	FFS_EI		# FFS Endian Independant support
74#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
75#options 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
76
77# Networking options
78options 	INET		# IP prototol stack support
79#options 	GATEWAY		# IP packet forwarding
80#options 	ISO,TPIP	# OSI networking
81#options 	EON		# OSI tunneling over IP
82#options 	CCITT,LLC,HDLC	# X.25
83#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86# Work-around for root on slow servers (insurance...)
87options 	NFS_BOOT_RWSIZE=1024
88options 	NFS_BOOT_BOOTPARAM
89
90config		netbsd root on ? type ?
91
92# On-board I/O space (required)
93include "arch/sun3/conf/obio.sun3"
94
95# On-board memory (optional)
96# See frame-buffers
97# obmem0 at mainbus?
98
99# VME bus support (optional)
100# One unit for each address space
101vme0 at mainbus? # A16/D16
102vme1 at mainbus? # A16/D32
103vme2 at mainbus? # A24/D16
104vme3 at mainbus? # A24/D32
105vme4 at mainbus? # A32/D16
106vme5 at mainbus? # A32/D32
107
108#
109# Serial ports
110#
111zstty0	at zsc1 channel 0	# ttya
112zstty1	at zsc1 channel 1	# ttyb
113
114kbd0	at zsc0 channel 0	# keyboard
115#ms0	at zsc0 channel 1	# mouse
116
117#
118# Network devices
119#
120
121# Intel Ethernet (onboard, or VME)
122ie0 at obio0 addr 0x0C0000 ipl 3
123ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
124
125# Lance Ethernet (only onboard)
126le0 at obio0 addr 0x120000 ipl 3
127
128# All Sun3 machines with an "le" (3/50, 3/60) should be
129# presumed to have the old, buggy LANCE chip. (Rev. C)
130options 	LANCE_REVC_BUG
131
132#
133# Disk and tape devices
134#
135
136# Sun3 "si" SCSI controller (NCR 5380)
137# See GENERIC for the flags description.
138si0 at obio0 addr 0x140000 ipl 2
139si0 at vme2 addr 0x200000 ipl 2 vect 0x40
140si1 at vme2 addr 0x204000 ipl 2 vect 0x41
141
142# Xylogics 450/451 controllers (VME A16/D16)
143xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
144xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
145xy* at xyc? drive ?
146
147# Xylogics 7053 controllers (VME A16/D32)
148xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
149xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
150xd* at xdc? drive ?
151
152# Xylogics 472 tape controllers?
153
154# Sun3/E SCSI+Ethernet board (VME A24/D16)
155# Note: the board uses vect and vect+1
156sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
157sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
158si* at sebuf?
159ie* at sebuf?
160
161#
162# Frame buffer devices
163# (Not needed for installation kernels.)
164
165#
166# SCSI infrastructure
167#
168scsibus* at scsi?
169
170sd* at scsibus? target ? lun ?		# SCSI disks
171st* at scsibus? target ? lun ?		# SCSI tapes
172cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
173#ch* at scsibus? target ? lun ?		# SCSI changer devices
174#ss* at scsibus? target ? lun ?		# SCSI scanners
175#uk* at scsibus? target ? lun ?		# unknown SCSI devices
176
177# Memory-disk drivers
178#pseudo-device	md		2
179
180# Misc.
181pseudo-device	loop		1	# network loopback
182#pseudo-device	bpfilter	8	# packet filter
183pseudo-device	sl		2	# CSLIP
184pseudo-device	ppp		2	# PPP
185pseudo-device	tun		2	# network tunneling over tty
186#pseudo-device	gre		2	# generic L3 over IP tunnel
187#pseudo-device	ipfilter		# ip filter
188#pseudo-device	rnd			# /dev/random and in-kernel generator
189
190pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
191#pseudo-device	vnd		4	# paging to files
192#pseudo-device	ccd		4	# concatenated disks
193