2 The FreeBSD Documentation Project
3 The FreeBSD French Documentation Project
6 $FreeBSD: src/release/doc/fr_FR.ISO8859-1/hardware/common/config.sgml,v 1.1.2.1 2002/10/19 14:56:44 gioria Exp $
7 Original revision: 1.1.2.2
11 <title>Boot-time Kernel Configuration</title>
13 <para>This section describes the boot-time configuration of the
18 <title>Default Configuration</title>
20 <para>The following table contains a list of all of the devices
21 that are present in the <filename>GENERIC</filename> kernel. This
22 is the essential part of the operating system that is placed in
23 your root partition during the installation process. A compressed
24 version of the <filename>GENERIC</filename> kernel is also used on
25 the installation floppy diskette and DOS boot image.</para>
27 <para>The table describes the various parameters used by the
28 driver to communicate with the hardware in your system. There are
29 four parameters in the table, though not all are used by each and
32 <informaltable frame=none>
33 <tgroup cols=2 align=left>
34 <colspec colwidth="*">
35 <colspec colwidth="5*">
39 <entry>The starting I/O port used by the device, shown in hexadecimal.</entry>
43 <entry>The interrupt the device uses to alert the driver to an event,
44 given in decimal.</entry>
48 <entry>The DMA (direct memory access) channel the device uses to move
49 data to and from main memory, also given in decimal.</entry>
53 <entry>The lowest (or starting) memory address used by the device,
54 also shown in hexadecimal.</entry>
60 If an entry in the table has `n/a' for a value then it means that
61 the parameter in question does not apply to that device. A value
62 of `dyn' means that the correct value should be determined
63 automatically by the kernel when the system boots and that you
64 don't need to worry about it.</para>
66 <para>If an entry is marked with an *, it means that support is
67 currently not available for it but should be back as soon as
68 someone converts the driver to work within the new (post-4.0)
72 <informaltable frame=none>
73 <tgroup cols=6 align=left>
74 <colspec colwidth="*">
75 <colspec colwidth="*">
76 <colspec colwidth="*">
77 <colspec colwidth="*">
78 <colspec colwidth="*">
79 <colspec colwidth="5*">
87 <entry>Description</entry>
97 <entry>Floppy disk controller</entry>
106 <entry>ATA/ATAPI controller</entry>
115 <entry>ATA/ATAPI controller</entry>
119 <entry>atadisk0</entry>
124 <entry>ATA disk drives</entry>
128 <entry>atapicd0</entry>
133 <entry>ATAPI CDROM drives</entry>
137 <entry>atapifd0</entry>
142 <entry>ATAPI floppy drives</entry>
146 <entry>atapist0</entry>
151 <entry>ATAPI tape drives</entry>
160 <entry>AdvanSys Narrow SCSI controllers</entry>
169 <entry>AdvanSys Wide SCSI controllers</entry>
178 <entry>AMD 53C974 (Tekram DC390(T))</entry>
187 <entry>NCR PCI SCSI controller</entry>
196 <entry>Buslogic SCSI controller</entry>
205 <entry>Adaptec 154x/1535 SCSI controller</entry>
214 <entry>Adaptec 174x SCSI controller</entry>
223 <entry>Adaptec 274x/284x/294x SCSI controller</entry>
232 <entry>Adaptec 152x/AIC-6360/AIC-6260 SCSI controller</entry>
241 <entry>QLogic 10X0, 1240 Ultra SCSI, 1080/1280 Ultra2 SCSI, 12160 Ultra3 SCSI, 2X00 Fibre Channel SCSI controller</entry>
250 <entry>DPT RAID SCSI controllers</entry>
259 <entry>AMI MegaRAID controllers</entry>
268 <entry>Mylex DAC960 RAID controllers</entry>
277 <entry>3ware Escalade RAID controllers</entry>
286 <entry>DPT SmartRaid V, VI, and Adaptec SCSI RAID</entry>
295 <entry>Mylex AcceleRAID/eXtremeRAID</entry>
304 <entry>Adaptec FSA family PCI SCSI RAID</entry>
313 <entry>NCR 53C500 based PC-Card SCSI</entry>
322 <entry>Workbit Ninja SCSI-3 based PC-Card SCSI</entry>
331 <entry>TMC 18C30/50 based ISA/PC-Card SCSI</entry>
340 <entry>Wangtek and Archive QIC-02/QIC-36</entry>
349 <entry>PS/2 Mouse</entry>
358 <entry>Mitsumi CD-ROM</entry>
362 <entry>matcd0</entry>
367 <entry>Matsushita/Panasonic CD-ROM</entry>
376 <entry>Sony CD-ROM</entry>
385 <entry>Serial Port 0 (COM1)</entry>
394 <entry>Serial Port 1 (COM2)</entry>
403 <entry>Printer ports</entry>
412 <entry>DEC/Intel 21143 cards and workalikes</entry>
421 <entry>DEC DC21x40 PCI based cards (including 21140 100bT cards)</entry>
430 <entry>WD & SMC 80xx; Novell NE1000 & NE2000; 3Com 3C503; HP PC Lan+</entry>
439 <entry>3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589</entry>
448 <entry>Intel EtherExpress Pro/10 cards</entry>
457 <entry>Allied-Telesyn AT1700, RE2000 and Fujitsu FMV-180 series cards.</entry>
466 <entry>Intel EtherExpress Pro/100B and Intel PRO/100+ Management Adapter</entry>
475 <entry>AT&T StarLAN 10 and EN100; 3Com 3C507; NI5210; Intel EtherExpress (8/16,16[TP]) cards</entry>
484 <entry>Digital Equipment EtherWorks 2 and EtherWorks 3</entry>
493 <entry>Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, some PCnet-PCI cards)</entry>
502 <entry>AMD PCnet/FAST, PCnet/FAST+, PCnet/FAST III, PCnet/PRO, PCnet/Home, and HomePNA cards</entry>
511 <entry>RealTek 8129/8139 fast ethernet</entry>
520 <entry>Adaptec AIC-6915 fast ethernet</entry>
529 <entry>SiS 900/SiS 7016 fast ethernet</entry>
538 <entry>SMC 91xx ethernet</entry>
547 <entry>Sundance ST201 fast ethernet</entry>
556 <entry>TI TNET100 'ThunderLAN' cards.</entry>
565 <entry>SMC 9432 'Epic' fast ethernet</entry>
574 <entry>Winbond W89C840F PCI based cards.</entry>
583 <entry>VIA VT3043/VT86C100A PCI based cards.</entry>
592 <entry>3Com 3c59x ((Fast) Etherlink III)</entry>
601 <entry>Xircom CreditCard adapters (16 bit)</entry>
610 <entry>3Com 3c900, 3c905, 3c905B, 3c905C, 3c980, 3cSOHO100 ((Fast) Etherlink XL)</entry>
619 <entry>Crystal Semiconductor CS89x0-based cards.</entry>
627 <para>If the hardware in your computer is not set to the same
628 settings as those shown in the table and the item in conflict is
629 not marked 'dyn', you will have to either reconfigure your
630 hardware or use UserConfig to reconfigure the kernel to match the
631 way your hardware is currently set (see the next section).</para>
633 <para>If the settings do not match, the kernel may be unable to
634 locate or reliably access the devices in your system.</para>
639 <title>Using UserConfig to change FreeBSD kernel settings</title>
642 <para>The markup for this section leaves a lot to be desired.</para>
645 <para>The FreeBSD kernel on the install floppy contains drivers
646 for every piece of hardware that could conceivably be used to
647 install the rest of the system with. Unfortunately, PC hardware
648 being what it is, some of these devices can be difficult to detect
649 accurately, and for some, the process of detecting another can
650 cause irreversible confusion.</para>
652 <para>To make this process easier, FreeBSD provides UserConfig.
653 With this tool the user can configure and disable device drivers
654 before the kernel is loaded, avoiding potential conflicts, and
655 eliminating the need to reconfigure hardware to suit the default
656 driver settings.</para>
658 <para>Once FreeBSD is installed, it will remember the changes made using
659 UserConfig, so that they only need be made once.</para>
661 <para>It is important to disable drivers that are not relevant to
662 a system in order to minimize the possibility of interference,
663 which can cause problems that are difficult to track down.</para>
665 <para>UserConfig features a command line interface for users with
666 serial consoles or a need to type commands, and a full screen
667 <quote>visual</quote> interface, which provides point-and-shoot
668 configuration functionality.</para>
670 <para>Here is a sample UserConfig screen shot in
671 <quote>visual</quote> mode:</para>
673 <screen>---Active Drivers---------------------------10 Conflicts------Dev---IRQ--Port--
674 Storage : (Collapsed)
676 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed0 5 0x280
677 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed1 5 0x300
678 Communications : (Collapsed)
681 ---Inactive Drivers-------------------------------------------Dev--------------
683 Network : (Collapsed)
689 ---Parameters-for-device-ed0---------------------------------------------------
690 Port address : 0x280 Memory address : 0xd8000
691 IRQ number : 5 Memory size : 0x2000
693 -------------------------------------------------------------------------------
694 IO Port address (Hexadecimal, 0x1-0x2000)
695 [TAB] Change fields [Q] Save device parameters</screen>
697 <para>The screen is divided into four sections:
700 <para>Active Drivers. Listed here are the device drivers
701 that are currently enabled, and their basic
705 <para>Inactive Drivers. These drivers are present, but are
709 <para>Parameter edit field. This area is used for editing
710 driver parameters.</para>
713 <para>Help area. Keystroke help is displayed here.</para>
718 <para>One of the Active and Inactive lists is always in use, and
719 the current entry in the list will be shown with a highlight bar.
720 If there are more entries in a list than can be shown, it will
721 scroll. The bar can be moved up and down using the cursor keys,
722 and moved between lists with the TAB key.</para>
724 <para>Drivers in the Active list may be marked
725 <literal>CONF</literal>. This indicates that one or more of their
726 parameters conflicts with another device, and indicates a
727 potential for problems. The total number of conflicts is
728 displayed at the top of the screen.</para>
730 <para>As a general rule, conflicts should be avoided, either by
731 disabling conflicting devices that are not present in the system,
732 or by altering their configuration so that they match the
733 installed hardware.</para>
735 <para>In the list areas, drivers are grouped by their basic
736 function. Groups can be <literal>Collapsed</literal> to simplify
737 the display (this is the default state for all groups). If a
738 group is collapsed, it will be shown with
739 <literal>Collapsed</literal> in the list, as above. To Expand a
740 Collapsed group, position the highlight bar over the group heading
741 and press Enter. To Collapse it again, repeat the process.</para>
743 <para>When a device driver in the Active list is highlighted, its
744 full parameters are displayed in the Parameter edit area. Note
745 that not all drivers use all possible parameters, and some
746 hardware supported by drivers may not use all the parameters the
747 driver supports.</para>
749 <para>To disable a driver, go to the Active list, Expand the group
750 it is in, highlight the driver and press Del. The driver will
751 move to its group in the Inactive list. (If the group is
752 collapsed or off the screen, you may not see the driver in its new
755 <para>To enable a driver, go to the Inactive list, Expand the
756 group it is in, highlight the driver and press Enter. The
757 highlight will move to the Active list, and the driver you have
758 just enabled will be highlighted, ready to be configured.</para>
760 <para>To configure a driver, go to the Active list, Expand the
761 group it is in, highlight the driver and press Enter. The cursor
762 will move to the Parameter edit area, and the device's parameters
763 may be edited.</para>
765 <para>While editing parameters, the TAB and cursor keys can be
766 used to move between fields. Most numeric values (except IRQ) are
767 entered in hexadecimal, as indicated by the '0x' at the beginning
768 of the field. The allowable values for a given field are show in
769 the Key Help area when the field is active.</para>
771 <para>To finish configuring a driver, press 'Q'.</para>
773 <para>Note that PCI, Microchannel and EISA devices can be probed
774 reliably, therefore they are not shown in the table above nor can
775 their settings be changed using UserConfig.</para>