]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/plan9.ini
merge
[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 DOS program
8 .IR 9boot (8)
9 first reads a DOS file
10 containing configuration information from the boot disk.
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 sink
267 A
268 .B /dev/null
269 for Ethernet packets \(em the interface discards sent
270 packets and never receives any.
271 This is used to provide a test bed for
272 some experimental Ethernet bridging software.
273 .TP
274 .B wavelan
275 Lucent Wavelan (Orinoco) IEEE 802.11b
276 and compatible PCMCIA cards.
277 Compatible cards include the Dell TrueMobile 1150
278 and the Linksys Instant Wireless Network PC Card.
279 Port and IRQ defaults are 0x180 and 3 respectively.
280 .IP
281 These cards take a number of unique options to aid in
282 identifying the card correctly on the 802.11b network.
283 The network may be
284 .I "ad hoc"
285 or
286 .I managed
287 (i.e. use an access point):
288 .EX
289         mode=[adhoc, managed]
290 .EE
291 and defaults to
292 .IR managed .
293 The 802.11b network to attach to
294 .RI ( managed
295 mode)
296 or identify as
297 .RI ( "ad hoc"
298 mode),
299 is specified by
300 .EX
301         essid=string
302 .EE
303 and defaults to a null string.
304 The card station name is given by
305 .EX
306         station=string
307 .EE
308 and defaults to
309 .IR "Plan 9 STA" .
310 The channel to use is given by
311 .EX
312         channel=number
313 .EE
314 where
315 .I number
316 lies in the range 1 to 16 inclusive;
317 the channel is normally negotiated automatically.
318 .IP
319 If the card is capable of encryption,
320 the following options may be used:
321 .EX
322         crypt=[off, on]
323 .EE
324 and defaults to
325 .IR on .
326 .EX
327         key\fIN\fP=string
328 .EE
329 sets the encryption key
330 .I N
331 (where
332 .I N
333 is in the range 1 to 4 inclusive) to
334 .IR string ;
335 this will also set the transmit key to
336 .I N
337 (see below).
338 There are two formats for
339 .I string
340 which depend on the length of the string.
341 If it is exactly 5 or 13 characters long it is assumed
342 to be an alphanumeric key; if it is exactly 10 or 26 characters
343 long the key is assumed to be in hex format (without a leading
344 .IR 0x ).
345 The lengths are checked,
346 as is the format of a hex key.
347 .EX
348         txkey=number
349 .EE
350 sets the transmit key to use to be
351 .I number
352 in the range 1 to 4 inclusive.
353 If it is desired to exclude or include unencrypted packets
354 .EX
355         clear=[off, on]
356 .EE
357 configures reception and defaults to inclusion.
358 .IP
359 The defaults are intended to match the common case of
360 a managed network with encryption and a typical entry would
361 only require, for example
362 .EX
363         essid=left-armpit key1=afish key2=calledraawaru
364 .EE
365 if the port and IRQ defaults are used.
366 These options may be set after boot by writing to the device's
367 .I ctl
368 file using a space as the separator between option and value, e.g.
369 .EX
370         echo 'key2 1d8f65c9a52d83c8e4b43f94af' >/net/ether0/0/ctl
371 .EE
372 .IP
373 Card-specific power management may be enabled/disabled by
374 .EX
375         pm=[on, off]
376 .EE
377 .TP
378 .B wavelanpci
379 PCI Ethernet adapters that use the same Wavelan
380 programming interface.
381 Currently the only tested cards are those based on the
382 Intersil Prism 2.5 chipset.
383 .
384 .TP
385 .B iwl
386 Intel Wireless WiFi Link mini PCI-Express adapters require
387 firmware from
388 .B http://firmware.openbsd.org/firmware/iwn-firmware*.tgz
389 to be present on attach in
390 .B /lib/firmware
391 or
392 .B /boot.
393 To select the access point, the
394 .B essid=
395 and
396 .B bssid=
397 parameters can be specified at boot or set during runtime
398 like:
399 .EX
400         echo essid left-armpit >/net/ether1/clone
401 .EE
402 If both
403 .B essid=
404 and
405 .B bssid=
406 are specified, both must match.
407 Scan results appear in the
408 .B ifstats
409 file and can be read out like:
410 .EX
411         cat /net/ether1/ifstats
412 .EE
413 Ad-hoc mode or WEP encryption is currently not supported.
414 To enable WPA/WPA2 encryption, see
415 .IR wpa (8)
416 for details.
417 .SS DISKS, TAPES
418 (S)ATA controllers are autodetected.
419 .SS \fL*nodma=\fP
420 disables dma on ata devices.
421 .SS \fL*sd\fIXX\fLdma=on\fP
422 explicitly enables dma on a specific ata device.
423 .SS \fLscsi\fIX\fL=value\fP
424 This defines a SCSI interface which cannot be automatically detected
425 by the kernel.
426 .PP
427 Known
428 .IR TYPE s 
429 are
430 .TP
431 .B aha1542
432 Adaptec 154x series of controllers (and clones).
433 Almost completely configurable, only the
434 .EX
435         port=0x300
436 .EE
437 option need be given.
438 .PP
439 NCR/Symbios/LSI-Logic 53c8xx-based adapters
440 and Mylex MultiMaster (Buslogic BT-*) adapters are
441 automatically detected and need no entries.
442 .PP
443 By default, the NCR 53c8xx driver searches for up to 32 controllers.
444 This can be changed by setting the variable
445 .BR *maxsd53c8xx .
446 .PP
447 By default the Mylex driver resets SCSI cards by using
448 both the hard reset and SCSI bus reset flags in the driver interface.
449 If a variable
450 .BR *noscsireset
451 is defined, the SCSI bus reset flag is omitted.
452 .SS \fLaoeif=\fP\fIlist\fP
453 This specifies a space-separated
454 .I list
455 of Ethernet interfaces to be bound at boot to the ATA-over-Ethernet driver,
456 .IR aoe (3).
457 For example,
458 .LR "aoeif=ether0 ether1" .
459 Only interfaces on this list will initially be accessible via AoE.
460 .SS \fLaoedev=e!#æ/aoe/\fIshelf\fL.\fIslot\fR
461 This specifies an ATA-over-Ethernet device accessible via the interfaces
462 named in
463 .IR aoeif
464 on AoE
465 .I shelf
466 and
467 .I slot
468 to use as a root device for bootstrapping.
469 .SS AUDIO
470 .SS \fLaudio\fIX\fL=\fIvalue\fP
471 This defines a sound interface.
472 .PP
473 Known types are
474 .TF ess1688
475 .PD
476 .TP
477 .B sb16
478 Sound Blaster 16.
479 .TP
480 .B ess1688
481 A Sound Blaster clone.
482 .PP
483 The DMA channel may be any of 5, 6, or 7.
484 The defaults are
485 .IP
486 .EX
487 port=0x220 irq=7 dma=5
488 .EE
489 .SS UARTS
490 Plan 9 automatically configures COM1 and COM2, if found,
491 as
492 .B eia0
493 (port 0x3F8, IRQ4)
494 and
495 .B eia1
496 (port 0x2F8, IRQ3)
497 respectively.
498 These devices can be disabled by adding a line:
499 .IP
500 .EX
501 eia\fIX\fP=disabled
502 .EE
503 .LP
504 This is typically done in order to reuse the IRQ for
505 another device.
506 .P 
507 .PP
508 Additional i8250 (ISA) uarts (uart2 to uart5) can be
509 configured using:
510 .IP
511 .EX
512 uart\fIX\fP=type=isa port=\fIport\fP irq=\fIirq
513 .EE
514 .PP
515 Perle PCI-Fast4, PCI-Fast8, and PCI-Fast16 controllers
516 are automatically detected and need no configuration lines.
517 .PP
518 The line
519 .B serial=type=com
520 can be used to specify settings for a PCMCIA modem.
521 .SS \fLmouseport=\fIvalue\fP
522 This specifies where the mouse is attached.
523 .I Value
524 can be
525 .TP
526 .B ps2
527 the PS2 mouse/keyboard port.  The BIOS setup procedure
528 should be used to configure the machine appropriately.
529 .TP
530 .B ps2intellimouse
531 an Intellimouse on the PS2 port.
532 .TP
533 .B 0
534 for COM1
535 .TP
536 .B 1
537 for COM2
538 .SS \fLmodemport=\fIvalue\fP
539 Picks the UART line to call out on.
540 This is used when connecting to a file server over
541 an async line.
542 .I Value
543 is the number of the port.
544 .SS \fLconsole=\fIvalue params\fP
545 This is used to specify the console device.
546 The default
547 .I value
548 is
549 .BR cga ;
550 a number
551 .B 0
552 or
553 .B 1
554 specifies
555 .I COM1
556 or
557 .I COM2
558 respectively.
559 A serial console is initially configured with the
560 .IR uart (3)
561 configuration string
562 .B b9600
563 .B l8
564 .B pn
565 .BR s1 ,
566 specifying 9600 baud,
567 8 bit bytes, no parity, and one stop bit.
568 If
569 .I params
570 is given, it will be used to further
571 configure the uart.
572 Notice that there is no
573 .B =
574 sign in the
575 .I params
576 syntax.
577 For example,
578 .IP
579 .EX
580 console=0 b19200 po
581 .EE
582 .LP
583 would use COM1 at 19,200 baud
584 with odd parity.
585 .SS "PC CARD"
586 .SS \fLpccard0=disabled\fP
587 Disable probing for and automatic configuration of PC card controllers.
588 .SS \fLpcmcia\fIX\fL=type=XXX irq=\fIvalue\fP
589 If the default IRQ for the
590 PCMCIA
591 is correct, this entry can be omitted.  The value of
592 .B type
593 is ignored.
594 .SS \fLpcmcia0=disabled\fP
595 Disable probing for and automatic configuration of PCMCIA controllers.
596 .SS BOOTING
597 .SS \fLbootfile=\fIvalue\fP
598 This is used to direct the actions of
599 .IR 9boot (8)
600 by naming the file from which to load the kernel in
601 the current BIOS boot device.
602 .SS \fLbootargs=\fIvalue\fP
603 The
604 .I value
605 of this variable is passed to
606 .IR boot (8)
607 by the kernel as the name of the root file system to
608 automatically mount and boot into.
609 It is typically used to specify additional arguments to
610 pass to
611 .IR cwfs (4)
612 or
613 .IR ipconfig (8).
614 For example, if the system is to run from a local
615 .IR cwfs (4)
616 partition, the definition might read
617 .BR bootargs=local!/dev/sdC0/fscache .
618 See
619 .IR boot (8)
620 for more.
621 .SS \fLnobootprompt=\fIvalue\fP
622 Suppress the
623 .L "root from"
624 prompt and use
625 .I value
626 as the answer instead.
627 .SS \fLuser=\fIvalue\fP
628 Suppress the
629 .L "user"
630 prompt and use
631 .I value
632 as the answer instead.
633 .SS \fLdebugfactotum=\fP
634 Causes
635 .IR boot (8)
636 to start
637 .I factotum
638 with the
639 .B -p
640 option, so that it can be debugged.
641 .SS \fLfactotumopts=\fIoptions\fP
642 Causes
643 .IR boot (8)
644 to start
645 .I factotum
646 with the given
647 .IR options ,
648 which must be a single word (i.e., contain no whitespace).
649 .SS \fLcfs=\fIvalue\fP
650 This gives the name of the file holding the disk partition
651 for the cache file system,
652 .IR cfs (4).
653 Extending the
654 .B bootargs
655 example, one would write
656 .BR cfs=#S/sdC0/cache .
657 .SS \fLbootdisk=\fIvalue\fP
658 This deprecated variable was used to specify the disk used by
659 the cache file system and other disk-resident services.
660 It is superseded by
661 .B bootargs
662 and
663 .BR cfs .
664 .SS \fLfs=\fIa.b.c.d\fP
665 .SS \fLauth=\fIa.b.c.d\fP
666 These specify the IP address of the file and authentication server
667 to use when mounting a network-provided root file system.
668 They are used only if the addresses cannot be determined via DHCP.
669 .SS PROCESSOR
670 .SS \fL*e820=\fItype \fB0x\fIstart \fB0x\fIend ...\fP
671 This variable is automatically generated by the boot loader (see
672 .IR 9boot (8))
673 by doing a BIOS E820 memory scan while still in realmode and
674 passed to the kernel. The format is a unordered list of 
675 decimal region
676 .I type
677 and hexadecimal 64-bit
678 .I start
679 and
680 .I end
681 addresses of the area.
682 .SS \fL*maxmem=\fIvalue\fP
683 This defines the maximum physical address that the system will scan when sizing memory.
684 By default the PC operating system will scan up to 3.75 gigabytes
685 (0xF0000000, the base of kernel virtual address space), but setting
686 .B *maxmem
687 will limit the scan.
688 .B *maxmem
689 must be less than 3.75 gigabytes.
690 This variable is not consulted if using the E820 memory map.
691 .SS \fL*kernelpercent=\fIvalue\fP
692 This defines what percentage of available memory is reserved for the kernel allocation pool.
693 The remainder is left for user processes.  The default
694 .I value
695 is
696 .B 30
697 on CPU servers,
698 .B 60
699 on terminals with less than 16MB of memory,
700 and
701 .B 40
702 on terminals with memories of 16MB or more.
703 Terminals use more kernel memory because
704 .IR draw (3)
705 maintains its graphic images in kernel memory.
706 This deprecated option is rarely necessary in newer kernels.
707 .SS \fL*imagemaxmb=\fIvalue\fP
708 This limits the maximum amount of memory (in megabytes) the graphics
709 image memory pool can grow. The default is unlimited for terminals
710 and cpu servers.
711 .SS \fL*nomce=\fIvalue\fP
712 If machine check exceptions are supported by the processor,
713 then they are enabled by default.
714 Setting this variable to
715 .B 1
716 causes them to be disabled even when available.
717 .SS \fL*nomp=\fP
718 A multiprocessor machine will enable all processors by default.
719 Setting
720 .B *nomp
721 restricts the kernel to starting only one processor and using the
722 traditional interrupt controller.
723 .SS \fL*ncpu=\fIvalue\fP
724 Setting
725 .B *ncpu
726 restricts the kernel to starting at most
727 .I value
728 processors.
729 .SS \fL*apicdebug=\fP
730 Prints a summary of the multiprocessor APIC interrupt configuration.
731 .SS \fL*nomsi=\fP
732 Disables message signaled interrupts.
733 .SS \fL*notsc=\fP
734 Disables the use of the per processor timestamp counter registers
735 as high resolution clock.
736 .SS \fL*pcimaxbno=value\fP
737 This puts a limit on the maximum bus number probed
738 on a PCI bus (default 7).
739 For example, a
740 .I value
741 of 1 should suffice on a 'standard' motherboard with an AGP slot.
742 This, and
743 .B *pcimaxdno
744 below are rarely used and only on troublesome or suspect hardware.
745 .SS \fL*pcimaxdno=\fIvalue\fP
746 This puts a limit on the maximum device number probed
747 on a PCI bus (default 31).
748 .SS \fL*nopcirouting=\fP
749 Disable pci routing during boot.  May solve interrupt routing
750 problems on certain machines.
751 .SS \fL*pcihinv=\fP
752 Prints a summary of the detected PCI busses and devices.
753 .SS \fL*nodumpstack=\fP
754 Disable printing a stack dump on panic.
755 Useful if there is only a limited cga screen available,
756 otherwise the textual information about the panic may scroll off.
757 .\" .SS \fL*nobios=\fP
758 .\" what does this do?  something with pci
759 .SS \fLioexclude=\fIvalue\fP
760 Specifies a list of ranges of I/O ports to exclude from use by drivers.
761 Ranges are inclusive on both ends and separated by commas.
762 For example:
763 .EX
764     ioexclude=0x330-0x337,0x430-0x43F
765 .EE
766 .SS \fLumbexclude=\fIvalue\fP
767 Specifies a list of ranges of UMB to exclude from use by drivers.
768 Ranges are inclusive on both ends and separated by commas.
769 For example:
770 .EX
771     umbexclude=0xD1800-0xD3FFF
772 .EE
773 .SS \fL*acpi=\fIvalue\fP
774 The presence of this option enables ACPI and the export of the
775 .B #P/acpitbls
776 file in
777 .IR arch (3)
778 device. In multiprocessor mode, the kernel will use the ACPI
779 tables to configure APIC interrupts unless a
780 .I value
781 of
782 .B 0
783 is specified.
784 .SS \fLapm0=\fP
785 This enables the ``advanced power management'' interface
786 as described in
787 .IR apm (3)
788 and
789 .IR apm (8).
790 The main feature of the interface is the ability to watch
791 battery life (see
792 .IR stats (8)).
793 It is not on by default because it causes problems on some laptops.
794 .SS VIDEO
795 .SS \fLmonitor=\fIvalue\fP
796 .SS \fLvgasize=\fIvalue\fP
797 These are used not by the kernel but by
798 .I termrc
799 (see
800 .IR cpurc (8))
801 when starting
802 .IR vga (8).
803 If
804 .I value
805 is set to
806 .B ask
807 then the user is prompted for a choice on boot.
808 .SS \fL*dpms=\fIvalue\fP
809 This is used to specify the screen blanking behavior of the MGA4xx
810 video driver.
811 Values are
812 .BR standby ,
813 .BR suspend ,
814 and
815 .BR off .
816 The first two specify differing levels of power saving;
817 the third turns the monitor off completely.
818 .SS NVRAM
819 .SS \fLnvram=\fIfile\fP
820 .SS \fLnvrlen=\fIlength\fP
821 .SS \fLnvroff=\fIoffset\fP
822 This is used to specify an nvram device and optionally the length of the ram
823 and read/write offset to use.
824 These values are consulted by
825 .I readnvram
826 (see
827 .IR authsrv (2)).
828 The most common use of the nvram is to hold a
829 .IR secstore (1)
830 password for use by
831 .IR factotum (4).
832 .SS \fLnvr=\fIvalue\fP
833 This is used by the WORM file server kernel to locate a file holding information
834 to configure the file system.
835 The file cannot live on a SCSI disk.
836 The default is
837 .B fd!0!plan9.nvr
838 (sic),
839 unless
840 .B bootfile
841 is set, in which case it is
842 .B plan9.nvr
843 on the same disk as
844 .BR bootfile .
845 The syntax is either
846 .BI fd! unit ! name
847 or
848 .BI hd! unit ! name
849 where
850 .I unit
851 is the numeric unit id.
852 This variant syntax is a vestige of the file server kernel's origins.
853 .SH EXAMPLES
854 .PP
855 A representative
856 .BR plan9.ini :
857 .IP
858 .EX
859 % cat /n/9fat:/plan9.ini
860 ether0=type=3C509
861 mouseport=ps2
862 modemport=1
863 serial0=type=generic port=0x3E8 irq=5
864 monitor=445x
865 vgasize=1600x1200x8
866 bootfile=/386/9pcf
867 %
868 .EE
869 .SH "SEE ALSO"
870 .IR 9boot (8),
871 .IR booting (8),
872 .IR boot (8)
873 .SH BUGS
874 Being able to set the console device to other than a
875 display is marginally useful on file servers; MS-DOS
876 and the programs which run under it are so tightly bound
877 to the display that it is necessary to have a display if any
878 setup or reconfiguration programs need to be run.
879 Also, the delay before any messages appear at boot time
880 is disconcerting, as any error messages from the BIOS
881 are lost.
882 .PP
883 The declaration of a kernel parameter which is a prefix of
884 previously declared parameters will delete the previous
885 ones. If this is not desired, parameters should be given
886 in shortest to longest order.