INSTALL3X revision 1.1
11.1Sgwr# $NetBSD: INSTALL3X,v 1.1 1998/03/08 19:29:40 gwr 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.1Sgwr
121.1Sgwr# Machines to be supported by this kernel
131.1Sgwr# options 	FPU_EMULATE	# XXX - Ever needed?
141.1Sgwr# options 	HAVE_IOCACHE	# XXX - Not yet supported.
151.1Sgwr
161.1Sgwr# Needs to be set per system.  i.e change these as you see fit
171.1Sgwrmaxusers	2
181.1Sgwr
191.1Sgwr# Standard system options
201.1Sgwr#options 	KTRACE		# system call tracing
211.1Sgwr#options 	SYSVMSG		# System V message queues
221.1Sgwr#options 	SYSVSEM		# System V semaphores
231.1Sgwr#options 	SYSVSHM		# System V shared memory
241.1Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
251.1Sgwr#options 	LKM		# loadable kernel modules
261.1Sgwr#options 	INSECURE	# disable kernel security level
271.1Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
281.1Sgwr
291.1Sgwr# Which kernel debugger?  Uncomment either this:
301.1Sgwr#options 	DDB
311.1Sgwr# ... or these for KGDB (gdb remote target)
321.1Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
331.1Sgwr#options 	KGDB
341.1Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
351.1Sgwr
361.1Sgwr# Other debugging options
371.1Sgwr#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
381.1Sgwr#options 	DEBUG		# kernel debugging code
391.1Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
401.1Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
411.1Sgwr#options 	PMAP_DEBUG
421.1Sgwr#options 	SCSIDEBUG
431.1Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
441.1Sgwr
451.1Sgwr# Compatability options
461.1Sgwr#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
471.1Sgwr#options 	COMPAT_43	# and 4.3BSD and ...
481.1Sgwr#options 	COMPAT_10	# NetBSD 1.0
491.1Sgwr#options 	COMPAT_11	# NetBSD 1.1
501.1Sgwroptions 	COMPAT_12	# NetBSD 1.2
511.1Sgwroptions 	COMPAT_13	# NetBSD 1.3
521.1Sgwr
531.1Sgwr# Filesystem options
541.1Sgwrfile-system	FFS		# Berkeley Fast Filesystem
551.1Sgwr#file-system	MFS		# memory-based filesystem
561.1Sgwrfile-system	NFS		# Sun NFS client support
571.1Sgwrfile-system	CD9660		# ISO 9660 + Rock Ridge file system
581.1Sgwrfile-system	MSDOSFS		# MS-DOS FAT file system
591.1Sgwr#file-system	FDESC		# /dev/fd/*
601.1Sgwrfile-system	KERNFS		# /kern
611.1Sgwr#file-system	NULLFS		# loopback file system
621.1Sgwr#file-system	PROCFS		# /proc
631.1Sgwr#file-system	UNION		# union file system
641.1Sgwr
651.1Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
661.1Sgwr#options 	NFSSERVER	# nfs server support
671.1Sgwr#options 	QUOTA		# FFS quotas
681.1Sgwr
691.1Sgwr# Networking options
701.1Sgwroptions 	INET		# IP prototol stack support
711.1Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
721.1Sgwr#options 	GATEWAY		# IP packet forwarding
731.1Sgwr#options 	ISO,TPIP	# OSI networking
741.1Sgwr#options 	EON		# OSI tunneling over IP
751.1Sgwr#options 	CCITT,LLC,HDLC	# X.25
761.1Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
771.1Sgwr
781.1Sgwr# Work-around for root on slow servers (insurance...)
791.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
801.1Sgwroptions 	NFS_BOOT_BOOTPARAM
811.1Sgwr
821.1Sgwrconfig		netbsd root on ? type ?
831.1Sgwr
841.1Sgwr# On-board I/O space (required)
851.1Sgwrinclude "arch/sun3/conf/obio.sun3x"
861.1Sgwr
871.1Sgwr# On-board memory (optional)
881.1Sgwr# See frame-buffers
891.1Sgwr# obmem0 at mainbus?
901.1Sgwr
911.1Sgwr# VME bus support (optional)
921.1Sgwr# One unit for each address space
931.1Sgwrvme0 at mainbus? # A16/D16
941.1Sgwrvme1 at mainbus? # A16/D32
951.1Sgwrvme2 at mainbus? # A24/D16
961.1Sgwrvme3 at mainbus? # A24/D32
971.1Sgwrvme4 at mainbus? # A32/D16
981.1Sgwrvme5 at mainbus? # A32/D32
991.1Sgwr
1001.1Sgwr#
1011.1Sgwr# Serial ports
1021.1Sgwr#
1031.1Sgwrzstty0	at zsc1 channel 0	# ttya
1041.1Sgwrzstty1	at zsc1 channel 1	# ttyb
1051.1Sgwr
1061.1Sgwrkbd0	at zsc0 channel 0	# keyboard
1071.1Sgwr#ms0	at zsc0 channel 1	# mouse
1081.1Sgwr
1091.1Sgwr#
1101.1Sgwr# Network devices
1111.1Sgwr#
1121.1Sgwr
1131.1Sgwr# Intel Ethernet (onboard, or VME)
1141.1Sgwrie0 at obio0 addr 0x65000000 ipl 3
1151.1Sgwrie1 at vme2  addr   0xe88000 ipl 3 vect 0x75
1161.1Sgwr
1171.1Sgwr# Lance Ethernet (only onboard)
1181.1Sgwrle0 at obio0 addr 0x65002000 ipl 3
1191.1Sgwr
1201.1Sgwr#
1211.1Sgwr# Disk and tape devices
1221.1Sgwr#
1231.1Sgwr
1241.1Sgwr# Emulex SCSI (3/80 only)
1251.1Sgwr# See GENERIC3X for the flags description.
1261.1Sgwresp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
1271.1Sgwr
1281.1Sgwr# Floppy drive
1291.1Sgwrfdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
1301.1Sgwrfd0  at fdc0	# First (and only) floppy drive.
1311.1Sgwr
1321.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1331.1Sgwr# See GENERIC3X for the flags description.
1341.1Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1351.1Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1361.1Sgwr
1371.1Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1381.1Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1391.1Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1401.1Sgwrxy* at xyc? drive ?
1411.1Sgwr
1421.1Sgwr# Xylogics 7053 controllers (VME A16/D32)
1431.1Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1441.1Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1451.1Sgwrxd* at xdc? drive ?
1461.1Sgwr
1471.1Sgwr# Xylogics 472 tape controllers?
1481.1Sgwr
1491.1Sgwr#
1501.1Sgwr# Frame buffer devices
1511.1Sgwr# (Not needed for installation kernels.)
1521.1Sgwr
1531.1Sgwr#
1541.1Sgwr# SCSI infrastructure
1551.1Sgwr#
1561.1Sgwrscsibus* at scsi?
1571.1Sgwr
1581.1Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1591.1Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1601.1Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1611.1Sgwr#ch* at scsibus? target ? lun ?		# SCSI changer devices
1621.1Sgwr#ss* at scsibus? target ? lun ?		# SCSI scanners
1631.1Sgwr#uk* at scsibus? target ? lun ?		# unknown SCSI devices
1641.1Sgwr
1651.1Sgwr# Memory-disk drivers
1661.1Sgwr#pseudo-device	md		2
1671.1Sgwr
1681.1Sgwr# Misc.
1691.1Sgwrpseudo-device	loop		1	# network loopback
1701.1Sgwr#pseudo-device	bpfilter	8	# packet filter
1711.1Sgwrpseudo-device	sl		2	# CSLIP
1721.1Sgwrpseudo-device	ppp		2	# PPP
1731.1Sgwrpseudo-device	tun		2	# network tunneling over tty
1741.1Sgwr#pseudo-device	ipfilter		# ip filter
1751.1Sgwr# rnd is EXPERIMENTAL
1761.1Sgwr#pseudo-device	rnd			# /dev/random and in-kernel generator
1771.1Sgwr
1781.1Sgwrpseudo-device	pty		32	# pseudo-terminals
1791.1Sgwr#pseudo-device	vnd		4	# paging to files
1801.1Sgwr#pseudo-device	ccd		4	# concatenated disks
181