1 <!-- $FreeBSD: src/release/doc/en_US.ISO8859-1/hardware/common/config.sgml,v 1.1.2.2 2001/09/06 23:18:26 bmah Exp $ -->
5 <title>Boot-time Kernel Configuration</title>
7 <para>This section describes the boot-time configuration of the
12 <title>Default Configuration</title>
14 <para>The following table contains a list of all of the devices
15 that are present in the <filename>GENERIC</filename> kernel. This
16 is the essential part of the operating system that is placed in
17 your root partition during the installation process. A compressed
18 version of the <filename>GENERIC</filename> kernel is also used on
19 the installation floppy diskette and DOS boot image.</para>
21 <para>The table describes the various parameters used by the
22 driver to communicate with the hardware in your system. There are
23 four parameters in the table, though not all are used by each and
26 <informaltable frame=none>
27 <tgroup cols=2 align=left>
28 <colspec colwidth="*">
29 <colspec colwidth="5*">
33 <entry>The starting I/O port used by the device, shown in hexadecimal.</entry>
37 <entry>The interrupt the device uses to alert the driver to an event,
38 given in decimal.</entry>
42 <entry>The DMA (direct memory access) channel the device uses to move
43 data to and from main memory, also given in decimal.</entry>
47 <entry>The lowest (or starting) memory address used by the device,
48 also shown in hexadecimal.</entry>
54 If an entry in the table has `n/a' for a value then it means that
55 the parameter in question does not apply to that device. A value
56 of `dyn' means that the correct value should be determined
57 automatically by the kernel when the system boots and that you
58 don't need to worry about it.</para>
60 <para>If an entry is marked with an *, it means that support is
61 currently not available for it but should be back as soon as
62 someone converts the driver to work within the new (post-4.0)
66 <informaltable frame=none>
67 <tgroup cols=6 align=left>
68 <colspec colwidth="*">
69 <colspec colwidth="*">
70 <colspec colwidth="*">
71 <colspec colwidth="*">
72 <colspec colwidth="*">
73 <colspec colwidth="5*">
81 <entry>Description</entry>
91 <entry>Floppy disk controller</entry>
100 <entry>ATA/ATAPI controller</entry>
109 <entry>ATA/ATAPI controller</entry>
113 <entry>atadisk0</entry>
118 <entry>ATA disk drives</entry>
122 <entry>atapicd0</entry>
127 <entry>ATAPI CDROM drives</entry>
131 <entry>atapifd0</entry>
136 <entry>ATAPI floppy drives</entry>
140 <entry>atapist0</entry>
145 <entry>ATAPI tape drives</entry>
154 <entry>AdvanSys Narrow SCSI controllers</entry>
163 <entry>AdvanSys Wide SCSI controllers</entry>
172 <entry>AMD 53C974 (Tekram DC390(T))</entry>
181 <entry>NCR PCI SCSI controller</entry>
190 <entry>Buslogic SCSI controller</entry>
199 <entry>Adaptec 154x/1535 SCSI controller</entry>
208 <entry>Adaptec 174x SCSI controller</entry>
217 <entry>Adaptec 274x/284x/294x SCSI controller</entry>
226 <entry>Adaptec 152x/AIC-6360/AIC-6260 SCSI controller</entry>
235 <entry>QLogic 10X0, 1240 Ultra SCSI, 1080/1280 Ultra2 SCSI, 12160 Ultra3 SCSI, 2X00 Fibre Channel SCSI controller</entry>
244 <entry>DPT RAID SCSI controllers</entry>
253 <entry>AMI MegaRAID controllers</entry>
262 <entry>Mylex DAC960 RAID controllers</entry>
271 <entry>3ware Escalade RAID controllers</entry>
280 <entry>DPT SmartRaid V, VI, and Adaptec SCSI RAID</entry>
289 <entry>Mylex AcceleRAID/eXtremeRAID</entry>
298 <entry>Adaptec FSA family PCI SCSI RAID</entry>
307 <entry>NCR 53C500 based PC-Card SCSI</entry>
316 <entry>Workbit Ninja SCSI-3 based PC-Card SCSI</entry>
325 <entry>TMC 18C30/50 based ISA/PC-Card SCSI</entry>
334 <entry>Wangtek and Archive QIC-02/QIC-36</entry>
343 <entry>PS/2 Mouse</entry>
352 <entry>Mitsumi CD-ROM</entry>
356 <entry>matcd0</entry>
361 <entry>Matsushita/Panasonic CD-ROM</entry>
370 <entry>Sony CD-ROM</entry>
379 <entry>Serial Port 0 (COM1)</entry>
388 <entry>Serial Port 1 (COM2)</entry>
397 <entry>Printer ports</entry>
406 <entry>DEC/Intel 21143 cards and workalikes</entry>
415 <entry>DEC DC21x40 PCI based cards (including 21140 100bT cards)</entry>
424 <entry>WD & SMC 80xx; Novell NE1000 & NE2000; 3Com 3C503; HP PC Lan+</entry>
433 <entry>3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589</entry>
442 <entry>Intel EtherExpress Pro/10 cards</entry>
451 <entry>Allied-Telesyn AT1700, RE2000 and Fujitsu FMV-180 series cards.</entry>
460 <entry>Intel EtherExpress Pro/100B and Intel PRO/100+ Management Adapter</entry>
469 <entry>AT&T StarLAN 10 and EN100; 3Com 3C507; NI5210; Intel EtherExpress (8/16,16[TP]) cards</entry>
478 <entry>Digital Equipment EtherWorks 2 and EtherWorks 3</entry>
487 <entry>Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, some PCnet-PCI cards)</entry>
496 <entry>AMD PCnet/FAST, PCnet/FAST+, PCnet/FAST III, PCnet/PRO, PCnet/Home, and HomePNA cards</entry>
505 <entry>RealTek 8129/8139 fast ethernet</entry>
514 <entry>Adaptec AIC-6915 fast ethernet</entry>
523 <entry>SiS 900/SiS 7016 fast ethernet</entry>
532 <entry>SMC 91xx ethernet</entry>
541 <entry>Sundance ST201 fast ethernet</entry>
550 <entry>TI TNET100 'ThunderLAN' cards.</entry>
559 <entry>SMC 9432 'Epic' fast ethernet</entry>
568 <entry>Winbond W89C840F PCI based cards.</entry>
577 <entry>VIA VT3043/VT86C100A PCI based cards.</entry>
586 <entry>3Com 3c59x ((Fast) Etherlink III)</entry>
595 <entry>Xircom CreditCard adapters (16 bit)</entry>
604 <entry>3Com 3c900, 3c905, 3c905B, 3c905C, 3c980, 3cSOHO100 ((Fast) Etherlink XL)</entry>
613 <entry>Crystal Semiconductor CS89x0-based cards.</entry>
621 <para>If the hardware in your computer is not set to the same
622 settings as those shown in the table and the item in conflict is
623 not marked 'dyn', you will have to either reconfigure your
624 hardware or use UserConfig to reconfigure the kernel to match the
625 way your hardware is currently set (see the next section).</para>
627 <para>If the settings do not match, the kernel may be unable to
628 locate or reliably access the devices in your system.</para>
633 <title>Using UserConfig to change FreeBSD kernel settings</title>
636 <para>The markup for this section leaves a lot to be desired.</para>
639 <para>The FreeBSD kernel on the install floppy contains drivers
640 for every piece of hardware that could conceivably be used to
641 install the rest of the system with. Unfortunately, PC hardware
642 being what it is, some of these devices can be difficult to detect
643 accurately, and for some, the process of detecting another can
644 cause irreversible confusion.</para>
646 <para>To make this process easier, FreeBSD provides UserConfig.
647 With this tool the user can configure and disable device drivers
648 before the kernel is loaded, avoiding potential conflicts, and
649 eliminating the need to reconfigure hardware to suit the default
650 driver settings.</para>
652 <para>Once FreeBSD is installed, it will remember the changes made using
653 UserConfig, so that they only need be made once.</para>
655 <para>It is important to disable drivers that are not relevant to
656 a system in order to minimize the possibility of interference,
657 which can cause problems that are difficult to track down.</para>
659 <para>UserConfig features a command line interface for users with
660 serial consoles or a need to type commands, and a full screen
661 <quote>visual</quote> interface, which provides point-and-shoot
662 configuration functionality.</para>
664 <para>Here is a sample UserConfig screen shot in
665 <quote>visual</quote> mode:</para>
667 <screen>---Active Drivers---------------------------10 Conflicts------Dev---IRQ--Port--
668 Storage : (Collapsed)
670 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed0 5 0x280
671 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed1 5 0x300
672 Communications : (Collapsed)
675 ---Inactive Drivers-------------------------------------------Dev--------------
677 Network : (Collapsed)
683 ---Parameters-for-device-ed0---------------------------------------------------
684 Port address : 0x280 Memory address : 0xd8000
685 IRQ number : 5 Memory size : 0x2000
687 -------------------------------------------------------------------------------
688 IO Port address (Hexadecimal, 0x1-0x2000)
689 [TAB] Change fields [Q] Save device parameters</screen>
691 <para>The screen is divided into four sections:
694 <para>Active Drivers. Listed here are the device drivers
695 that are currently enabled, and their basic
699 <para>Inactive Drivers. These drivers are present, but are
703 <para>Parameter edit field. This area is used for editing
704 driver parameters.</para>
707 <para>Help area. Keystroke help is displayed here.</para>
712 <para>One of the Active and Inactive lists is always in use, and
713 the current entry in the list will be shown with a highlight bar.
714 If there are more entries in a list than can be shown, it will
715 scroll. The bar can be moved up and down using the cursor keys,
716 and moved between lists with the TAB key.</para>
718 <para>Drivers in the Active list may be marked
719 <literal>CONF</literal>. This indicates that one or more of their
720 parameters conflicts with another device, and indicates a
721 potential for problems. The total number of conflicts is
722 displayed at the top of the screen.</para>
724 <para>As a general rule, conflicts should be avoided, either by
725 disabling conflicting devices that are not present in the system,
726 or by altering their configuration so that they match the
727 installed hardware.</para>
729 <para>In the list areas, drivers are grouped by their basic
730 function. Groups can be <literal>Collapsed</literal> to simplify
731 the display (this is the default state for all groups). If a
732 group is collapsed, it will be shown with
733 <literal>Collapsed</literal> in the list, as above. To Expand a
734 Collapsed group, position the highlight bar over the group heading
735 and press Enter. To Collapse it again, repeat the process.</para>
737 <para>When a device driver in the Active list is highlighted, its
738 full parameters are displayed in the Parameter edit area. Note
739 that not all drivers use all possible parameters, and some
740 hardware supported by drivers may not use all the parameters the
741 driver supports.</para>
743 <para>To disable a driver, go to the Active list, Expand the group
744 it is in, highlight the driver and press Del. The driver will
745 move to its group in the Inactive list. (If the group is
746 collapsed or off the screen, you may not see the driver in its new
749 <para>To enable a driver, go to the Inactive list, Expand the
750 group it is in, highlight the driver and press Enter. The
751 highlight will move to the Active list, and the driver you have
752 just enabled will be highlighted, ready to be configured.</para>
754 <para>To configure a driver, go to the Active list, Expand the
755 group it is in, highlight the driver and press Enter. The cursor
756 will move to the Parameter edit area, and the device's parameters
757 may be edited.</para>
759 <para>While editing parameters, the TAB and cursor keys can be
760 used to move between fields. Most numeric values (except IRQ) are
761 entered in hexadecimal, as indicated by the '0x' at the beginning
762 of the field. The allowable values for a given field are show in
763 the Key Help area when the field is active.</para>
765 <para>To finish configuring a driver, press 'Q'.</para>
767 <para>Note that PCI, Microchannel and EISA devices can be probed
768 reliably, therefore they are not shown in the table above nor can
769 their settings be changed using UserConfig.</para>