]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/plan9.ini
archacpi: make *acpi=1 the default
[plan9front.git] / sys / man / 8 / plan9.ini
1 .TH PLAN9.INI 8
2 .SH NAME
3 plan9.ini \- configuration file for PCs
4 .SH SYNOPSIS
5 .I none
6 .SH DESCRIPTION
7 When booting Plan 9 on a PC, the bootloader program
8 .IR 9boot (8)
9 first reads configuration information from a file
10 on the boot media.
11 This file,
12 .BR plan9.ini ,
13 looks like a shell script containing lines of the form
14 .IP
15 .EX
16 name=\f2value\fP
17 .EE
18 .LP
19 each of which defines a kernel or device parameter.
20 .PP
21 Blank lines and
22 Carriage Returns
23 .IB ( \er )
24 are ignored.
25 .B #
26 comments are ignored, but are only recognised if
27 .L #
28 appears at the start of a line.
29 .PP
30 For devices, the generic format of
31 .I value
32 is
33 .IP
34 .EX
35 type=TYPE [port=N] [irq=N] [mem=N] [size=N] [dma=N] [ea=N]
36 .EE
37 .LP
38 specifying the controller type,
39 the base I/O port of the interface, its interrupt
40 level, the physical starting address of any mapped memory,
41 the length in bytes of that memory, the DMA channel,
42 and for Ethernets an override of the physical network address.
43 Not all elements are relevant to all devices; the relevant values
44 and their defaults are defined below in the description of each device.
45 .PP
46 The file is used by the kernel to configure the hardware available.
47 The information it contains is also passed to the boot
48 process, and subsequently other programs,
49 as environment variables
50 (see
51 .IR boot (8)).
52 However, values whose names begin with an asterisk
53 .B *
54 are used by the kernel and are not converted into environment variables.
55 .PP
56 The following sections describe how variables are used.
57 .SS ETHERNET
58 .SS \fLether\fIX\fL=\fIvalue\fP
59 This defines an Ethernet interface.
60 .IR X ,
61 a unique monotonically increasing number beginning at 0,
62 identifies an Ethernet card to be probed at system boot.
63 Probing stops when a card is found or there is no line for
64 .BR etherX+1 .
65 After probing as directed by the
66 .BI ether X
67 lines, any remaining Ethernet cards that can be automatically
68 detected are added.
69 Almost all cards can be automatically detected.
70 For debugging purposes, automatic probing can
71 be disabled by specifying the line
72 .BR *noetherprobe= .
73 .PP
74 Some cards are software configurable and do not require all options.
75 Unspecified options default to the factory defaults.
76 .PP
77 Known
78 .IR TYPE s
79 are
80 .\" .TF ga620
81 .TF vt6102
82 .PD
83 .TP
84 .B igbe
85 The Intel 8254X Gigabit Ethernet controllers,
86 as found on the Intel PRO/1000 adapters for copper (not fiber).
87 Completely configurable.
88 .TP
89 .B igbepcie
90 The Intel 8256[36], 8257[12], and 82573[ev] Gigabit Ethernet
91 PCI-Express controllers.
92 Completely configurable.
93 .TP
94 .B rtl8169
95 The Realtek 8169 Gigabit Ethernet controller.
96 Completely configurable.
97 .TP
98 .B ga620
99 Netgear GA620 and GA620T Gigabit Ethernet cards,
100 and other cards using the Alteon Acenic chip such as the
101 Alteon Acenic fiber and copper cards,
102 the DEC DEGPA-SA and the SGI Acenic.
103 Completely configurable.
104 .TP
105 .B dp83820
106 National Semiconductor DP83820-based Gigabit Ethernet adapters, notably
107 the D-Link DGE-500T.
108 Completely configurable.
109 .TP
110 .B vgbe
111 The VIA Velocity Gigabit Ethernet controller.
112 Known to drive the VIA8237 (ABIT AV8), but at 100Mb/s full-duplex only.
113 .TP
114 .B m10g
115 The Myricom 10-Gigabit Ethernet 10G-PCIE-8A controller.
116 Completely configurable.
117 Can't boot through these due to enormous firmware loads.
118 .TP
119 .B i82598
120 The Intel 8259[89] 10-Gigabit Ethernet PCI-Express controllers.
121 Completely configurable.
122 .TP
123 .B i82557
124 Cards using the Intel 8255[789] Fast Ethernet PCI Bus LAN Controller such as the
125 Intel EtherExpress PRO/100B.
126 Completely configurable, no options need be given.
127 If you need to force the media, specify
128 one of the options (no value)
129 .BR 10BASE-T ,
130 .BR 10BASE-2 ,
131 .BR 10BASE-5 ,
132 .BR 100BASE-TX ,
133 .BR 10BASE-TFD ,
134 .BR 100BASE-TXFD ,
135 .BR 100BASE-T4 ,
136 .BR 100BASE-FX ,
137 or
138 .BR 100BASE-FXFD .
139 Completely configurable.
140 .TP
141 .B 2114x
142 Cards using the Digital Equipment (now Intel) 2114x PCI Fast Ethernet Adapter Controller,
143 for example the Netgear FA310.
144 Completely configurable, no options need be given.
145 Media can be specified the same was as for the
146 .BR i82557 .
147 Some cards using the
148 .B PNIC
149 and
150 .B PNIC2
151 near-clone chips may also work.
152 .TP
153 .B 83815
154 National Semiconductor DP83815-based adapters, notably
155 the Netgear FA311, Netgear FA312, and various SiS built-in
156 controllers such as the SiS900.
157 On the SiS controllers, the Ethernet address is not detected properly;
158 specify it with an
159 .B ea=
160 attribute.
161 Completely configurable.
162 .TP
163 .B rtl8139
164 The Realtek 8139 Fast Ethernet controller.
165 Completely configurable.
166 .TP
167 .B vt6102
168 The VIA VT6102 Fast Ethernet Controller (Rhine II).
169 .TP
170 .B smc91cxx
171 SMC 91cXX chip-based PCMCIA adapters, notably the SMC EtherEZ card.
172 .TP
173 .B elnk3
174 The 3COM Etherlink III series of cards including the 5x9, 59x, and 905 and 905B.
175 Completely configurable, no options need be given.
176 The media may be specified by setting
177 .B media=
178 to the value
179 .BR 10BaseT ,
180 .BR 10Base2 ,
181 .BR 100BaseTX ,
182 .BR 100BaseFX ,
183 .BR aui ,
184 and
185 .BR mii .
186 If you need to force full duplex, because for example the Ethernet switch does not negotiate correctly,
187 just name the word (no value)
188 .B fullduplex
189 or
190 .BR 100BASE-TXFD .
191 Similarly, to force 100Mbit operation, specify
192 .BR force100 .
193 Port 0x110 is used for the little ISA configuration dance.
194 .TP
195 .B 3c589
196 The 3COM 3C589 series PCMCIA cards, including the
197 3C562 and the 589E.
198 There is no support for the modem on the 3C562.
199 Completely configurable, no options need be given.
200 Defaults are
201 .EX
202         port=0x240 irq=10
203 .EE
204 The media may be specified as
205 .B media=10BaseT
206 or
207 .BR media=10Base2 .
208 .TP
209 .B ec2t
210 The Linksys Combo PCMCIA EthernetCard (EC2T),
211 EtherFast 10/100 PCMCIA cards (PCMPC100) and integrated controllers (PCM100),
212 the Netgear FA410TX 10/100 PCMCIA card
213 and the Accton EtherPair-PCMCIA (EN2216).
214 Completely configurable, no options need be given.
215 Defaults are
216 .EX
217         port=0x300 irq=9
218 .EE
219 These cards are NE2000 clones.
220 Other NE2000 compatible PCMCIA cards may be tried
221 with the option
222 .EX
223         id=string
224 .EE
225 where
226 .B string
227 is a unique identifier string contained in the attribute
228 memory of the card (see
229 .IR pcmcia (8));
230 unlike most options in
231 .BR plan9.ini ,
232 this string is case-sensitive.
233 The option
234 .B dummyrr=[01]
235 can be used to turn off (0) or on (1) a dummy remote read in the driver
236 in such cases,
237 depending on how NE2000 compatible they are.
238 .TP
239 .B ne2000
240 Not software configurable iff ISA;
241 PCI clones or supersets are software configurable;
242 includes the Realtek 8029 clone used by Parallels.
243 16-bit card.
244 Defaults are
245 .EX
246         port=0x300 irq=2 mem=0x04000 size=0x4000
247 .EE
248 The option (no value)
249 .B nodummyrr
250 is needed on some (near) clones to turn off a dummy remote read in the driver.
251 .TP
252 .B amd79c970
253 The AMD PCnet PCI Ethernet Adapter (AM79C970).
254 (This is the Ethernet adapter used by VMware.)
255 Completely configurable, no options need be given.
256 .TP
257 .B wd8003
258 Includes WD8013 and SMC Elite and Elite Ultra cards. There are varying degrees
259 of software configurability. Cards may be in either 8-bit or 16-bit slots.
260 Defaults are
261 .EX
262         port=0x280 irq=3 mem=0xD0000 size=0x2000
263 .EE
264 BUG: On many machines only the 16 bit card works.
265 .TP
266 .B bcm
267 Broadcom BCM57xx Gigabit Ethernet controllers.
268 Completely configurable, no options need be given.
269 .TP
270 .B yuk
271 Marvell 88e8057 Yukon2 Gigabit Ethernet controller.
272 Completely configurable, no options need be given.
273 .TP
274 .B virtio
275 Virtual Ethernet interface provided by QEMU/KVM and VirtualBox.
276 No options need be given. The MAC address can be changed with the
277 .B ea=
278 option.
279 .TP
280 .B sink
281 A
282 .B /dev/null
283 for Ethernet packets \(em the interface discards sent
284 packets and never receives any.
285 This is used to provide a test bed for
286 some experimental Ethernet bridging software.
287 .TP
288 .B wavelan
289 Lucent Wavelan (Orinoco) IEEE 802.11b
290 and compatible PCMCIA cards.
291 Compatible cards include the Dell TrueMobile 1150
292 and the Linksys Instant Wireless Network PC Card.
293 Port and IRQ defaults are 0x180 and 3 respectively.
294 .IP
295 These cards take a number of unique options to aid in
296 identifying the card correctly on the 802.11b network.
297 The network may be
298 .I "ad hoc"
299 or
300 .I managed
301 (i.e. use an access point):
302 .EX
303         mode=[adhoc, managed]
304 .EE
305 and defaults to
306 .IR managed .
307 The 802.11b network to attach to
308 .RI ( managed
309 mode)
310 or identify as
311 .RI ( "ad hoc"
312 mode),
313 is specified by
314 .EX
315         essid=string
316 .EE
317 and defaults to a null string.
318 The card station name is given by
319 .EX
320         station=string
321 .EE
322 and defaults to
323 .IR "Plan 9 STA" .
324 The channel to use is given by
325 .EX
326         channel=number
327 .EE
328 where
329 .I number
330 lies in the range 1 to 16 inclusive;
331 the channel is normally negotiated automatically.
332 .IP
333 If the card is capable of encryption,
334 the following options may be used:
335 .EX
336         crypt=[off, on]
337 .EE
338 and defaults to
339 .IR on .
340 .EX
341         key\fIN\fP=string
342 .EE
343 sets the encryption key
344 .I N
345 (where
346 .I N
347 is in the range 1 to 4 inclusive) to
348 .IR string ;
349 this will also set the transmit key to
350 .I N
351 (see below).
352 There are two formats for
353 .I string
354 which depend on the length of the string.
355 If it is exactly 5 or 13 characters long it is assumed
356 to be an alphanumeric key; if it is exactly 10 or 26 characters
357 long the key is assumed to be in hex format (without a leading
358 .IR 0x ).
359 The lengths are checked,
360 as is the format of a hex key.
361 .EX
362         txkey=number
363 .EE
364 sets the transmit key to use to be
365 .I number
366 in the range 1 to 4 inclusive.
367 If it is desired to exclude or include unencrypted packets
368 .EX
369         clear=[off, on]
370 .EE
371 configures reception and defaults to inclusion.
372 .IP
373 The defaults are intended to match the common case of
374 a managed network with encryption and a typical entry would
375 only require, for example
376 .EX
377         essid=left-armpit key1=afish key2=calledraawaru
378 .EE
379 if the port and IRQ defaults are used.
380 These options may be set after boot by writing to the device's
381 .I ctl
382 file using a space as the separator between option and value, e.g.
383 .EX
384         echo 'key2 1d8f65c9a52d83c8e4b43f94af' >/net/ether0/0/ctl
385 .EE
386 .IP
387 Card-specific power management may be enabled/disabled by
388 .EX
389         pm=[on, off]
390 .EE
391 .TP
392 .B wavelanpci
393 PCI Ethernet adapters that use the same Wavelan
394 programming interface.
395 Currently the only tested cards are those based on the
396 Intersil Prism 2.5 chipset.
397 .
398 .TP
399 .B iwl
400 Intel Wireless WiFi Link mini PCI-Express adapters require
401 firmware from
402 .B http://firmware.openbsd.org/firmware/*/iwn-firmware*.tgz
403 to be present on attach in
404 .B /lib/firmware
405 or
406 .B /boot.
407 To limit the selected APs the options
408 .B essid=
409 and
410 .B bssid=
411 may be set at boot or in the ether interface clone file 
412 using a space as the separator between option and value, e.g.
413 .EX
414         echo essid left-armpit >/net/ether1/clone
415 .EE
416 Scan results appear in the
417 .B ifstats
418 file and can be read out like:
419 .EX
420         cat /net/ether1/ifstats
421 .EE
422 Ad-hoc mode or WEP encryption is currently not supported.
423 .TP
424 .B rt2860
425 Ralink Technology PCI/PCI-Express wireless adapters require
426 firmware from
427 .B http://firmware.openbsd.org/firmware/*/ral-firmware*.tgz
428 to be present on attach in
429 .B /lib/firmware
430 or
431 .B /boot. 
432 See iwl section above for configuration details.
433 .TP
434 .B wpi
435 Intel PRO Wireless 3945abg PCI/PCI-Express wireless adapters require
436 firmware from
437 .B http://firmware.openbsd.org/firmware/*/wpi-firmware*.tgz
438 to be present on attach in
439 .B /lib/firmware
440 or
441 .B /boot. 
442 See iwl section above for configuration details.
443 .SS \fLwpapsk\fI=password\fP
444 WPA/WPA2 encryption
445 is detected automatically and a prompt for the
446 .I password
447 will appear when using the WIFI interface for netbooting.
448 To avoid the prompt, the
449 .I password
450 can be specified with the boot parameter above.
451 .SS \fLnora6=
452 Disable automatic IPv6 configuration from incoming router advertisements.
453 .SS DISKS, TAPES
454 (S)ATA controllers are autodetected.
455 .SS \fL*nodma=\fP
456 disables dma on ata devices.
457 .SS \fL*sd\fIXX\fLdma=on\fP
458 explicitly enables dma on a specific ata device.
459 .SS \fLscsi\fIX\fL=value\fP
460 This defines a SCSI interface which cannot be automatically detected
461 by the kernel.
462 .PP
463 Known
464 .IR TYPE s 
465 are
466 .TP
467 .B aha1542
468 Adaptec 154x series of controllers (and clones).
469 Almost completely configurable, only the
470 .EX
471         port=0x300
472 .EE
473 option need be given.
474 .PP
475 NCR/Symbios/LSI-Logic 53c8xx-based adapters
476 and Mylex MultiMaster (Buslogic BT-*) adapters are
477 automatically detected and need no entries.
478 .PP
479 By default, the NCR 53c8xx driver searches for up to 32 controllers.
480 This can be changed by setting the variable
481 .BR *maxsd53c8xx .
482 .PP
483 By default the Mylex driver resets SCSI cards by using
484 both the hard reset and SCSI bus reset flags in the driver interface.
485 If a variable
486 .BR *noscsireset
487 is defined, the SCSI bus reset flag is omitted.
488 .SS \fLaoeif=\fP\fIlist\fP
489 This specifies a space-separated
490 .I list
491 of Ethernet interfaces to be bound at boot to the ATA-over-Ethernet driver,
492 .IR aoe (3).
493 For example,
494 .LR "aoeif=ether0 ether1" .
495 Only interfaces on this list will initially be accessible via AoE.
496 .SS \fLaoedev=e!#æ/aoe/\fIshelf\fL.\fIslot\fR
497 This specifies an ATA-over-Ethernet device accessible via the interfaces
498 named in
499 .IR aoeif
500 on AoE
501 .I shelf
502 and
503 .I slot
504 to use as a root device for bootstrapping.
505 .SS \fLramdisk\fIX\fL=\fIsize\fP
506 .SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP
507 .SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP
508 This reserves physical memory as a ramdisk that will appear as
509 .IR sd (3)
510 device \fLsdZ\fIX\fR.
511 When the
512 .I address
513 argument is omited or zero, then the ramdisk will be allocated
514 from the top of physical memory.
515 .SS AUDIO
516 .SS \fLaudio\fIX\fL=\fIvalue\fP
517 This defines a sound interface. PCI based audio devices such as
518 Intel HD audio or AC97 are autodetected and do not require any settings.
519 .PP
520 Known types are
521 .TF ess1688
522 .PD
523 .TP
524 .B hda
525 Intel HD audio.
526 .TP
527 .B ac97
528 AC97 based card.
529 .TP
530 .B sb16
531 Sound Blaster 16.
532 .TP
533 .B ess1688
534 A Sound Blaster clone.
535 .PP
536 The DMA channel may be any of 5, 6, or 7.
537 The defaults are
538 .IP
539 .EX
540 port=0x220 irq=7 dma=5
541 .EE
542 .SS UARTS
543 Plan 9 automatically configures COM1 and COM2, if found,
544 as
545 .B eia0
546 (port 0x3F8, IRQ4)
547 and
548 .B eia1
549 (port 0x2F8, IRQ3)
550 respectively.
551 These devices can be disabled by adding a line:
552 .IP
553 .EX
554 eia\fIX\fP=disabled
555 .EE
556 .LP
557 This is typically done in order to reuse the IRQ for
558 another device.
559 .P 
560 .PP
561 Additional i8250 (ISA) uarts (uart2 to uart5) can be
562 configured using:
563 .IP
564 .EX
565 uart\fIX\fP=type=isa port=\fIport\fP irq=\fIirq
566 .EE
567 .PP
568 Perle PCI-Fast4, PCI-Fast8, and PCI-Fast16 controllers
569 are automatically detected and need no configuration lines.
570 .PP
571 The line
572 .B serial=type=com
573 can be used to specify settings for a PCMCIA modem.
574 .SS \fLkbmap=\fIvalue\fP
575 This specifies the keyboard map to use.
576 .I Value
577 can be a map file found in
578 .B /sys/lib/kbmap
579 on the ramdisk.
580 .PP
581 For example:
582 .TP
583 .B kbmap=colemak
584 .SS \fLmouseport=\fIvalue\fP
585 This specifies where the mouse is attached.
586 .I Value
587 can be a map file found in
588 .B /sys/lib/kbmap
589 on the ramdisk.
590 .TP
591 .B ps2
592 the PS2 mouse/keyboard port.  The BIOS setup procedure
593 should be used to configure the machine appropriately.
594 .TP
595 .B ps2intellimouse
596 an Intellimouse on the PS2 port.
597 .TP
598 .B 0
599 for COM1
600 .TP
601 .B 1
602 for COM2
603 .SS \fLmodemport=\fIvalue\fP
604 Picks the UART line to call out on.
605 This is used when connecting to a file server over
606 an async line.
607 .I Value
608 is the number of the port.
609 .SS \fLconsole=\fIvalue params\fP
610 This is used to specify the console device.
611 The default
612 .I value
613 is
614 .BR cga ;
615 a number
616 .B 0
617 or
618 .B 1
619 specifies
620 .I COM1
621 or
622 .I COM2
623 respectively.
624 A serial console is initially configured with the
625 .IR uart (3)
626 configuration string
627 .B b9600
628 .B l8
629 .B pn
630 .BR s1 ,
631 specifying 9600 baud,
632 8 bit bytes, no parity, and one stop bit.
633 If
634 .I params
635 is given, it will be used to further
636 configure the uart.
637 Notice that there is no
638 .B =
639 sign in the
640 .I params
641 syntax.
642 For example,
643 .IP
644 .EX
645 console=0 b19200 po
646 .EE
647 .LP
648 would use COM1 at 19,200 baud
649 with odd parity.
650 .LP
651 The value
652 .B net
653 specifies ``netconsole'' which sends console messages as UDP packets over the network.
654 It bypasses the IP stack and writes Ethernet packets directly to the NIC.
655 In this case
656 .I params
657 is mandatory and takes the form
658 .IP
659 \fIsrcip\fR [ \fB!\fIsrcport \fR] [ \fB/\fIdevno \fR] \fB, \fIdstip\fR [ \fB!\fIdstport \fR] [ \fB/\fIdstmac \fR]
660 .LP
661 \fISrcip\fR, \fIsrcport\fR (default 6665), \fIdstip\fR and \fIdstport\fR (default 6666) specify the source IP address, source port, destination IP address and destination port, respectively.
662 \fIDevno\fR (default 0) specifies which NIC to use, a value of \fIn\fR corresponds to NIC at \fL#l\fIn\fR (see
663 .IR ether (3)).
664 \fIDstmac\fR specifies the destination MAC address; broadcast packets are sent if it is unspecified.
665 Note that it is possible, but not recommended, to send packets to a host outside the local network by specifying the MAC address of the gateway as \fIdstmac\fR.
666 Example lines are
667 .IP
668 .EX
669 console=net 192.168.0.4,192.168.0.8
670 console=net 192.168.2.10!1337/1,192.168.2.3!1337/0ea7deadbeef
671 .EE
672 .LP
673 .SS "PC CARD"
674 .SS \fLpccard0=disabled\fP
675 Disable probing for and automatic configuration of PC card controllers.
676 .SS \fLpcmcia\fIX\fL=type=XXX irq=\fIvalue\fP
677 If the default IRQ for the
678 PCMCIA
679 is correct, this entry can be omitted.  The value of
680 .B type
681 is ignored.
682 .SS \fLpcmcia0=disabled\fP
683 Disable probing for and automatic configuration of PCMCIA controllers.
684 .SS BOOTING
685 .SS \fLbootfile=\fIvalue\fP
686 This is used to direct the actions of
687 .IR 9boot (8)
688 by naming the file from which to load the kernel in
689 the current BIOS boot device.
690 .SS \fLbootargs=\fIvalue\fP
691 The
692 .I value
693 of this variable is passed to
694 .IR boot (8)
695 by the kernel as the name of the root file system to
696 automatically mount and boot into.
697 It is typically used to specify additional arguments to
698 pass to
699 .IR cwfs (4)
700 or
701 .IR ipconfig (8).
702 For example, if the system is to run from a local
703 .IR cwfs (4)
704 partition, the definition might read
705 .BR bootargs=local!/dev/sdC0/fscache .
706 See
707 .IR boot (8)
708 for more.
709 .SS \fLnobootprompt=\fIvalue\fP
710 Suppress the
711 .L bootargs
712 prompt and use
713 .I value
714 as the answer instead.
715 .SS \fLrootdir=\fB/root/\fIdir\fP
716 .SS \fLrootspec=\fIspec\fP
717 Changes the mount arguments for the root file server
718 that was specified by
719 .I bootargs
720 above.
721 By changing
722 .I dir
723 in
724 .BR $rootdir ,
725 a different sub-directory on the root file server
726 can be used as the system root. see
727 .IR boot (8)
728 for details.
729 .SS \fLuser=\fIvalue\fP
730 Suppress the
731 .L "user"
732 prompt and use
733 .I value
734 as the answer instead.
735 .SS \fLservice=\fIvalue\fP
736 Changes the systems default role. Possible
737 settings for
738 .I value
739 are
740 .B cpu
741 and
742 .B terminal.
743 .SS \fLdebugfactotum=\fP
744 Causes
745 .IR boot (8)
746 to start
747 .I factotum
748 with the
749 .B -p
750 option, so that it can be debugged.
751 .SS \fLcfs=\fIvalue\fP
752 This gives the name of the file holding the disk partition
753 for the cache file system,
754 .IR cfs (4).
755 Extending the
756 .B bootargs
757 example, one would write
758 .BR cfs=#S/sdC0/cache .
759 .SS \fLbootdisk=\fIvalue\fP
760 This deprecated variable was used to specify the disk used by
761 the cache file system and other disk-resident services.
762 It is superseded by
763 .B bootargs
764 and
765 .BR cfs .
766 .SS \fLfs=\fIaddress\fP
767 .SS \fLauth=\fIaddress\fP
768 .SS \fLsecstore=\fIaddress\fP
769 These specify the network address (IP or domain name)
770 of the file, authentication and secstore server
771 to use when mounting a network-provided root file system.
772 When not specified, then these settings are determined via DHCP.
773 When
774 .B secstore
775 is not specified, then the authentication server is used.
776 .SS PROCESSOR
777 .SS \fL*e820=\fItype \fB0x\fIstart \fB0x\fIend ...\fP
778 This variable is automatically generated by the boot loader (see
779 .IR 9boot (8))
780 by doing a BIOS E820 memory scan while still in realmode and
781 passed to the kernel. The format is a unordered list of 
782 decimal region
783 .I type
784 and hexadecimal 64-bit
785 .I start
786 and
787 .I end
788 addresses of the area.
789 .SS \fL*maxmem=\fIvalue\fP
790 This defines the maximum physical address that the system will scan when sizing memory.
791 By default the PC operating system will scan up to 3.75 gigabytes
792 (0xF0000000, the base of kernel virtual address space), but setting
793 .B *maxmem
794 will limit the scan.
795 .B *maxmem
796 must be less than 3.75 gigabytes.
797 This variable is not consulted if using the E820 memory map.
798 .SS \fL*kernelpercent=\fIvalue\fP
799 This defines what percentage of available memory is reserved for the kernel allocation pool.
800 The remainder is left for user processes.  The default
801 .I value
802 is
803 .B 30
804 on CPU servers,
805 .B 60
806 on terminals with less than 16MB of memory,
807 and
808 .B 40
809 on terminals with memories of 16MB or more.
810 Terminals use more kernel memory because
811 .IR draw (3)
812 maintains its graphic images in kernel memory.
813 This deprecated option is rarely necessary in newer kernels.
814 .SS \fL*imagemaxmb=\fIvalue\fP
815 This limits the maximum amount of memory (in megabytes) the graphics
816 image memory pool can grow. The default is unlimited for terminals
817 and cpu servers.
818 .SS \fL*noavx=\fP
819 Disables AVX and AVX2 on AMD64 CPUs.
820 .SS \fL*nomce=\fP
821 If machine check exceptions are supported by the processor,
822 then they are enabled by default.
823 Setting
824 .B *nomce
825 causes them to be disabled even when available.
826 .SS \fL*nomp=\fP
827 A multiprocessor machine will enable all processors by default.
828 Setting
829 .B *nomp
830 restricts the kernel to starting only one processor and using the
831 traditional interrupt controller.
832 .SS \fL*ncpu=\fIvalue\fP
833 Setting
834 .B *ncpu
835 restricts the kernel to starting at most
836 .I value
837 processors.
838 .SS \fL*apicdebug=\fP
839 Prints a summary of the multiprocessor APIC interrupt configuration.
840 .SS \fL*nomsi=\fP
841 Disables message signaled interrupts for PCI devices.
842 This option has no effect when
843 .B *nomp
844 is set.
845 .SS \fL*nomtrr=\fP
846 Disables memory type range register (MTRR) support when set. (debug)
847 .SS \fL*notsc=\fP
848 Disables the use of the per processor timestamp counter registers
849 as high resolution clock.
850 .SS \fL*nohpet=\fP
851 Disables the HPET timer to be used as the high resolution clock.
852 .SS \fL*pcimaxbno=value\fP
853 This puts a limit on the maximum bus number probed
854 on a PCI bus (default 7).
855 For example, a
856 .I value
857 of 1 should suffice on a 'standard' motherboard with an AGP slot.
858 This, and
859 .B *pcimaxdno
860 below are rarely used and only on troublesome or suspect hardware.
861 .SS \fL*pcimaxdno=\fIvalue\fP
862 This puts a limit on the maximum device number probed
863 on a PCI bus (default 31).
864 .SS \fL*nopcirouting=\fP
865 Disable pci routing during boot.  May solve interrupt routing
866 problems on certain machines.
867 .SS \fL*pcihinv=\fP
868 Prints a summary of the detected PCI busses and devices.
869 .SS \fL*nodumpstack=\fP
870 Disable printing a stack dump on panic.
871 Useful if there is only a limited cga screen available,
872 otherwise the textual information about the panic may scroll off.
873 .\" .SS \fL*nobios=\fP
874 .\" what does this do?  something with pci
875 .SS \fLioexclude=\fIvalue\fP
876 Specifies a list of ranges of I/O ports to exclude from use by drivers.
877 Ranges are inclusive on both ends and separated by commas.
878 For example:
879 .EX
880     ioexclude=0x330-0x337,0x430-0x43F
881 .EE
882 .SS \fLumbexclude=\fIvalue\fP
883 Specifies a list of ranges of UMB to exclude from use by drivers.
884 Ranges are inclusive on both ends and separated by commas.
885 For example:
886 .EX
887     umbexclude=0xD1800-0xD3FFF
888 .EE
889 .SS \fL*acpi=\fIvalue\fP
890 This option controls the search for ACPI tables by the kernel.
891 The
892 .I value
893 is the hexadecimal physical address of the RSD structure
894 and is passed by the EFI bootloer
895 .IR 9boot (8)
896 automatically.
897 The special
898 .I value
899 of 1 or empty make the kernel search for the structure
900 in BIOS memory area (This is the default).
901 The
902 special
903 .I value
904 of 0 will disable ACPI support (for interrupt routing)
905 in the kernel,
906 but still make table data available in
907 .B #P/acpitbls
908 file of the
909 .IR arch (3)
910 device.
911 .SS \fLapm0=\fP
912 This enables the ``advanced power management'' interface
913 as described in
914 .IR apm (3)
915 and
916 .IR apm (8).
917 The main feature of the interface is the ability to watch
918 battery life (see
919 .IR stats (8)).
920 It is not on by default because it causes problems on some laptops.
921 .SS USB
922 .SS \fL*nousbprobe=\fP
923 Disable USB host controller detection.
924 .SS \fL*nousbohci=\fP
925 .SS \fL*nousbuhci=\fP
926 .SS \fL*nousbehci=\fP
927 .SS \fL*nousbxhci=\fP
928 Disable specific USB host controller types.
929 .SS \fLnousbrc=\fP
930 Disable
931 .IR nusbrc (8)
932 startup at boot time.
933 .SS \fLnousbhname=\fP
934 When defined,
935 .IR nusbrc (8)
936 will use the dynamically assigned usb device address to name
937 usb devices instead of the device unique name.
938 .SS VIDEO
939 .SS \fLmonitor=\fIvalue\fP
940 .SS \fLvgasize=\fIvalue\fP
941 These are used not by the kernel but by
942 .I termrc
943 (see
944 .IR cpurc (8))
945 when starting
946 .IR vga (8).
947 If
948 .I value
949 is set to
950 .B ask
951 then the user is prompted for a choice on boot.
952 .SS \fL*bootscreen=\fIvalue\fP
953 This is used by the kernel to attach a pre-initialized
954 linear framebuffer that was setup by the bootloader
955 or firmware.
956 The
957 .I value
958 has four space separated fields: the resolution and bitdepth
959 of the screen, the color channel descriptor, the physical
960 address of the framebuffer and a optional aperture size.
961 .EX
962         *bootscreen=800x600x32 x8r8g8b8 0x80000000 0x001d4c00
963 .EE
964 .SS \fL*dpms=\fIvalue\fP
965 This is used to specify the screen blanking behavior of the MGA4xx
966 video driver.
967 Values are
968 .BR standby ,
969 .BR suspend ,
970 and
971 .BR off .
972 The first two specify differing levels of power saving;
973 the third turns the monitor off completely.
974 .SS NVRAM
975 .SS \fLnvram=\fIfile\fP
976 .SS \fLnvrlen=\fIlength\fP
977 .SS \fLnvroff=\fIoffset\fP
978 This is used to specify an nvram device and optionally the length of the ram
979 and read/write offset to use.
980 These values are consulted by
981 .I readnvram
982 (see
983 .IR authsrv (2)).
984 The most common use of the nvram is to hold a
985 .IR secstore (1)
986 password for use by
987 .IR factotum (4).
988 .SS \fLnvr=\fIvalue\fP
989 This is used by the WORM file server kernel to locate a file holding information
990 to configure the file system.
991 The file cannot live on a SCSI disk.
992 The default is
993 .B fd!0!plan9.nvr
994 (sic),
995 unless
996 .B bootfile
997 is set, in which case it is
998 .B plan9.nvr
999 on the same disk as
1000 .BR bootfile .
1001 The syntax is either
1002 .BI fd! unit ! name
1003 or
1004 .BI hd! unit ! name
1005 where
1006 .I unit
1007 is the numeric unit id.
1008 This variant syntax is a vestige of the file server kernel's origins.
1009 .SH EXAMPLES
1010 .PP
1011 A representative
1012 .BR plan9.ini :
1013 .IP
1014 .EX
1015 % cat /n/9fat:/plan9.ini
1016 ether0=type=3C509
1017 mouseport=ps2
1018 modemport=1
1019 serial0=type=generic port=0x3E8 irq=5
1020 monitor=445x
1021 vgasize=1600x1200x8
1022 bootfile=/386/9pc
1023 %
1024 .EE
1025 .SH "SEE ALSO"
1026 .IR 9boot (8),
1027 .IR booting (8),
1028 .IR boot (8)