INSTALL revision 1.12
11.12Sabs# $NetBSD: INSTALL,v 1.12 2001/07/08 16:32:25 abs Exp $
21.1Sgwr#
31.1Sgwr# INSTALL - Installation kernel for the Sun3
41.1Sgwr#
51.1Sgwr# This kernel is derived from GENERIC with some features commented out.
61.1Sgwr#
71.1Sgwr# This kernel does NOT support X, mice, non-NetBSD emulation, etc.
81.1Sgwr#
91.1Sgwr
101.1Sgwrinclude "arch/sun3/conf/std.sun3"
111.6Sabs
121.6Sabsmakeoptions     COPTS="-Os"             # Optimise for space. Implies -O2
131.1Sgwr
141.1Sgwr# Machines to be supported by this kernel
151.1Sgwroptions 	FPU_EMULATE
161.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
171.1Sgwr
181.1Sgwr# Needs to be set per system.  i.e change these as you see fit
191.1Sgwrmaxusers	2
201.1Sgwr
211.1Sgwr# Standard system options
221.1Sgwr#options 	KTRACE		# system call tracing
231.1Sgwr#options 	SYSVMSG		# System V message queues
241.1Sgwr#options 	SYSVSEM		# System V semaphores
251.1Sgwr#options 	SYSVSHM		# System V shared memory
261.1Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
271.1Sgwr#options 	LKM		# loadable kernel modules
281.1Sgwr#options 	INSECURE	# disable kernel security level
291.1Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
301.1Sgwr
311.1Sgwr# Which kernel debugger?  Uncomment either this:
321.1Sgwr#options 	DDB
331.1Sgwr# ... or these for KGDB (gdb remote target)
341.1Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
351.1Sgwr#options 	KGDB
361.1Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
371.1Sgwr
381.1Sgwr# Other debugging options
391.1Sgwr#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.1Sgwr#options 	DEBUG		# kernel debugging code
411.1Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
421.1Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
431.1Sgwr#options 	PMAP_DEBUG
441.1Sgwr#options 	SCSIDEBUG
451.1Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
461.1Sgwr
471.11Swiz# Compatibility options
481.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
491.1Sgwr#options 	COMPAT_43	# and 4.3BSD and ...
501.1Sgwr#options 	COMPAT_10	# NetBSD 1.0
511.1Sgwr#options 	COMPAT_11	# NetBSD 1.1
521.3Sgwr#options 	COMPAT_12	# NetBSD 1.2
531.1Sgwroptions 	COMPAT_13	# NetBSD 1.3
541.4Saugustssoptions 	COMPAT_14	# NetBSD 1.4
551.3Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
561.12Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
571.1Sgwr
581.7Sabs# File systems
591.1Sgwrfile-system	FFS		# Berkeley Fast Filesystem
601.1Sgwrfile-system	NFS		# Sun NFS client support
611.1Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
621.1Sgwr#file-system	FDESC		# /dev/fd/*
631.1Sgwrfile-system	KERNFS		# /kern
641.1Sgwr#file-system	NULLFS		# loopback file system
651.1Sgwr#file-system	PROCFS		# /proc
661.1Sgwr#file-system	UNION		# union file system
671.3Sgwr#file-system	MFS		# memory-based filesystem
681.1Sgwr
691.7Sabs# Filesystem options
701.1Sgwr#options 	NFSSERVER	# nfs server support
711.1Sgwr#options 	QUOTA		# FFS quotas
721.3Sgwr#options 	FFS_EI		# FFS Endian Independant support
731.7Sabs#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
741.7Sabs#options 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
751.1Sgwr
761.1Sgwr# Networking options
771.1Sgwroptions 	INET		# IP prototol stack support
781.1Sgwr#options 	GATEWAY		# IP packet forwarding
791.1Sgwr#options 	ISO,TPIP	# OSI networking
801.1Sgwr#options 	EON		# OSI tunneling over IP
811.1Sgwr#options 	CCITT,LLC,HDLC	# X.25
821.1Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
831.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
841.1Sgwr
851.1Sgwr# Work-around for root on slow servers (insurance...)
861.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
871.1Sgwroptions 	NFS_BOOT_BOOTPARAM
881.1Sgwr
891.1Sgwrconfig		netbsd root on ? type ?
901.1Sgwr
911.1Sgwr# On-board I/O space (required)
921.1Sgwrinclude "arch/sun3/conf/obio.sun3"
931.1Sgwr
941.1Sgwr# On-board memory (optional)
951.1Sgwr# See frame-buffers
961.1Sgwr# obmem0 at mainbus?
971.1Sgwr
981.1Sgwr# VME bus support (optional)
991.1Sgwr# One unit for each address space
1001.1Sgwrvme0 at mainbus? # A16/D16
1011.1Sgwrvme1 at mainbus? # A16/D32
1021.1Sgwrvme2 at mainbus? # A24/D16
1031.1Sgwrvme3 at mainbus? # A24/D32
1041.1Sgwrvme4 at mainbus? # A32/D16
1051.1Sgwrvme5 at mainbus? # A32/D32
1061.1Sgwr
1071.1Sgwr#
1081.1Sgwr# Serial ports
1091.1Sgwr#
1101.1Sgwrzstty0	at zsc1 channel 0	# ttya
1111.1Sgwrzstty1	at zsc1 channel 1	# ttyb
1121.1Sgwr
1131.1Sgwrkbd0	at zsc0 channel 0	# keyboard
1141.1Sgwr#ms0	at zsc0 channel 1	# mouse
1151.1Sgwr
1161.1Sgwr#
1171.1Sgwr# Network devices
1181.1Sgwr#
1191.1Sgwr
1201.1Sgwr# Intel Ethernet (onboard, or VME)
1211.1Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1221.1Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1231.1Sgwr
1241.1Sgwr# Lance Ethernet (only onboard)
1251.1Sgwrle0 at obio0 addr 0x120000 ipl 3
1261.1Sgwr
1271.1Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1281.1Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1291.1Sgwroptions 	LANCE_REVC_BUG
1301.1Sgwr
1311.1Sgwr#
1321.1Sgwr# Disk and tape devices
1331.1Sgwr#
1341.1Sgwr
1351.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1361.1Sgwr# See GENERIC for the flags description.
1371.1Sgwrsi0 at obio0 addr 0x140000 ipl 2
1381.1Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1391.1Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1401.1Sgwr
1411.1Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1421.1Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1431.1Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1441.1Sgwrxy* at xyc? drive ?
1451.1Sgwr
1461.1Sgwr# Xylogics 7053 controllers (VME A16/D32)
1471.1Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1481.1Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1491.1Sgwrxd* at xdc? drive ?
1501.1Sgwr
1511.1Sgwr# Xylogics 472 tape controllers?
1521.1Sgwr
1531.1Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1541.1Sgwr# Note: the board uses vect and vect+1
1551.1Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1561.1Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1571.1Sgwrsi* at sebuf?
1581.1Sgwrie* at sebuf?
1591.1Sgwr
1601.1Sgwr#
1611.1Sgwr# Frame buffer devices
1621.1Sgwr# (Not needed for installation kernels.)
1631.1Sgwr
1641.1Sgwr#
1651.1Sgwr# SCSI infrastructure
1661.1Sgwr#
1671.1Sgwrscsibus* at scsi?
1681.1Sgwr
1691.1Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1701.1Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1711.1Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1721.1Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1731.1Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1741.1Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1751.1Sgwr
1761.1Sgwr# Memory-disk drivers
1771.1Sgwr#pseudo-device	md		2
1781.1Sgwr
1791.1Sgwr# Misc.
1801.1Sgwrpseudo-device	loop		1	# network loopback
1811.1Sgwr#pseudo-device	bpfilter	8	# packet filter
1821.1Sgwrpseudo-device	sl		2	# CSLIP
1831.1Sgwrpseudo-device	ppp		2	# PPP
1841.1Sgwrpseudo-device	tun		2	# network tunneling over tty
1851.3Sgwr#pseudo-device	gre		2	# generic L3 over IP tunnel
1861.1Sgwr#pseudo-device	ipfilter		# ip filter
1871.1Sgwr#pseudo-device	rnd			# /dev/random and in-kernel generator
1881.1Sgwr
1891.8Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1901.1Sgwr#pseudo-device	vnd		4	# paging to files
1911.1Sgwr#pseudo-device	ccd		4	# concatenated disks
192