Initialize the 'kernel' environment variable from loader.4th
[dragonfly.git] / sys / boot / forth / loader.conf
1 # This is loader.conf - a file full of useful variables that you can
2 # set to change the default load behavior of your system. You should
3 # not edit this file!  Put any overrides into one of the
4 # loader_conf_files instead and you will be able to update these
5 # defaults later without spamming your local configuration information.
6 #
7 # All arguments must be in double quotes.
8 #
9 # $FreeBSD: src/sys/boot/forth/loader.conf,v 1.72 2003/07/01 01:03:32 brueffer Exp $
10 # $DragonFly: src/sys/boot/forth/loader.conf,v 1.6 2004/10/14 08:44:34 dillon Exp $
11
12 ##############################################################
13 ###  Basic configuration options  ############################
14 ##############################################################
15
16 exec=".( Loading /boot/defaults/loader.conf ) cr"
17
18 # NOTE: the default 'kernel' environment variable is not set
19 # in the default/loader.conf file any more, it is set based on
20 # whether we pxebooted or not in loader.4th
21 bootfile="kernel"       # Kernel name (possibly absolute path)
22 kernel_options=""
23
24 userconfig_script_load="NO"
25 userconfig_script_name="/boot/kernel.conf"
26 userconfig_script_type="userconfig_script"
27
28 loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
29 nextboot_conf="/boot/nextboot.conf"
30 nextboot_enable="NO"
31
32 verbose_loading="NO"            # Set to YES for verbose loader output
33
34
35 ##############################################################
36 ###  Splash screen configuration  ############################
37 ##############################################################
38
39 splash_bmp_load="NO"            # Set this to YES for bmp splash screen!
40 splash_pcx_load="NO"            # Set this to YES for pcx splash screen!
41 vesa_load="NO"                  # Set this to YES to load the vesa module
42 bitmap_load="NO"                # Set this to YES if you want splash screen!
43 bitmap_name="splash.bmp"        # Set this to the name of the bmp or pcx file
44 bitmap_type="splash_image_data" # and place it on the module_path
45
46
47 ##############################################################
48 ###  Loader settings  ########################################
49 ##############################################################
50
51 #autoboot_delay="10"            # Delay in seconds before autobooting
52 #beastie_disable="NO"           # Turn the beastie boot menu on and off
53 #console="vidconsole"           # Set the current console
54 #currdev="disk1s1a"             # Set the current device
55 module_path="/;/modules;/boot/kernel;/boot/modules"     # Set the module search path
56 #prompt="\\${interpret}"        # Set the command prompt
57 #root_disk_unit="0"             # Force the root disk unit number
58 #rootdev="disk1s1a"             # Set the root filesystem
59
60
61 ##############################################################
62 ###  Kernel settings  ########################################
63 ##############################################################
64
65                         # The following boot_ variables are enabled
66                         # by setting them to any value.
67 #boot_askname=""        # Prompt the user for the name of the root device
68 #boot_ddb=""            # Instructs the kernel to start in the DDB debugger
69 #boot_gdb=""            # Selects gdb-remote mode for the kernel debugger
70 #boot_single=""         # Start system in single-user mode
71 #boot_userconfig=""     # Run kernel's interactive device configuration program
72 #boot_verbose=""        # Causes extra debugging information to be printed
73 #init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall"
74                         # Sets the list of init candidates
75 #dumpdev="ad0s1b"       # Set device for crash dumps
76
77
78 ##############################################################
79 ###  Kernel tunables  ########################################
80 ##############################################################
81
82 #hw.physmem="1G"                # Limit phyiscal memory. See loader(8)
83 #kern.dfldsiz=""                # Set the initial data size limit
84 #kern.dflssiz=""                # Set the initial stack size limit
85 #kern.hz="100"                  # Set the kernel interval timer rate
86 #kern.maxbcache=""              # Set the max buffer cache KVA storage
87 #kern.maxdsiz=""                # Set the max data size
88 #kern.maxfiles=""               # Set the sys. wide open files limit
89 #kern.maxproc=""                # Set the maximum # of processes
90 #kern.maxssiz=""                # Set the max stack size
91 #kern.maxswzone=""              # Set the max swmeta KVA storage
92 #kern.maxtsiz=""                # Set the max text size
93 #kern.maxusers="32"             # Set size of various static tables
94 #kern.nbuf=""                   # Set the number of buffer headers 
95 #kern.ncallout=""               # Set the maximum # of timer events
96 #kern.sgrowsiz=""               # Set the amount to grow stack
97 #kern.cam.scsi_delay="2000"     # Delay (in ms) before probing SCSI
98 #kern.ipc.maxsockets=""         # Set the maximum number of sockets avaliable
99 #kern.ipc.nmbclusters=""        # Set the number of mbuf clusters
100 #kern.ipc.nmbufs=""             # Set the maximum number of mbufs
101 #kern.ipc.nsfbufs=""            # Set the number of sendfile(2) bufs
102 #kern.vm.kmem.size=""           # Sets the size of kernel memory (bytes)
103 #net.inet.tcp.tcbhashsize=""    # Set the value of TCBHASHSIZE
104 #vfs.root.mountfrom=""          # Specify root partition in a way the
105                                 # kernel understands
106 #debug.ktr.cpumask="0xf"        # Bitmask of CPUs to enable KTR on
107 #debug.ktr.mask="0x1200"        # Bitmask of KTR events to enable
108 #debug.ktr.verbose="1"          # Enable console dump of KTR events
109 #net.graph.maxalloc="128"       # Maximum number of queue items to allocate
110 #net.graph.ngqfreemax="64"      # Maximum number of free queue items to cache
111
112
113 ##############################################################
114 ###  Filesystem and related modules  #########################
115 ##############################################################
116
117 # Filesystems
118
119 cd9660_load="NO"                # ISO 9660 filesystem
120 coda_load="NO"                  # CODA filesystem
121 fdescfs_load="NO"               # Filedescriptors filesystem
122 msdosfs_load="NO"               # FAT-12/16/32
123 nfs_load="NO"                   # NFS
124 ntfs_load="NO"                  # NTFS
125 nullfs_load="NO"                # Null filesystem
126 portalfs_load="NO"              # Portal filesystem
127 procfs_load="NO"                # Process filesystem
128 umapfs_load="NO"                # User-id map filesystem
129 unionfs_load="NO"               # Union filesystem
130
131 # Related stuff
132
133 ccd_load="NO"                   # Concatenated disk driver
134 vinum_load="NO"                 # Concatenated/mirror/raid driver
135 md_load="NO"                    # Memory disk driver (vnode/swap/malloc)
136
137
138 ##############################################################
139 ###  Screen saver modules  ###################################
140 ##############################################################
141
142 # This is best done in rc.conf
143
144 screensave_load="NO"            # Set to YES to load a screensaver module
145 screensave_name="green_saver"   # Set to the name of the screensaver module
146
147
148 ##############################################################
149 ###  Emulation modules  ######################################
150 ##############################################################
151
152 fpu_load="NO"                   # Floating point emulation
153 gnufpu_load="NO"                # GNU floating point emulation
154 ibcs2_load="NO"                 # IBCS2 (SCO) emulation
155 ibcs2_coff_load="NO"
156 linux_load="NO"                 # Linux emulation
157 svr4_load="NO"                  # SystemV R4 emulation
158 streams_load="NO"               # System V streams module
159
160
161 ##############################################################
162 ###  Networking modules  #####################################
163 ##############################################################
164
165 if_disc_load="NO"               # Discard device
166 if_ef_load="NO"                 # pseudo-device providing support for multiple ethernet frame types
167 if_faith_load="NO"              # IPv6-to-IPv4 TCP relay capturing interface
168 if_gif_load="NO"                # generic tunnel interface
169 if_gre_load="NO"                # encapsulating network device
170 if_ppp_load="NO"                # Kernel ppp
171 if_sl_load="NO"                 # SLIP
172 if_stf_load="NO"                # 6to4 tunnel interface
173 if_tap_load="NO"                # Ethernet tunnel software network interface
174 if_tun_load="NO"                # Tunnel driver (user process ppp)
175 if_vlan_load="NO"               # IEEE 802.1Q VLAN network interface
176 ipfw_load="NO"                  # Firewall
177 pf_load="NO"                    # OpenBSD's packet filter
178
179
180 ##############################################################
181 ###  Networking drivers  #####################################
182 ##############################################################
183
184 miibus_load="NO"                # miibus support, needed for some drivers
185 if_an_load="NO"                 # Aironet 4500/4800 802.11 wireless NICs
186 if_ar_load="NO"                 # Digi SYNC/570i
187 if_awi_load="NO"                # AMD PCnetMobile IEEE 802.11 wireless NICs
188 if_bge_load="NO"                # Broadcom BCM570x PCI gigabit ethernet
189 if_cm_load="NO"                 # SMC (90c26, 90c56, 90c66)
190 if_dc_load="NO"                 # DEC/Intel 21143 and various workalikes
191 if_de_load="NO"                 # DEC DC21x4x ethernet
192 if_ed_load="NO"                 # National Semiconductor DS8390/WD83C690 ethernet
193 if_el_load="NO"                 # 3Com Etherlink 3C501
194 if_em_load="NO"                 # Intel(R) PRO/1000 gigabit ethernet
195 if_en_load="NO"                 # Midway-based ATM interfaces
196 if_ep_load="NO"                 # 3Com Etherlink III (3c5x9)
197 if_ex_load="NO"                 # Intel EtherExpress Pro/10 ethernet
198 if_fe_load="NO"                 # Fujitsu MB86960A/MB86965A based Ethernet adapters
199 if_fxp_load="NO"                # Intel EtherExpress PRO/100B (82557, 82558)
200 if_gx_load="NO"                 # Intel Pro/1000 gigabit ethernet
201 if_ie_load="NO"                 # Intel 82586
202 if_lge_load="NO"                # Level 1 LXT1001 NetCellerator PCI gigabit ethernet
203 if_lnc_load="NO"                # AMD Lance/PCnet Ethernet
204 if_my_load="NO"                 # Myson PCI fast ethernet
205 if_nge_load="NO"                # National Semiconductor PCI gigabit ethernet
206 if_oltr_load="NO"               # Olicom
207 if_pcn_load="NO"                # AMD PCnet PCI
208 if_ray_load="NO"                # Raytheon Raylink/Webgear Aviator PCCard
209 if_rl_load="NO"                 # RealTek 8129/8139
210 if_sbni_load="NO"               # Granch SBNI12 leased line adapters
211 if_sf_load="NO"                 # Adaptec Duralink PCI (AIC-6915 "starfire")
212 if_sis_load="NO"                # Silicon Integrated Systems SiS 900/7016
213 if_sk_load="NO"                 # SysKonnect SK-984x series PCI gigabit ethernet
214 if_sn_load="NO"                 # SMC 91Cxx
215 if_sr_load="NO"                 # synchronous RISCom/N2 / WANic 400/405
216 if_ste_load="NO"                # Sundance Technologies ST201 fast ethernet
217 if_ti_load="NO"                 # Alteon Networks Tigon 1 and Tigon 2
218 if_tl_load="NO"                 # Texas Instruments TNETE100 ("ThunderLAN")
219 if_tx_load="NO"                 # SMC 83c17x fast ethernet
220 if_txp_load="NO"                # 3Com 3XP Typhoon/Sidewinder (3CR990)
221 if_vr_load="NO"                 # VIA Rhine I and Rhine II
222 if_vx_load="NO"                 # 3Com 3C590 family
223 if_wb_load="NO"                 # Winbond W89C840F
224 if_wi_load="NO"                 # WaveLAN/IEEE 802.11 wireless NICs
225 if_wx_load="NO"                 # Intel Gigabit Ethernet
226 if_xe_load="NO"                 # Xircom CreditCard PCMCIA
227 if_xl_load="NO"                 # 3Com Etherlink XL (3c900, 3c905, 3c905B)
228
229 ##############################################################
230 ###  Netgraph modules  #######################################
231 ##############################################################
232
233 ng_UI_load="NO"                 # UI netgraph node type
234 ng_async_load="NO"              # asynchronous framing netgraph node type
235 ng_bpf_load="NO"                # Berkeley packet filter netgraph node type
236 ng_bridge_load="NO"             # Ethernet bridging netgraph node type
237 ng_cisco_load="NO"              # Cisco HDLC protocol netgraph node type
238 ng_echo_load="NO"               # Netgraph echo node type
239 ng_ether_load="NO"              # Ethernet netgraph node type
240 ng_frame_relay_load="NO"        # frame relay netgraph node type
241 ng_hole_load="NO"               # Netgraph discard node type
242 ng_iface_load="NO"              # interface Netgraph node type
243 ng_ksocket_load="NO"            # kernel socket netgraph node type
244 ng_lmi_load="NO"                # frame relay LMI protocol netgraph node type
245 ng_mppc_load="NO"               # Microsoft MPPC/MPPE compression and encryption netgraph node type
246 ng_one2many_load="NO"           # packet multiplexing netgraph node type
247 ng_ppp_load="NO"                # PPP protocol netgraph node type
248 ng_pppoe_load="NO"              # RFC 2516 PPPOE protocol netgraph node type
249 ng_pptpgre_load="NO"            # PPTP GRE protocol netgraph node type
250 ng_rfc1490_load="NO"            # RFC 1490 netgraph node type
251 ng_socket_load="NO"             # Netgraph socket node type
252 ng_tee_load="NO"                # Netgraph ``tee'' node type
253 ng_tty_load="NO"                # Netgraph node type that is also a line discipline
254 ng_vjc_load="NO"                # Van Jacobsen compression netgraph node type
255
256 ##############################################################
257 ###  Sound modules  ##########################################
258 ##############################################################
259
260 snd_pcm_load="NO"               # Digital sound subsystem
261 snd_ad1816_load="NO"            # ad1816
262 snd_cmi_load="NO"               # cmi
263 snd_csa_load="NO"               # csa
264 snd_cs4281_load="NO"            # cs4281
265 snd_ds1_load="NO"               # ds1
266 snd_emu10k1_load="NO"           # Creative Sound Blaster Live
267 snd_ess_load="NO"               # ess
268 snd_es137x_load="NO"            # es137x
269 snd_fm801_load="NO"             # fm801
270 snd_ich_load="NO"               # Intel ICH
271 snd_maestro_load="NO"           # Maestro
272 snd_maestro3_load="NO"          # Maestro3
273 snd_mss_load="NO"               # Mss
274 snd_neomagic_load="NO"          # Neomagic
275 snd_sbc_load="NO"               # Sbc
276 snd_sb8_load="NO"               # Sound Blaster Pro
277 snd_sb16_load="NO"              # Sound Blaster 16
278 snd_solo_load="NO"              # Solo
279 snd_t4dwave_load="NO"           # t4dwave
280 snd_via8233_load="NO"           # via8233
281 snd_via82c686_load="NO"         # via82c686
282 snd_driver_load="NO"            # All sound drivers
283
284 ##############################################################
285 ###  USB modules  ############################################
286 ##############################################################
287
288 usb_load="NO"                   # USB subsystem
289 udbp_load="NO"                  # USB double bulk pipe host 2 host cables
290 ugen_load="NO"                  # USB generic device, if all else fails ...
291 ufm_load="NO"                   # Fm Radio
292 uhid_load="NO"                  # Human Interface Devices
293 ukbd_load="NO"                  # Keyboard
294 ulpt_load="NO"                  # Printer
295 ums_load="NO"                   # Mouse
296 umass_load="NO"                 # Mass Storage Devices
297 umodem_load="NO"                # Modems
298 uscanner_load="NO"              # Scanners
299 if_aue_load="NO"                # ADMtek USB ethernet
300 if_axe_load="NO"                # ASIX Electronics AX88172 USB ethernet
301 if_cue_load="NO"                # CATC USB ethernet
302 if_kue_load="NO"                # Kawasaki LSI USB ethernet
303
304 ##############################################################
305 ###  Other modules  ##########################################
306 ##############################################################
307
308 bktr_load="NO"                  # Brooktree Bt848/Bt878 TV/Video Capture Card
309 ispfw_load="NO"                 # Qlogic ISP Firmware
310 agp_load="NO"                   # agp module
311 accf_data_load="NO"             # Wait for data accept filter
312 accf_http_load="NO"             # Wait for full HTTP request accept filter
313 random_load="NO"                # Random device
314 atspeaker_load="NO"             # AT speaker module
315
316 ##############################################################
317 ###  ACPI settings  ##########################################
318 ##############################################################
319
320 acpi_dsdt_load="NO"             # DSDT Overriding
321 acpi_dsdt_type="acpi_dsdt"      # Don't change this
322 acpi_dsdt_name="/boot/acpi_dsdt.aml"
323                                 # Override DSDT in BIOS by this file
324
325 ##############################################################
326 ### TrustedBSD MAC settings ##################################
327 ##############################################################
328
329 mac_biba_load="NO"              # Biba MAC policy
330 mac_bsdextended_load="NO"       # BSD/extended MAC policy
331 mac_ifoff="NO"                  # Interface silencing policy
332 mac_mls_load="NO"               # MLS MAC policy
333 mac_none_load="NO"              # Null MAC policy
334 mac_partition_load="NO"         # Partition MAC policy
335 mac_seeotheruids_load="NO"      # UID visbility MAC policy
336
337 ##############################################################
338 ###  Module loading syntax example  ##########################
339 ##############################################################
340
341 #module_load="YES"              # loads module "module"
342 #module_name="realname"         # uses "realname" instead of "module"
343 #module_type="type"             # passes "-t type" to load
344 #module_flags="flags"           # passes "flags" to the module
345 #module_before="cmd"            # executes "cmd" before loading the module
346 #module_after="cmd"             # executes "cmd" after loading the module
347 #module_error="cmd"             # executes "cmd" if load fails
348