Merge the following from the English version:

1.135 -> 1.159	doc/ja_JP.eucJP/books/handbook/kernelconfig/chapter.sgml

References:   [doc-jp-work 2197, 2198]
This commit is contained in:
Ryusuke SUZUKI 2011-08-04 12:59:26 +00:00
parent 6ddd602e19
commit f845907484
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=37511

View file

@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Japanese Documentation Project
Original revision: 1.135
Original revision: 1.159
$FreeBSD$
-->
@ -187,7 +187,8 @@
以下のディレクトリが<emphasis>なければ</emphasis>、
カーネルのソースが インストールされていません。
もっとも簡単な方法は (<username>root</username>で)
<command>/stand/sysinstall</command>
<command>sysinstall</command> (5.2 より古いバージョンの &os; では、
<command>/stand/sysinstall</command>)
を用いて以下のようにすることです。
<guimenuitem>設定 (Configure)</guimenuitem>
を選んでから
@ -294,7 +295,7 @@
<listitem>
<para>4.0 より前の &os; を使っていて、
<maketarget>make world</maketarget> を行って &os;&nbsp;4.0
<command>make buildworld</command> を行って &os;&nbsp;4.0
以上にアップグレードしないなら、
手順 1 にしたがってください。</para>
</listitem>
@ -306,7 +307,7 @@
</listitem>
<listitem>
<para><maketarget>make world</maketarget>
<para><command>make buildworld</command>
の一環としてカーネルの再構築を行っているなら、
手順 2 にしたがってください。</para>
</listitem>
@ -315,7 +316,6 @@
<indexterm>
<primary><command>cvsup</command></primary>
</indexterm>
<indexterm><primary>anonymous CVS</primary></indexterm>
<indexterm><primary>CTM</primary></indexterm>
<indexterm>
<primary>CVS</primary>
@ -327,8 +327,8 @@
<emphasis>いない</emphasis>
(<application>CVSup</application>, <application>CTM</application>,
<application>anoncvs</application> などを実行していない) のであれば、
<command>config</command>, <maketarget>make depend</maketarget>,
<command>make</command>, <maketarget>make install</maketarget>
<command>config</command>, <command>make depend</command>,
<command>make</command>, <command>make install</command>
の手順を実行すれば十分です。</para>
<procedure>
@ -389,6 +389,12 @@
</step>
</procedure>
<note>
<para>この方法でカーネルを構築するのであれば、すべてのソースファイルが必要です。
カーネルソースだけをインストールしているのであれば、
上で述べた伝統的な方法で構築してください。</para>
</note>
<note>
<para>&os;&nbsp;4.2 とそれ以前の場合は、
<literal>KERNCONF=</literal>
@ -473,12 +479,8 @@
引数を含んでいます。見やすくするために、ほとんどのキーワードは
引数を1つしか書いてありません。
<literal>#</literal>に続くものはすべてコメントとして扱われ、
無視されます。ここでは、それぞれのキーワードについて だいたい
<filename>GENERIC</filename> に出てくる順番で説明します。しかし、
お互いに関係のあるキーワードは、実際には
<filename>GENERIC</filename> ファイル上に
バラバラに現れていても、(ネットワーキングのように) 1 つにまとめ
てあります。
無視されます。ここでは、それぞれのキーワードについて
<filename>GENERIC</filename> に出てくる順番で説明します。
<anchor id="kernelconfig-options">アーキテクチャ依存のおびただしい数のオプション一覧については、
<filename>GENERIC</filename> と同じディレクトリにある
<filename>NOTES</filename> ファイルをご覧ください。
@ -517,7 +519,7 @@
<indexterm>
<primary>カーネル</primary>
<secondary>コンフィグレーションファイル</secondary>
<secondary>コンフィグレーションファイル</secondary>
</indexterm>
<para>以下は必要に応じてコメントを追加した
@ -526,27 +528,6 @@
<filename>/usr/src/sys/<replaceable>i386</replaceable>/conf/GENERIC</filename>
に極めて近いものになっているはずです。</para>
<programlisting>#
# GENERIC -- Generic kernel configuration file for &os;/i386
#
# このファイルについて更に情報が必要なら、ハンドブックのカーネル
# コンフィグレーションファイルのセクションを参照して下さい。
#
# http://www.&os;.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# doc ディストリビューションをインストールした場合、ハンドブックは
# ローカルマシンの /usr/share/doc/handbook でも見ることができます。
# 最新版は &os; の WWW サーバ (http://www.FreeBSD.org/) を参照して
# 下さい。
#
# ../../conf/NOTES および NOTES ファイルには、デバイス行に関する大量の
# オプションと詳細な説明があります。もしある行の目的又は必要性について
# 疑問がある場合はまず NOTES をチェックして下さい。
#
# &dollar;FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.413 2004/08/11 01:34:18 rwatson Exp &dollar;</programlisting>
<para>以下は <emphasis>すべての</emphasis> カーネルの構築に
必須のキーワードです:</para>
<indexterm>
<primary>カーネルオプション</primary>
<secondary>machine</secondary>
@ -626,88 +607,9 @@ cpu I686_CPU</programlisting>
普段使っているカーネルと区別したいときは、
新しいカーネルに違う名前を付けると
良いでしょう(例: 実験的なカーネルを構築する場合)。</para>
<indexterm>
<primary>カーネルオプション</primary>
<secondary>maxusers</secondary>
</indexterm>
<programlisting>maxusers <replaceable>n</replaceable></programlisting>
<para><literal>maxusers</literal> オプションは重要なシステムテーブルの
サイズを決定します。
この数字はあなたのマシンを同時に使うと思われるユーザー数と
おおよそ等しくするのが良いでしょう。</para>
<para>&os;&nbsp;4.5 からは、これを明示的に <literal>0</literal>
に設定すると、システムが設定を自動調整します<footnote>
<para>自動調整アルゴリズムは、<literal>maxusers</literal>
を、最小値が 32、最大値が 384
の間で、システムのメモリ合計と等しく設定します。</para>
</footnote>。
&os;&nbsp;5.X およびそれ以降では <literal>maxusers</literal> が指定されないと、
デフォルトで <literal>0</literal> に設定されます。
4.5 より前のバージョンの &os;
を使っているか、自分で管理したい場合、特に
X ウインドウシステムを使ったり、ソフトウエアをコンパイルするなら、
<literal>maxusers</literal> は最低 4 にして下さい。
その理由は、<literal>maxusers</literal> によって計算される最も
重要なテーブルがプロセスの最大数で、それは
<literal>20 + 16 * maxusers</literal> となります。
もし、<literal>maxusers</literal> を 1 にすると、
同時に 36 プロセスしか利用できなくなりますが、
システムは起動時に 18 ほどのプロセスを立ち上げ、
X ウインドウシステムは 15 ほどのプロセスを立ち上げるので、
オンラインマニュアルを読むような単純なタスクでさえ
フィルタ、展開、表示に 9
個のプロセスを利用するために、プロセス数不足になります。
<literal>maxusers</literal> を 64 に設定すると、
1044 個のプロセスを同時に利用することができるので、
殆どのユーザには充分でしょう。
もしあなたが別のプログラムを立ち上げる時、
恐れられている <errortype>proc table full</errortype> エラーが
発生する場合や、<hostid role="fqdn">ftp.FreeBSD.org</hostid>
のように多数のユーザにより
同時に利用されるサーバを動かしている場合には、
この数字を増やしてカーネルを再構築することができます。</para>
<note>
<para><literal>maxusers</literal> はあなたのマシンにログインする
ユーザ数を制限するものでは <emphasis>ありません</emphasis>。
それは単に、あなたのシステムを使うであろうユーザの最大数や
それぞれのユーザがどれくらいのプロセスを走らせるかに
合わせて各種テーブルの大きさを設定するだけです。
同時にリモートログインするユーザと X 端末ウィンドウの最大数を制限するキーワードは
<link linkend="kernelconfig-ptys">
<literal>pseudo-device pty 16</literal></link> です。
&os;&nbsp;5.X では、&man.pty.4; ドライバが
<quote>auto-cloning</quote> になったので、この番号を気にする必要はなくなりました。
コンフィグレーションファイルでは単に <literal>device pty</literal>
を使ってください。</para>
</note>
<programlisting># Floating point support - do not disable.
device npx</programlisting>
<para><literal>npx</literal> はハードウェアコプロセッサか
ソフトウエアエミュレータのどちらかである浮動小数点演算ユニットへの
&os; におけるインタフェースです。
これは任意選択では<emphasis>ありません</emphasis>。</para>
<programlisting># Pseudo devices
device loop # Network loopback</programlisting>
<para>TCP/IP の汎用ループバックデバイスです。
<hostid>localhost</hostid> (すなわち
<hostid role="ipaddr">127.0.0.1</hostid>) に対して telnet や FTP
で接続すると、このデバイスを通して戻ってきます。
これは<emphasis>必須</emphasis>です。
&os;&nbsp;4.X では、<literal>pseudo-device loop</literal> を使ってください。</para>
<para>以下に続くすべては大体において追加設定項目です。
詳細は各項目の次に書かれている注意書きを参照して下さい。</para>
<programlisting>#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" #Default places to look for devices.</programlisting>
#hints "GENERIC.hints" # Default places to look for devices.</programlisting>
<para>&os; 5.X、およびそれより新しいバージョンでは、
デバイスドライバのオプションは &man.device.hints.5;
@ -720,9 +622,10 @@ device loop # Network loopback</programlisting>
<filename>device.hints</filename>
ファイルを作成する必要はありません。</para>
<!-- XXX: Add a comment here that explains when compiling hints into the kernel is a good idea and why. -->
<!-- XXX: Add a comment here that explains when compiling hints into
the kernel is a good idea and why. -->
<programlisting>#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols</programlisting>
<programlisting>#makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols</programlisting>
<para>インストール先のディスク容量を節約するため、
通常の &os; のビルド過程ではデバッグ情報は含まれません。
@ -748,7 +651,7 @@ device loop # Network loopback</programlisting>
<literal>SCHED_4BSD</literal> を <literal>SCHED_ULE</literal>
に置き換えてください。</para>
<programlisting>options INET #InterNETworking</programlisting>
<programlisting>options INET # InterNETworking</programlisting>
<para>ネットワークのサポート。
ネットワークに接続する予定がなくてもこのオプションは残して下さい。
@ -756,7 +659,7 @@ device loop # Network loopback</programlisting>
(あなたの PC の中でのネットワーク接続) を必要としますので、
基本的にこの行は必須です。</para>
<programlisting>options INET6 #IPv6 communications protocols</programlisting>
<programlisting>options INET6 # IPv6 communications protocols</programlisting>
<para>このオプションは IPv6 通信プロトコルを利用可能にします。</para>
@ -765,27 +668,6 @@ device loop # Network loopback</programlisting>
<para>これは標準のハードドライブファイルシステムです。
ハードディスクから起動する場合は残して下さい。</para>
<programlisting>options UFS_ACL #Support for access control lists</programlisting>
<para>このオプションは、現時点で &os;&nbsp;5.X のみに存在しているもので、
カーネルのアクセス制御リストのサポートを有効にします。
この機能は拡張属性および <acronym>UFS2</acronym> が有効になっていることに依存し、
<xref linkend="fs-acl"> で機能の説明が行われています。
<acronym>ACL</acronym> はデフォルトで有効にされています。
もし、これまでにファイルシステムで有効にしていたのであれば、
カーネルの中で無効にすべきではありません。
なぜならば、無効にするとアクセス制御リストが削除され、
ファイルの保護が予想できない方法で行われるためです。</para>
<programlisting>options UFS_DIRHASH #Improve performance on big directories</programlisting>
<para>このオプションは、メモリを多少余分に食うものの、
大きなディレクトリに対するディスク操作を高速化する機能を有効にします。
大規模なサーバや対話的なワークステーションではこのオプションを残しておいて、
ファイアウォールのように、メモリが貴重で
ディスクアクセス速度がそれほど重要でない
小規模なシステムでは削除するとよいでしょう。</para>
<programlisting>options SOFTUPDATES # Enable FFS Soft Updates support</programlisting>
<para>このオプションは、カーネル内の Soft Updates 機能を有効にし、
@ -799,6 +681,27 @@ device loop # Network loopback</programlisting>
(新規のファイルシステムには) &man.newfs.8;
コマンドで有効にする必要があります。</para>
<programlisting>options UFS_ACL # Support for access control lists</programlisting>
<para>このオプションは、現時点で &os;&nbsp;5.X のみに存在しているもので、
カーネルのアクセス制御リストのサポートを有効にします。
この機能は拡張属性および <acronym>UFS2</acronym> が有効になっていることに依存し、
<xref linkend="fs-acl"> で機能の説明が行われています。
<acronym>ACL</acronym> はデフォルトで有効にされています。
もし、これまでにファイルシステムで有効にしていたのであれば、
カーネルの中で無効にすべきではありません。
なぜならば、無効にするとアクセス制御リストが削除され、
ファイルの保護が予想できない方法で行われるためです。</para>
<programlisting>options UFS_DIRHASH # Improve performance on big directories</programlisting>
<para>このオプションは、メモリを多少余分に食うものの、
大きなディレクトリに対するディスク操作を高速化する機能を有効にします。
大規模なサーバや対話的なワークステーションではこのオプションを残しておいて、
ファイアウォールのように、メモリが貴重で
ディスクアクセス速度がそれほど重要でない
小規模なシステムでは削除するとよいでしょう。</para>
<programlisting>options MD_ROOT # MD is a potential root device</programlisting>
<para>このオプションは、メモリディスクによる root デバイスのサポートを有効にします。</para>
@ -823,7 +726,7 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
<primary>カーネルオプション</primary>
<secondary>MSDOSFS</secondary>
</indexterm>
<programlisting>options MSDOSFS #MSDOS Filesystem</programlisting>
<programlisting>options MSDOSFS # MSDOS Filesystem</programlisting>
<para>&ms-dos; ファイルシステム。
起動時に DOS でフォーマットされたハードドライブを
@ -843,7 +746,7 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
(データ CD を最初にマウントする時、自動的にロードされます)。
音楽 CD はこのファイルシステムを必要としません。</para>
<programlisting>options PROCFS #Process filesystem</programlisting>
<programlisting>options PROCFS # Process filesystem</programlisting>
<para>プロセスファイルシステム。
これは <filename>/proc</filename> にマウントされる、
@ -858,7 +761,7 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
さらに、6.X-CURRENT のカーネルで <literal>PROCFS</literal> を使う場合には、
以下のように <literal>PSEUDOFS</literal> のサポートを含む必要があります。</para>
<programlisting>options PSEUDOFS #Pseudo-filesystem framework</programlisting>
<programlisting>options PSEUDOFS # Pseudo-filesystem framework</programlisting>
<para>&os; 4.X では、<literal>PSEUDOFS</literal> を利用できません。</para>
@ -867,14 +770,14 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
<para>このオプションは、
ひとつのディスクに数多くのパーティションを作成可能にします。</para>
<programlisting>options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]</programlisting>
<programlisting>options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]</programlisting>
<para>4.3BSD との互換機能です。
有効なままにして下さい。
この行をコメントアウトするとおかしな動きをするプログラムがあります。
</para>
<programlisting>options COMPAT_FREEBSD4 #Compatible with &os;4</programlisting>
<programlisting>options COMPAT_FREEBSD4 # Compatible with &os;4</programlisting>
<para>このオプションは、&os;&nbsp;5.X &i386; および alpha システムにおいて、
古いバージョンの &os; でコンパイルされた古いシステムコールインターフェースを用いるアプリケーションを利用する場合に必要とされます。
@ -883,7 +786,7 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
5.X でのみサポートされている ia64 や &sparc64; といったプラットフォームでは、
このオプションは必要ありません。</para>
<programlisting>options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI</programlisting>
<programlisting>options SCSI_DELAY=15000 # Delay (in ms) before probing SCSI</programlisting>
<para>この行は、カーネルがそれぞれの SCSI 機器を検出する前に
15 秒間待つようにします。
@ -893,33 +796,33 @@ options NFS_ROOT # NFS usable as /, requires NFSCLIENT</progra
勿論、そうした場合に &os; が SCSI
機器を認識しなくなってしまったら、もう一度数字を増やしてください。</para>
<programlisting>options KTRACE #ktrace(1) support</programlisting>
<programlisting>options KTRACE # ktrace(1) support</programlisting>
<para>この行はデバッギングに役立つカーネルプロセスのトレースを
可能にします。</para>
<programlisting>options SYSVSHM #SYSV-style shared memory</programlisting>
<programlisting>options SYSVSHM # SYSV-style shared memory</programlisting>
<para>このオプションは System V 共有メモリを提供します。
<para>このオプションは System&nbsp;V 共有メモリを提供します。
この機能の最も一般的な使用方法は X における XSHM 拡張です。
多くのグラフィックス重視のプログラムではこの機能を自動的に
描画のスピードアップに利用します。
X を使っているなら、これを含めておいた方がいいでしょう。</para>
<programlisting>options SYSVSEM #SYSV-style semaphores</programlisting>
<programlisting>options SYSVMSG # SYSV-style message queues</programlisting>
<para>System V セマフォのサポート。
あまり使われませんが、カーネルサイズは数百バイト大きくなるだけです。
<para>System&nbsp;V のメッセージのサポート。
このオプションはカーネルサイズを数百バイト大きくするだけです。
</para>
<programlisting>options SYSVMSG #SYSV-style message queues</programlisting>
<programlisting>options SYSVSEM # SYSV-style semaphores</programlisting>
<para>System V のメッセージのサポート。
このオプションもカーネルサイズを数百バイト大きくするだけです。</para>
<para>System&nbsp;V セマフォのサポート。
あまり使われませんが、カーネルサイズは数百バイト大きくなるだけです。</para>
<note>
<para>&man.ipcs.1; コマンドを <option>-p</option>
オプションで実行すると、これらの System V
オプションで実行すると、これらの System&nbsp;V
機能を使っているプロセスのリストを表示します。</para>
</note>
@ -942,32 +845,31 @@ options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
<para>これはレジスタ定義の出力を読みやすくし、デバッグを容易にします。</para>
<programlisting>options PFIL_HOOKS # pfil(9) framework</programlisting>
<para>&man.pfil.9 フレームワークは、IPFILTER および IPFIREWALL
オプションで必要とされます。
ファイアウォールを構築することを予定しているのであれば、
このオプションを残しておいてください。</para>
<note><para>&os; 6.X-CURRENT では、&man.pfil.9;
フレームワークは常に有効になるため、
<literal>PFIL_HOOKS</literal> オプションは存在しません。</para></note>
<programlisting>options ADAPTIVE_GIANT # Giant mutex is adaptive.</programlisting>
<para>このオプションは、adaptive にスピンしている mutex に
Giant を含めることを可能にします。</para>
<para>Giant は、カーネル資源の広い範囲をプロテクトする
mutex 排他メカニズム (sleep mutex) の名前です。
このメカニズムは、今日では受け入れがたいほどにパフォーマンスのボトルネックとなっており、
個々の資源をプロテクトするロック機構に移行しています。
<literal>ADAPTIVE_GIANT</literal> オプションは、
スピンしている適応型 mutex のセットに Giant を追加します。
すなわち、スレッドが Giant mutex をロックしようとする際、
他の CPU 上のスレッドによってすでにロックされていた場合には、
最初のスレッドは実行状態のままロックが解除されるのを待ちます。
通常、スレッドは実行の機会をスリープ状態で待ちます。
もし、よくわからないのであれば、そのままにしておいてください。</para>
<indexterm>
<primary>カーネルオプション</primary>
<secondary>SMP</secondary>
</indexterm>
<programlisting># To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC</programlisting>
<programlisting>device apic # I/O APIC</programlisting>
<para>上の行は両方とも SMP サポートのために必要です。
単一プロセッサのシステムでも有効にできます。</para>
<para>apic デバイスは、I/O APIC の割り込みを有効にします。
ユニプロセッサおよび SMP カーネル両方で使用できますが、
SMP カーネルでは必須です。
マルチプロセッサに対応するには
<literal>options SMP</literal> を追加してください。</para>
<programlisting>device isa</programlisting>
@ -992,13 +894,6 @@ device apic # I/O APIC</programlisting>
これは PCI カードの自動検出と PCI から ISA バスへのゲートウエイを
可能にします。</para>
<programlisting>device agp</programlisting>
<para>システムが AGP カードを搭載している場合には、
この行を含めてください。
これにより AGP および (これらの機能をボードが持っている場合には)
AGP GART に対応します。</para>
<programlisting># Floppy drives
device fdc</programlisting>
@ -1036,7 +931,7 @@ device ata</programlisting>
<para>ATAPI テープドライブには <literal>device ata</literal>
と共にこの行が必要です。</para>
<programlisting>options ATA_STATIC_ID #Static device numbering</programlisting>
<programlisting>options ATA_STATIC_ID # Static device numbering</programlisting>
<para>この行はコントローラ番号を静的に割り当てます。
このオプションがない場合、デバイス番号は動的に割り当てられます。</para>
@ -1080,7 +975,7 @@ device ses # SCSI Environmental Services (and SAF-TE)</programli
もし IDE しか持っていないならこれらを完全に削除できます。</para>
<note>
<para>USB &man.umass.4; ドライバ (およびその他のいくつかのドライバ) は、
<para>USB &man.umass.4; ドライバ、およびその他のいくつかのドライバは、
本当の SCSI デバイスではないにもかかわらず、
SCSI サブシステムを利用します。
そのため、そのようなドライバがカーネルコンフィグレーションに含まれている場合には、
@ -1089,9 +984,11 @@ device ses # SCSI Environmental Services (and SAF-TE)</programli
<programlisting># RAID controllers interfaced to the SCSI subsystem
device amr # AMI MegaRAID
device arcmsr # Areca SATA II RAID
device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
device ciss # Compaq Smart RAID 5*
device dpt # DPT Smartcache III, IV - See NOTES for options
device hptmv # Highpoint RocketRAID 182x
device iir # Intel Integrated RAID
device ips # IBM (Adaptec) ServeRAID
device mly # Mylex AcceleRAID/eXtremeRAID
@ -1174,6 +1071,25 @@ device sc</programlisting>
接続する際にも有用です &mdash; <literal>vt100</literal>
は仮想的にすべてのプラットフォームで有効であるべきです。</para>
<programlisting>device agp</programlisting>
<para>システムが AGP カードを搭載している場合には、
この行を含めてください。
AGP および (ボードが機能を持っている場合には) AGP GART
に対応します。</para>
<programlisting># Floating point support - do not disable.
device npx</programlisting>
<para><literal>npx</literal> はハードウェアコプロセッサか、
ソフトウエアエミュレータのどちらかである浮動小数点演算ユニットへの
&os; におけるインタフェースです。
これは任意選択では<emphasis>ありません</emphasis>。</para>
<indexterm>
<primary>APM</primary>
</indexterm>
<programlisting># Power management support (see NOTES for more options)
#device apm</programlisting>
@ -1285,12 +1201,12 @@ device miibus # MII bus support</programlisting>
特定のドライバを必要としない場合に利用される汎用のものを含む
すべての PHY ドライバが導入されます。</para>
<programlisting>device dc # DEC/Intel 21143 and various workalikes
device miibus # MII bus support
device bfe # Broadcom BCM440x 10/100 Ethernet
<programlisting>device bfe # Broadcom BCM440x 10/100 Ethernet
device bge # Broadcom BCM570xx Gigabit Ethernet
device dc # DEC/Intel 21143 and various workalikes
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device lge # Level 1 LXT1001 gigabit ethernet
device nge # NatSemi DP83820 gigabit ethernet
device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
@ -1301,6 +1217,7 @@ device ste # Sundance ST201 (D-Link DFE-550TX)
device ti # Alteon Networks Tigon I/II gigabit Ethernet
device tl # Texas Instruments ThunderLAN
device tx # SMC EtherPower II (83c170 <quote>EPIC</quote>)
device vge # VIA VT612x gigabit ethernet
device vr # VIA Rhine, Rhine II
device wb # Winbond W89C840F
device xl # 3Com 3c90x (<quote>Boomerang</quote>, <quote>Cyclone</quote>)</programlisting>
@ -1335,6 +1252,16 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
<para>ワイヤレスカードのサポートです。</para>
<programlisting># Pseudo devices
device loop # Network loopback</programlisting>
<para>TCP/IP の汎用ループバックデバイスです。
<hostid>localhost</hostid> (すなわち
<hostid role="ipaddr">127.0.0.1</hostid>) に対して telnet や FTP
で接続すると、このデバイスを通して戻ってきます。
これは<emphasis>必須</emphasis>です。
&os;&nbsp;4.X では、<literal>pseudo-device loop</literal> を使ってください。</para>
<programlisting>device mem # Memory and kernel memory devices</programlisting>
<para>システムメモリデバイスです。</para>
@ -1404,7 +1331,7 @@ device pty # Pseudo-ttys (telnet etc)</programlisting>
<para>メモリディスク疑似デバイス。&os;&nbsp;4.X では
<literal>pseudo-device md</literal> を使ってください。</para>
<programlisting>device gif # IPv6 and IPv4 tunneling</programlisting>
<programlisting>device gif # IPv6 and IPv4 tunneling</programlisting>
<para>この行は IPv6 over IPv4 トンネル、IPv4 over IPv6 トンネル、
IPv4 over IPv4 トンネル、IPv6 over IPv6 トンネルを提供します。
@ -1414,7 +1341,7 @@ device pty # Pseudo-ttys (telnet etc)</programlisting>
それより前のバージョンの &os;&nbsp;4.X では、
<literal>pseudo-device gif 4</literal> のように数値が必要です。</para>
<programlisting>device faith # IPv6-to-IPv4 relaying (translation)</programlisting>
<programlisting>device faith # IPv6-to-IPv4 relaying (translation)</programlisting>
<para>この疑似デバイスは自分宛に送られたパケットを受け取り、
IPv4/IPv6 変換デーモンに渡します。
@ -1423,6 +1350,7 @@ device pty # Pseudo-ttys (telnet etc)</programlisting>
<programlisting># The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter</programlisting>
<para>これはバークレーパケットフィルタです。
@ -1442,8 +1370,9 @@ device bpf # Berkeley packet filter</programlisting>
</note>
<programlisting># USB support
#device uhci # UHCI PCI-&gt;USB interface
#device ohci # OHCI PCI-&gt;USB interface
device uhci # UHCI PCI-&gt;USB interface
device ohci # OHCI PCI-&gt;USB interface
#device ehci # EHCI PCI-&gt;USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
@ -1457,6 +1386,7 @@ device uscanner # Scanners
# USB Ethernet, requires mii
device aue # ADMtek USB Ethernet
device axe # ASIX Electronics USB Ethernet
device cdce # Generic USB over Ethernet
device cue # CATC USB Ethernet
device kue # Kawasaki LSI USB Ethernet
device rue # RealTek RTL8150 USB Ethernet</programlisting>
@ -1477,12 +1407,9 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
<sect2>
<title>大容量メモリ構成 (<acronym>PAE</acronym>)</title>
<indexterm>
<primary>
Physical Address Extensions (<acronym>PAE</acronym>)
</primary>
<secondary>
Large Memory Configurations
</secondary>
<primary>Physical Address Extensions
(<acronym>PAE</acronym>)</primary>
<secondary>large memory</secondary>
</indexterm>
<para>大容量のメモリを搭載したコンピュータは、
@ -1753,7 +1680,7 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
以下のように正しく起動するカーネルを含むディレクトリ名に変更するだけです。</para>
<screen>&prompt.root; <userinput>mv /boot/kernel /boot/kernel.bad</userinput>
<userinput>mv /boot/<replaceable>kernel.good</replaceable> /boot/kernel</userinput></screen>
&prompt.root; <userinput>mv /boot/<replaceable>kernel.good</replaceable> /boot/kernel</userinput></screen>
<para>&os; 5.X より前のバージョンでは、
<command>make</command>
@ -1791,8 +1718,8 @@ device fwe # Ethernet over FireWire (non-standard!)</programl
&man.ps.1; や &man.vmstat.8; のような多くの
システムステータスコマンドは動かなくなります。
カーネルと同じバージョンのソースツリーで
world を再構築 (<xref linkend="makeworld">)
、インストールしてください。
<link linkend="makeworld">world を再構築し、インストール</link>
してください。
これは、カーネルとそれ以外で異なるバージョンを組み合わせて
オペレーティングシステムを使用することが推奨されない理由の
一つとなっています。</para>