INSTALL3X revision 1.21
11.21Scl# $NetBSD: INSTALL3X,v 1.21 2003/09/22 14:11:30 cl Exp $
21.1Sgwr#
31.1Sgwr# INSTALL3X - Installation kernel for the Sun3X
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.sun3x"
111.17Satatat
121.17Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
131.6Sabs
141.14Slukemmakeoptions	COPTS="-Os"	# Optimise for space. Implies -O2
151.1Sgwr
161.1Sgwr# Machines to be supported by this kernel
171.1Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
181.1Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
191.1Sgwr
201.1Sgwr# Needs to be set per system.  i.e change these as you see fit
211.1Sgwrmaxusers	2
221.1Sgwr
231.1Sgwr# Standard system options
241.1Sgwr#options 	KTRACE		# system call tracing
251.1Sgwr#options 	SYSVMSG		# System V message queues
261.1Sgwr#options 	SYSVSEM		# System V semaphores
271.1Sgwr#options 	SYSVSHM		# System V shared memory
281.1Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
291.1Sgwr#options 	LKM		# loadable kernel modules
301.1Sgwr#options 	INSECURE	# disable kernel security level
311.19Slukemoptions 	USERCONF	# userconf(4) support
321.18Sabsoptions		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
331.18Sabsoptions 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
341.1Sgwr
351.1Sgwr# Which kernel debugger?  Uncomment either this:
361.1Sgwr#options 	DDB
371.1Sgwr# ... or these for KGDB (gdb remote target)
381.14Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
391.1Sgwr#options 	KGDB
401.13Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
411.1Sgwr
421.1Sgwr# Other debugging options
431.1Sgwr#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
441.1Sgwr#options 	DEBUG		# kernel debugging code
451.1Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
461.1Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
471.1Sgwr#options 	PMAP_DEBUG
481.1Sgwr#options 	SCSIDEBUG
491.1Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
501.1Sgwr
511.11Swiz# Compatibility options
521.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
531.1Sgwr#options 	COMPAT_43	# and 4.3BSD and ...
541.1Sgwr#options 	COMPAT_10	# NetBSD 1.0
551.1Sgwr#options 	COMPAT_11	# NetBSD 1.1
561.3Sgwr#options 	COMPAT_12	# NetBSD 1.2
571.1Sgwroptions 	COMPAT_13	# NetBSD 1.3
581.4Saugustssoptions 	COMPAT_14	# NetBSD 1.4
591.21Scloptions 	COMPAT_15	# NetBSD 1.5
601.21Scloptions 	COMPAT_16	# NetBSD 1.6
611.3Sgwr#options 	COMPAT_LINUX	# can run Linux/m68k executables
621.12Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
631.1Sgwr
641.7Sabs# File systems
651.1Sgwrfile-system	FFS		# Berkeley Fast Filesystem
661.1Sgwrfile-system	NFS		# Sun NFS client support
671.1Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
681.1Sgwrfile-system	MSDOSFS		# MS-DOS FAT file system
691.1Sgwr#file-system	FDESC		# /dev/fd/*
701.1Sgwrfile-system	KERNFS		# /kern
711.1Sgwr#file-system	NULLFS		# loopback file system
721.1Sgwr#file-system	PROCFS		# /proc
731.1Sgwr#file-system	UNION		# union file system
741.3Sgwr#file-system	MFS		# memory-based filesystem
751.1Sgwr
761.7Sabs# Filesystem options
771.1Sgwr#options 	NFSSERVER	# nfs server support
781.1Sgwr#options 	QUOTA		# FFS quotas
791.3Sgwr#options 	FFS_EI		# FFS Endian Independant support
801.7Sabs#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
811.18Sabsoptions 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
821.1Sgwr
831.1Sgwr# Networking options
841.1Sgwroptions 	INET		# IP prototol stack support
851.1Sgwr#options 	GATEWAY		# IP packet forwarding
861.1Sgwr#options 	ISO,TPIP	# OSI networking
871.1Sgwr#options 	EON		# OSI tunneling over IP
881.1Sgwr#options 	CCITT,LLC,HDLC	# X.25
891.1Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
901.12Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
911.1Sgwr
921.1Sgwr# Work-around for root on slow servers (insurance...)
931.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
941.1Sgwroptions 	NFS_BOOT_BOOTPARAM
951.1Sgwr
961.1Sgwrconfig		netbsd root on ? type ?
971.1Sgwr
981.1Sgwr# On-board I/O space (required)
991.1Sgwrinclude "arch/sun3/conf/obio.sun3x"
1001.1Sgwr
1011.1Sgwr# On-board memory (optional)
1021.1Sgwr# See frame-buffers
1031.1Sgwr# obmem0 at mainbus?
1041.1Sgwr
1051.1Sgwr# VME bus support (optional)
1061.1Sgwr# One unit for each address space
1071.1Sgwrvme0 at mainbus? # A16/D16
1081.1Sgwrvme1 at mainbus? # A16/D32
1091.1Sgwrvme2 at mainbus? # A24/D16
1101.1Sgwrvme3 at mainbus? # A24/D32
1111.1Sgwrvme4 at mainbus? # A32/D16
1121.1Sgwrvme5 at mainbus? # A32/D32
1131.1Sgwr
1141.1Sgwr#
1151.1Sgwr# Serial ports
1161.1Sgwr#
1171.1Sgwrzstty0	at zsc1 channel 0	# ttya
1181.1Sgwrzstty1	at zsc1 channel 1	# ttyb
1191.1Sgwr
1201.1Sgwrkbd0	at zsc0 channel 0	# keyboard
1211.1Sgwr#ms0	at zsc0 channel 1	# mouse
1221.1Sgwr
1231.1Sgwr#
1241.1Sgwr# Network devices
1251.1Sgwr#
1261.1Sgwr
1271.1Sgwr# Intel Ethernet (onboard, or VME)
1281.1Sgwrie0 at obio0 addr 0x65000000 ipl 3
1291.14Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1301.1Sgwr
1311.1Sgwr# Lance Ethernet (only onboard)
1321.1Sgwrle0 at obio0 addr 0x65002000 ipl 3
1331.1Sgwr
1341.1Sgwr#
1351.1Sgwr# Disk and tape devices
1361.1Sgwr#
1371.1Sgwr
1381.1Sgwr# Emulex SCSI (3/80 only)
1391.3Sgwr# Both `dma' and `esp' are needed.
1401.1Sgwr# See GENERIC3X for the flags description.
1411.3Sgwrdma0 at obio0 addr 0x66001000 ipl 2
1421.1Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
1431.1Sgwr
1441.1Sgwr# Floppy drive
1451.1Sgwrfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1461.14Slukemfd0	at fdc0	# First (and only) floppy drive.
1471.1Sgwr
1481.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1491.1Sgwr# See GENERIC3X for the flags description.
1501.14Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1511.14Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1521.1Sgwr
1531.1Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1541.1Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1551.1Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1561.1Sgwrxy* at xyc? drive ?
1571.1Sgwr
1581.1Sgwr# Xylogics 7053 controllers (VME A16/D32)
1591.1Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1601.1Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1611.1Sgwrxd* at xdc? drive ?
1621.1Sgwr
1631.1Sgwr# Xylogics 472 tape controllers?
1641.1Sgwr
1651.1Sgwr#
1661.1Sgwr# Frame buffer devices
1671.1Sgwr# (Not needed for installation kernels.)
1681.1Sgwr
1691.1Sgwr#
1701.1Sgwr# SCSI infrastructure
1711.1Sgwr#
1721.1Sgwrscsibus* at scsi?
1731.1Sgwr
1741.1Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1751.1Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1761.1Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1771.1Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1781.1Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1791.1Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1801.1Sgwr
1811.1Sgwr# Memory-disk drivers
1821.1Sgwr#pseudo-device	md		2
1831.1Sgwr
1841.1Sgwr# Misc.
1851.1Sgwrpseudo-device	loop		1	# network loopback
1861.1Sgwr#pseudo-device	bpfilter	8	# packet filter
1871.1Sgwrpseudo-device	sl		2	# CSLIP
1881.1Sgwrpseudo-device	ppp		2	# PPP
1891.1Sgwrpseudo-device	tun		2	# network tunneling over tty
1901.3Sgwr#pseudo-device	gre		2	# generic L3 over IP tunnel
1911.1Sgwr#pseudo-device	ipfilter		# ip filter
1921.1Sgwr#pseudo-device	rnd			# /dev/random and in-kernel generator
1931.1Sgwr
1941.8Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
1951.1Sgwr#pseudo-device	vnd		4	# paging to files
1961.1Sgwr#pseudo-device	ccd		4	# concatenated disks
197