1 1.4.96.2 martin # $NetBSD: RAMDISK,v 1.4.96.2 2023/02/23 11:48:58 martin Exp $ 2 1.1 dbj 3 1.1 dbj # 4 1.1 dbj # RAMDISK: Root/swap on ramdisk 5 1.1 dbj # 6 1.1 dbj 7 1.4.96.1 martin include "arch/next68k/conf/std.next68k" 8 1.4.96.1 martin 9 1.4.96.1 martin #options INCLUDE_CONFIG_FILE # embed config file in kernel binary 10 1.4.96.1 martin 11 1.4.96.1 martin makeoptions COPTS="-Os -fno-unwind-tables" 12 1.1 dbj 13 1.1 dbj # Enable the hooks used for initializing the ram-disk. 14 1.1 dbj options MEMORY_DISK_HOOKS 15 1.4.96.1 martin options MEMORY_DISK_IS_ROOT # Force root on ram-disk 16 1.4.96.1 martin options MEMORY_DISK_SERVER=0 # no userspace md(4) support 17 1.4.96.1 martin options MEMORY_DISK_ROOT_SIZE=3072 18 1.4 jym options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 19 1.4.96.1 martin 20 1.4.96.1 martin # Needs to be set per system. i.e change these as you see fit 21 1.4.96.1 martin maxusers 4 22 1.4.96.1 martin 23 1.4.96.1 martin # Standard system options 24 1.4.96.1 martin #options KTRACE # system call tracing 25 1.4.96.1 martin #options SYSVMSG # System V message queues 26 1.4.96.1 martin #options SYSVSEM # System V semaphores 27 1.4.96.1 martin #options SYSVSHM # System V shared memory 28 1.4.96.1 martin 29 1.4.96.1 martin #options MODULAR # new style module(7) framework 30 1.4.96.1 martin #options MODULAR_DEFAULT_AUTOLOAD 31 1.4.96.1 martin 32 1.4.96.1 martin #options INSECURE # disable kernel security level 33 1.4.96.1 martin options USERCONF # userconf(4) support 34 1.4.96.1 martin options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 35 1.4.96.1 martin #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 36 1.4.96.1 martin 37 1.4.96.1 martin # Alternate buffer queue strategies for better responsiveness under high 38 1.4.96.1 martin # disk I/O load. 39 1.4.96.1 martin #options BUFQ_READPRIO 40 1.4.96.1 martin #options BUFQ_PRIOCSCAN 41 1.4.96.1 martin 42 1.4.96.1 martin #options DEBUG # kernel debugging code 43 1.4.96.1 martin #options DIAGNOSTIC # extra kernel sanity checking 44 1.4.96.1 martin 45 1.4.96.1 martin # Which kernel debugger? Uncomment either this: 46 1.4.96.1 martin #options DDB 47 1.4.96.1 martin #options DDB_HISTORY_SIZE=100 # enable history editing in DDB 48 1.4.96.1 martin 49 1.4.96.1 martin # ... or these for KGDB (gdb remote target) 50 1.4.96.1 martin #makeoptions DEBUG="-g" # debugging symbols for gdb 51 1.4.96.1 martin #options KGDB # support for kernel gdb 52 1.4.96.1 martin #options KGDB_DEV=0xc01 # kgdb device number (dev_t) 53 1.4.96.1 martin #options KGDB_DEVRATE=9600 # baud rate 54 1.4.96.1 martin 55 1.4.96.1 martin # Other debugging options 56 1.4.96.1 martin #options PMAP_DEBUG 57 1.4.96.1 martin #options SCSIDEBUG 58 1.4.96.1 martin #options SCSIVERBOSE # Verbose SCSI errors 59 1.4.96.1 martin 60 1.4.96.1 martin # Compatibility options 61 1.4.96.1 martin #include "conf/compat_netbsd09.config" 62 1.4.96.1 martin 63 1.4.96.1 martin #options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 64 1.4.96.1 martin #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 65 1.4.96.1 martin #options COMPAT_SUNOS # can run SunOS 4.1.1 executables 66 1.4.96.1 martin #options COMPAT_LINUX # can run Linux/m68k executables 67 1.4.96.1 martin #options COMPAT_OSSAUDIO # can run Linux/m68k executables 68 1.4.96.1 martin #options COMPAT_AOUT_M68K # support for NetBSD a.out executables 69 1.4.96.1 martin #options EXEC_AOUT # support for a.out executables 70 1.4.96.1 martin 71 1.4.96.1 martin # File systems 72 1.4.96.1 martin file-system FFS # UFS 73 1.4.96.1 martin #file-system EXT2FS # second extended file system (linux) 74 1.4.96.1 martin #file-system LFS # log-structured file system 75 1.4.96.1 martin file-system MFS # memory file system 76 1.4.96.1 martin file-system NFS # Network File System client 77 1.4.96.1 martin file-system CD9660 # ISO 9660 + Rock Ridge file system 78 1.4.96.1 martin file-system MSDOSFS # MS-DOS file system 79 1.4.96.1 martin #file-system FDESC # /dev/fd 80 1.4.96.1 martin #file-system KERNFS # /kern 81 1.4.96.1 martin #file-system NULLFS # loopback file system 82 1.4.96.1 martin #file-system OVERLAY # overlay file system 83 1.4.96.1 martin #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 84 1.4.96.1 martin #file-system PROCFS # /proc 85 1.4.96.1 martin #file-system UMAPFS # NULLFS + uid and gid remapping 86 1.4.96.1 martin #file-system UNION # union file system 87 1.4.96.1 martin #file-system PTYFS # /dev/pts/N support 88 1.4.96.1 martin #file-system TMPFS # Efficient memory file-system 89 1.4.96.1 martin #file-system UDF # experimental - OSTA UDF CD/DVD file-system 90 1.4.96.1 martin 91 1.4.96.1 martin # File system options 92 1.4.96.1 martin options FFS_NO_SNAPSHOT # No FFS snapshot support 93 1.4.96.1 martin #options QUOTA # legacy UFS quotas 94 1.4.96.1 martin #options QUOTA2 # new, in-filesystem UFS quotas 95 1.4.96.1 martin #options UFS_DIRHASH # UFS Large Directory Hashing 96 1.4.96.1 martin #options UFS_EXTATTR # Extended attribute support for UFS1 97 1.4.96.1 martin options WAPBL # File system journaling support 98 1.4.96.1 martin #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 99 1.4.96.1 martin # immutable) behave as system flags. 100 1.4.96.1 martin #options NFSSERVER # Network File System server 101 1.4.96.1 martin 102 1.4.96.1 martin # Networking options 103 1.4.96.1 martin #options GATEWAY # packet forwarding 104 1.4.96.1 martin options INET # IP + ICMP + TCP + UDP 105 1.4.96.1 martin #options INET6 # IPV6 106 1.4.96.1 martin #options IPSEC # IP security 107 1.4.96.1 martin #options IPSEC_DEBUG # debug for IP security 108 1.4.96.1 martin #options MROUTING # IP multicast routing 109 1.4.96.1 martin #options PIM # Protocol Independent Multicast 110 1.4.96.1 martin #options NETATALK # AppleTalk networking protocols 111 1.4.96.1 martin #options PPP_BSDCOMP # BSD-Compress compression support for PPP 112 1.4.96.1 martin #options PPP_DEFLATE # Deflate compression support for PPP 113 1.4.96.1 martin #options PPP_FILTER # Active filter support for PPP (requires bpf) 114 1.4.96.1 martin #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 115 1.4.96.1 martin 116 1.4.96.1 martin #options ALTQ # Manipulate network interfaces' output queues 117 1.4.96.1 martin #options ALTQ_BLUE # Stochastic Fair Blue 118 1.4.96.1 martin #options ALTQ_CBQ # Class-Based Queueing 119 1.4.96.1 martin #options ALTQ_CDNR # Diffserv Traffic Conditioner 120 1.4.96.1 martin #options ALTQ_FIFOQ # First-In First-Out Queue 121 1.4.96.1 martin #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 122 1.4.96.1 martin #options ALTQ_HFSC # Hierarchical Fair Service Curve 123 1.4.96.1 martin #options ALTQ_LOCALQ # Local queueing discipline 124 1.4.96.1 martin #options ALTQ_PRIQ # Priority Queueing 125 1.4.96.1 martin #options ALTQ_RED # Random Early Detection 126 1.4.96.1 martin #options ALTQ_RIO # RED with IN/OUT 127 1.4.96.1 martin #options ALTQ_WFQ # Weighted Fair Queueing 128 1.4.96.1 martin 129 1.4.96.1 martin # NeXT specific options 130 1.4.96.1 martin options M68040 131 1.4.96.1 martin options M68030 132 1.4.96.1 martin options FPSP 133 1.4.96.1 martin #options FPU_EMULATE 134 1.4.96.1 martin 135 1.4.96.1 martin options ZS_CONSOLE_ABORT # drop to debugger on break 136 1.4.96.1 martin #options SERCONSOLE # use serial console 137 1.4.96.1 martin 138 1.4.96.1 martin options NFS_BOOT_BOOTP 139 1.4.96.1 martin options NFS_BOOT_DHCP 140 1.4.96.1 martin 141 1.4.96.1 martin # wscons options 142 1.4.96.1 martin options RCONS_2BPP # necessary for nextdisplay 143 1.4.96.1 martin options RCONS_16BPP # necessary for color nextdisplay 144 1.4.96.1 martin #options WSEMUL_SUN # sun terminal emulation 145 1.4.96.1 martin options WSEMUL_VT100 # VT100 / VT220 emulation 146 1.4.96.1 martin #options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 147 1.4.96.1 martin #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 148 1.4.96.1 martin #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 149 1.4.96.1 martin # see dev/wskbdmap_next.h for implemented layouts 150 1.4.96.1 martin #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 151 1.4.96.1 martin 152 1.4.96.1 martin config netbsd root on ? type ? 153 1.4.96.1 martin 154 1.4.96.1 martin # 155 1.4.96.1 martin # Device configuration 156 1.4.96.1 martin # 157 1.4.96.1 martin 158 1.4.96.1 martin # The root node: 159 1.4.96.1 martin mainbus0 at root 160 1.4.96.1 martin 161 1.4.96.1 martin # device space 162 1.4.96.1 martin intio0 at mainbus? 163 1.4.96.1 martin 164 1.4.96.1 martin nextkbd0 at intio? ipl 3 165 1.4.96.1 martin nextdisplay0 at mainbus? 166 1.4.96.1 martin 167 1.4.96.1 martin wsdisplay* at nextdisplay? console ? 168 1.4.96.1 martin wskbd* at nextkbd? console ? 169 1.4.96.1 martin 170 1.4.96.1 martin # INTIO 171 1.4.96.1 martin nextdma* at intio? ipl 6 172 1.4.96.1 martin 173 1.4.96.1 martin zsc0 at intio? ipl 5 174 1.4.96.1 martin 175 1.4.96.1 martin xe* at intio? ipl 3 # ethernet 176 1.4.96.1 martin 177 1.4.96.1 martin esp0 at intio? ipl 3 flags 0xffff00 # Turn off sync negotiation 178 1.4.96.1 martin 179 1.4.96.1 martin # 180 1.4.96.1 martin # Serial ports 181 1.4.96.1 martin # 182 1.4.96.1 martin zstty0 at zsc0 channel 0 # Serial Port A 183 1.4.96.1 martin zstty1 at zsc0 channel 1 # Serial Port B 184 1.4.96.1 martin 185 1.4.96.1 martin # SCSI bus support 186 1.4.96.1 martin scsibus* at scsi? 187 1.4.96.1 martin 188 1.4.96.1 martin # SCSI devices 189 1.4.96.1 martin sd* at scsibus? target ? lun ? # SCSI disk drives 190 1.4.96.1 martin st* at scsibus? target ? lun ? # SCSI tape drives 191 1.4.96.1 martin cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 192 1.4.96.1 martin #ch* at scsibus? target ? lun ? # SCSI autochangers 193 1.4.96.1 martin se* at scsibus? target ? lun ? # SCSI ethernet 194 1.4.96.1 martin #ss* at scsibus? target ? lun ? # SCSI scanners 195 1.4.96.1 martin #uk* at scsibus? target ? lun ? # SCSI unknown 196 1.4.96.1 martin 197 1.4.96.1 martin 198 1.4.96.1 martin # Memory-disk drivers 199 1.4.96.1 martin pseudo-device md 200 1.4.96.1 martin 201 1.4.96.1 martin # 202 1.4.96.1 martin # accept filters 203 1.4.96.1 martin #pseudo-device accf_data # "dataready" accept filter 204 1.4.96.1 martin #pseudo-device accf_http # "httpready" accept filter 205 1.4.96.1 martin 206 1.4.96.1 martin # Misc. 207 1.4.96.1 martin pseudo-device loop # network loopback 208 1.4.96.1 martin pseudo-device bpfilter # packet filter 209 1.4.96.1 martin #pseudo-device carp # Common Address Redundancy Protocol 210 1.4.96.1 martin #pseudo-device sl # CSLIP 211 1.4.96.1 martin #pseudo-device ppp # PPP 212 1.4.96.1 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 213 1.4.96.1 martin #pseudo-device tun # network tunneling over tty 214 1.4.96.1 martin #pseudo-device tap # virtual Ethernet 215 1.4.96.1 martin #pseudo-device gre # generic L3 over IP tunnel 216 1.4.96.1 martin #pseudo-device npf # NPF packet filter 217 1.4.96.1 martin #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 218 1.4.96.1 martin #pseudo-device faith # IPv[46] tcp relay translation i/f 219 1.4.96.1 martin #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 220 1.4.96.1 martin #pseudo-device vlan # IEEE 802.1q encapsulation 221 1.4.96.1 martin #pseudo-device bridge # simple inter-network bridging 222 1.4.96.1 martin #pseudo-device vether # Virtual Ethernet for bridge 223 1.4.96.1 martin #pseudo-device agr # IEEE 802.3ad link aggregation 224 1.4.96.1 martin #pseudo-device wsmux # mouse & keyboard multiplexor 225 1.4.96.1 martin 226 1.4.96.1 martin pseudo-device pty # pseudo-terminals 227 1.4.96.1 martin #pseudo-device vnd # paging to files 228 1.4.96.1 martin #options VND_COMPRESSION # compressed vnd(4) 229 1.4.96.1 martin #pseudo-device raid # RAIDframe disk driver 230 1.4.96.1 martin #options RAID_AUTOCONFIG # auto-configuration of RAID components 231 1.4.96.1 martin # Options to enable various other RAIDframe RAID types. 232 1.4.96.1 martin # options RF_INCLUDE_EVENODD=1 233 1.4.96.1 martin # options RF_INCLUDE_RAID5_RS=1 234 1.4.96.1 martin # options RF_INCLUDE_PARITYLOGGING=1 235 1.4.96.1 martin # options RF_INCLUDE_CHAINDECLUSTER=1 236 1.4.96.1 martin # options RF_INCLUDE_INTERDECLUSTER=1 237 1.4.96.1 martin # options RF_INCLUDE_PARITY_DECLUSTERING=1 238 1.4.96.1 martin # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 239 1.4.96.1 martin #pseudo-device fss # file system snapshot device 240 1.4.96.1 martin #pseudo-device ccd # concatenated disks 241 1.4.96.1 martin #pseudo-device clockctl # user control of clock subsystem 242 1.4.96.1 martin #pseudo-device ksyms # /dev/ksyms 243 1.4.96.1 martin #pseudo-device putter # for puffs and pud 244 1.4.96.1 martin 245 1.4.96.1 martin #include "dev/veriexec.config" 246