RAMDISK revision 1.6
1# $NetBSD: RAMDISK,v 1.6 1996/10/09 00:14:36 thorpej Exp $ 2 3# 4# RAMDISK: Root/swap on ramdisk 5# This kernel is used to: 6# format the disk (not yet implemented) 7# partition the disk (disklabel) 8# install the miniroot in the swap partition 9# 10 11include "arch/sun3/conf/std.sun3" 12 13# Machines to be supported by this kernel 14options FPU_EMULATE # XXX - Should not be needed! 15options HAVECACHE # Sun3/260 VAC 16 17# Needs to be set per system. i.e change these as you see fit 18maxusers 2 19 20# Standard system options 21options SWAPPAGER, VNODEPAGER, DEVPAGER # paging 22 23# Debugging options. Uncomment either this: 24#options DDB 25# ... or these two: (for KGDB on another machine) 26makeoptions DEBUG="-g" # symbols for kgdb + nm 27options KGDB 28 29# Enable the hooks used for initializing the ram-disk. 30options RAMDISK_HOOKS 31options MINIROOTSIZE=512 # 256K 32 33# Filesystem options 34# May need NFSCLIENT to get miniroot image 35options NFSCLIENT # nfs client support 36# Need FFS for the ramdisk image 37options FFS # ufs file system 38options FIFO # FIFOs; RECOMMENDED 39 40# Networking options 41options INET # IP prototol stack support 42options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD 43# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...) 44options NFS_BOOT_RWSIZE=1024 45 46# Compatability options 47#options COMPAT_SUNOS # can run SunOS 4.1.1 executables 48#options COMPAT_43 # and 4.3BSD and ... 49#options COMPAT_10 # NetBSD 1.0 50options COMPAT_11 # NetBSD 1.1 51options COMPAT_12 # NetBSD 1.2 52options UCONSOLE # Allow non-root TIOCCONS 53 54# Sun3-specific debugging options 55options DIAGNOSTIC 56 57# The config program assumes all devices have partions... 58# Is it OK to put swap on a non-existent partition? 59config netbsd root on rd0a swap on rd0b 60 61# 62# Serial ports 63# 64zstty0 at zsc1 channel 0 # ttya 65zstty1 at zsc1 channel 1 # ttyb 66 67kbd0 at zsc0 channel 0 # keyboard 68ms0 at zsc0 channel 1 # mouse 69 70# 71# Network devices 72# 73 74# Intel Ethernet (onboard, or VME) 75ie0 at obio0 addr ? level ? 76ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75 77 78# Lance Ethernet (only onboard) 79le0 at obio0 addr ? level ? 80 81# 82# Disk and tape devices 83# 84 85# Sun3 "si" SCSI controller (NCR 5380) 86si0 at obio0 addr ? level ? 87si0 at vmes0 addr 0xff200000 level 2 vect 0x40 88si1 at vmes0 addr 0xff204000 level 2 vect 0x41 89 90# Xylogics 7053 controllers 91# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44 92# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45 93# xd* at xdc? drive ? 94 95# Xylogics 450/451 controllers 96# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48 97# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49 98# xy* at xyc? drive ? 99 100# Xylogics 472 tape controllers? 101 102# 103# Frame buffer devices 104# (Not needed for the RAMDISK installation kernel) 105 106# 107# SCSI infrastructure 108# 109scsibus* at scsi? 110 111# Sun compatible scsi device mappings 112sd0 at scsibus? target 0 lun 0 113sd1 at scsibus? target 0 lun 1 114sd2 at scsibus? target 1 lun 0 115sd3 at scsibus? target 1 lun 1 116sd* at scsibus? target ? lun ? 117 118st0 at scsibus? target 4 lun 0 119st1 at scsibus? target 5 lun 0 120st* at scsibus? target ? lun ? 121 122cd0 at scsibus? target 6 lun 0 123cd* at scsibus? target ? lun ? 124 125#ch* at scsibus? target ? lun ? 126 127# RAM-disk (root for install tape) 128pseudo-device rd 2 # RAM-disk 129 130# Misc. 131pseudo-device loop 1 # network loopback 132pseudo-device sl 2 # CSLIP 133pseudo-device ppp 2 # PPP 134 135