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 $DragonFly: src/release/doc/fr_FR.ISO8859-1/hardware/common/Attic/config.sgml,v 1.2 2003/06/17 04:27:19 dillon Exp $
8 Original revision: 1.1.2.2
12 <title>Boot-time Kernel Configuration</title>
14 <para>This section describes the boot-time configuration of the
19 <title>Default Configuration</title>
21 <para>The following table contains a list of all of the devices
22 that are present in the <filename>GENERIC</filename> kernel. This
23 is the essential part of the operating system that is placed in
24 your root partition during the installation process. A compressed
25 version of the <filename>GENERIC</filename> kernel is also used on
26 the installation floppy diskette and DOS boot image.</para>
28 <para>The table describes the various parameters used by the
29 driver to communicate with the hardware in your system. There are
30 four parameters in the table, though not all are used by each and
33 <informaltable frame=none>
34 <tgroup cols=2 align=left>
35 <colspec colwidth="*">
36 <colspec colwidth="5*">
40 <entry>The starting I/O port used by the device, shown in hexadecimal.</entry>
44 <entry>The interrupt the device uses to alert the driver to an event,
45 given in decimal.</entry>
49 <entry>The DMA (direct memory access) channel the device uses to move
50 data to and from main memory, also given in decimal.</entry>
54 <entry>The lowest (or starting) memory address used by the device,
55 also shown in hexadecimal.</entry>
61 If an entry in the table has `n/a' for a value then it means that
62 the parameter in question does not apply to that device. A value
63 of `dyn' means that the correct value should be determined
64 automatically by the kernel when the system boots and that you
65 don't need to worry about it.</para>
67 <para>If an entry is marked with an *, it means that support is
68 currently not available for it but should be back as soon as
69 someone converts the driver to work within the new (post-4.0)
73 <informaltable frame=none>
74 <tgroup cols=6 align=left>
75 <colspec colwidth="*">
76 <colspec colwidth="*">
77 <colspec colwidth="*">
78 <colspec colwidth="*">
79 <colspec colwidth="*">
80 <colspec colwidth="5*">
88 <entry>Description</entry>
98 <entry>Floppy disk controller</entry>
107 <entry>ATA/ATAPI controller</entry>
116 <entry>ATA/ATAPI controller</entry>
120 <entry>atadisk0</entry>
125 <entry>ATA disk drives</entry>
129 <entry>atapicd0</entry>
134 <entry>ATAPI CDROM drives</entry>
138 <entry>atapifd0</entry>
143 <entry>ATAPI floppy drives</entry>
147 <entry>atapist0</entry>
152 <entry>ATAPI tape drives</entry>
161 <entry>AdvanSys Narrow SCSI controllers</entry>
170 <entry>AdvanSys Wide SCSI controllers</entry>
179 <entry>AMD 53C974 (Tekram DC390(T))</entry>
188 <entry>NCR PCI SCSI controller</entry>
197 <entry>Buslogic SCSI controller</entry>
206 <entry>Adaptec 154x/1535 SCSI controller</entry>
215 <entry>Adaptec 174x SCSI controller</entry>
224 <entry>Adaptec 274x/284x/294x SCSI controller</entry>
233 <entry>Adaptec 152x/AIC-6360/AIC-6260 SCSI controller</entry>
242 <entry>QLogic 10X0, 1240 Ultra SCSI, 1080/1280 Ultra2 SCSI, 12160 Ultra3 SCSI, 2X00 Fibre Channel SCSI controller</entry>
251 <entry>DPT RAID SCSI controllers</entry>
260 <entry>AMI MegaRAID controllers</entry>
269 <entry>Mylex DAC960 RAID controllers</entry>
278 <entry>3ware Escalade RAID controllers</entry>
287 <entry>DPT SmartRaid V, VI, and Adaptec SCSI RAID</entry>
296 <entry>Mylex AcceleRAID/eXtremeRAID</entry>
305 <entry>Adaptec FSA family PCI SCSI RAID</entry>
314 <entry>NCR 53C500 based PC-Card SCSI</entry>
323 <entry>Workbit Ninja SCSI-3 based PC-Card SCSI</entry>
332 <entry>TMC 18C30/50 based ISA/PC-Card SCSI</entry>
341 <entry>Wangtek and Archive QIC-02/QIC-36</entry>
350 <entry>PS/2 Mouse</entry>
359 <entry>Mitsumi CD-ROM</entry>
363 <entry>matcd0</entry>
368 <entry>Matsushita/Panasonic CD-ROM</entry>
377 <entry>Sony CD-ROM</entry>
386 <entry>Serial Port 0 (COM1)</entry>
395 <entry>Serial Port 1 (COM2)</entry>
404 <entry>Printer ports</entry>
413 <entry>DEC/Intel 21143 cards and workalikes</entry>
422 <entry>DEC DC21x40 PCI based cards (including 21140 100bT cards)</entry>
431 <entry>WD & SMC 80xx; Novell NE1000 & NE2000; 3Com 3C503; HP PC Lan+</entry>
440 <entry>3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589</entry>
449 <entry>Intel EtherExpress Pro/10 cards</entry>
458 <entry>Allied-Telesyn AT1700, RE2000 and Fujitsu FMV-180 series cards.</entry>
467 <entry>Intel EtherExpress Pro/100B and Intel PRO/100+ Management Adapter</entry>
476 <entry>AT&T StarLAN 10 and EN100; 3Com 3C507; NI5210; Intel EtherExpress (8/16,16[TP]) cards</entry>
485 <entry>Digital Equipment EtherWorks 2 and EtherWorks 3</entry>
494 <entry>Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, some PCnet-PCI cards)</entry>
503 <entry>AMD PCnet/FAST, PCnet/FAST+, PCnet/FAST III, PCnet/PRO, PCnet/Home, and HomePNA cards</entry>
512 <entry>RealTek 8129/8139 fast ethernet</entry>
521 <entry>Adaptec AIC-6915 fast ethernet</entry>
530 <entry>SiS 900/SiS 7016 fast ethernet</entry>
539 <entry>SMC 91xx ethernet</entry>
548 <entry>Sundance ST201 fast ethernet</entry>
557 <entry>TI TNET100 'ThunderLAN' cards.</entry>
566 <entry>SMC 9432 'Epic' fast ethernet</entry>
575 <entry>Winbond W89C840F PCI based cards.</entry>
584 <entry>VIA VT3043/VT86C100A PCI based cards.</entry>
593 <entry>3Com 3c59x ((Fast) Etherlink III)</entry>
602 <entry>Xircom CreditCard adapters (16 bit)</entry>
611 <entry>3Com 3c900, 3c905, 3c905B, 3c905C, 3c980, 3cSOHO100 ((Fast) Etherlink XL)</entry>
620 <entry>Crystal Semiconductor CS89x0-based cards.</entry>
628 <para>If the hardware in your computer is not set to the same
629 settings as those shown in the table and the item in conflict is
630 not marked 'dyn', you will have to either reconfigure your
631 hardware or use UserConfig to reconfigure the kernel to match the
632 way your hardware is currently set (see the next section).</para>
634 <para>If the settings do not match, the kernel may be unable to
635 locate or reliably access the devices in your system.</para>
640 <title>Using UserConfig to change FreeBSD kernel settings</title>
643 <para>The markup for this section leaves a lot to be desired.</para>
646 <para>The FreeBSD kernel on the install floppy contains drivers
647 for every piece of hardware that could conceivably be used to
648 install the rest of the system with. Unfortunately, PC hardware
649 being what it is, some of these devices can be difficult to detect
650 accurately, and for some, the process of detecting another can
651 cause irreversible confusion.</para>
653 <para>To make this process easier, FreeBSD provides UserConfig.
654 With this tool the user can configure and disable device drivers
655 before the kernel is loaded, avoiding potential conflicts, and
656 eliminating the need to reconfigure hardware to suit the default
657 driver settings.</para>
659 <para>Once FreeBSD is installed, it will remember the changes made using
660 UserConfig, so that they only need be made once.</para>
662 <para>It is important to disable drivers that are not relevant to
663 a system in order to minimize the possibility of interference,
664 which can cause problems that are difficult to track down.</para>
666 <para>UserConfig features a command line interface for users with
667 serial consoles or a need to type commands, and a full screen
668 <quote>visual</quote> interface, which provides point-and-shoot
669 configuration functionality.</para>
671 <para>Here is a sample UserConfig screen shot in
672 <quote>visual</quote> mode:</para>
674 <screen>---Active Drivers---------------------------10 Conflicts------Dev---IRQ--Port--
675 Storage : (Collapsed)
677 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed0 5 0x280
678 NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters CONF ed1 5 0x300
679 Communications : (Collapsed)
682 ---Inactive Drivers-------------------------------------------Dev--------------
684 Network : (Collapsed)
690 ---Parameters-for-device-ed0---------------------------------------------------
691 Port address : 0x280 Memory address : 0xd8000
692 IRQ number : 5 Memory size : 0x2000
694 -------------------------------------------------------------------------------
695 IO Port address (Hexadecimal, 0x1-0x2000)
696 [TAB] Change fields [Q] Save device parameters</screen>
698 <para>The screen is divided into four sections:
701 <para>Active Drivers. Listed here are the device drivers
702 that are currently enabled, and their basic
706 <para>Inactive Drivers. These drivers are present, but are
710 <para>Parameter edit field. This area is used for editing
711 driver parameters.</para>
714 <para>Help area. Keystroke help is displayed here.</para>
719 <para>One of the Active and Inactive lists is always in use, and
720 the current entry in the list will be shown with a highlight bar.
721 If there are more entries in a list than can be shown, it will
722 scroll. The bar can be moved up and down using the cursor keys,
723 and moved between lists with the TAB key.</para>
725 <para>Drivers in the Active list may be marked
726 <literal>CONF</literal>. This indicates that one or more of their
727 parameters conflicts with another device, and indicates a
728 potential for problems. The total number of conflicts is
729 displayed at the top of the screen.</para>
731 <para>As a general rule, conflicts should be avoided, either by
732 disabling conflicting devices that are not present in the system,
733 or by altering their configuration so that they match the
734 installed hardware.</para>
736 <para>In the list areas, drivers are grouped by their basic
737 function. Groups can be <literal>Collapsed</literal> to simplify
738 the display (this is the default state for all groups). If a
739 group is collapsed, it will be shown with
740 <literal>Collapsed</literal> in the list, as above. To Expand a
741 Collapsed group, position the highlight bar over the group heading
742 and press Enter. To Collapse it again, repeat the process.</para>
744 <para>When a device driver in the Active list is highlighted, its
745 full parameters are displayed in the Parameter edit area. Note
746 that not all drivers use all possible parameters, and some
747 hardware supported by drivers may not use all the parameters the
748 driver supports.</para>
750 <para>To disable a driver, go to the Active list, Expand the group
751 it is in, highlight the driver and press Del. The driver will
752 move to its group in the Inactive list. (If the group is
753 collapsed or off the screen, you may not see the driver in its new
756 <para>To enable a driver, go to the Inactive list, Expand the
757 group it is in, highlight the driver and press Enter. The
758 highlight will move to the Active list, and the driver you have
759 just enabled will be highlighted, ready to be configured.</para>
761 <para>To configure a driver, go to the Active list, Expand the
762 group it is in, highlight the driver and press Enter. The cursor
763 will move to the Parameter edit area, and the device's parameters
764 may be edited.</para>
766 <para>While editing parameters, the TAB and cursor keys can be
767 used to move between fields. Most numeric values (except IRQ) are
768 entered in hexadecimal, as indicated by the '0x' at the beginning
769 of the field. The allowable values for a given field are show in
770 the Key Help area when the field is active.</para>
772 <para>To finish configuring a driver, press 'Q'.</para>
774 <para>Note that PCI, Microchannel and EISA devices can be probed
775 reliably, therefore they are not shown in the table above nor can
776 their settings be changed using UserConfig.</para>