diff --git a/zh_CN.GB2312/books/handbook/kernelconfig/chapter.sgml b/zh_CN.GB2312/books/handbook/kernelconfig/chapter.sgml
index 00c4f4af5d..1e4c7bec4a 100644
--- a/zh_CN.GB2312/books/handbook/kernelconfig/chapter.sgml
+++ b/zh_CN.GB2312/books/handbook/kernelconfig/chapter.sgml
@@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Chinese Documentation Project
- Original Revision: 1.155
+ Original Revision: 1.158
$FreeBSD$
-->
@@ -343,9 +343,15 @@
- 在&os; 4.2老版本里面您必须用KERNEL=
- 来替换KERNCONF=。2001年2月2日以后生成的4.2-STABLE
- 就可以认出KERNCONF=。
+ 使用这种方法构建内核, 需要完整的源代码。
+ 如果您只安装了内核的源代码, 就只能使用前面所介绍的传统方法了。
+
+
+
+ 在 &os; 4.2 和更早的版本中, 应把前面的
+ KERNCONF= 替换为 KERNEL=。
+ 2001 年 2 月 2 日 之前的 4.2-STABLE
+ 不能识别 KERNCONF=。
@@ -552,44 +558,6 @@ cpu I686_CPU
ident 后面的字符串在启动内核时会显示出来,
因此如果希望能够容易区分常用的内核和刚刚定制的内核,
就应该采取不同的名字 (例如, 您想定制一个试验性的内核)。
-
- 内核选项
- maxusers
-
-
- maxusers n
-
- 这个 maxusers 选项设置了重要系统表的大小。
- 这个数值粗略地假设您的机器同时会有多少用户。
-
- 从&os; 4.5开始,如果手动设置这个值为0系统将会自动赋值。
- 自动赋值算法是设置maxusers等于系统的内存总量,最小到32,最大到384。
- .
- 在&os; 5.X 和更高版本中,maxusers 如果没有定义,将缺省为
- 0。如果您使用的&os;早于4.5, 或者您想自己设置这个值,
- 那么您至少要设置maxusers为4, 特别是您要执行X Window或是编译程序。
- 原因是maxusers值决定了系统同时可有多少个进程(process),
- 其算法是20 + 16 * maxusers,所以如果您设置maxusers为1,
- 则您的系统只能同时存在36个进程,包括18个(或更多)系统启动要占去的进程。
- 如果您执行了X Window,则又要用掉15个以上。甚至阅读一个man page也会使用九个进程来过滤、解压缩、然后显示文件。
- 设置maxusers到64将允许您有1044个进程,对任何人应该都是足够的。
- 当您执行程序时, 得到像是proc table full这样的错误信息,
- 或者您要建一个同时会有很多人来访问的网站(比如ftp.FreeBSD.org)时,
- 您就要增加这个设置的值,然后重新编译内核。
-
-
- maxusers 并 不会
- 限制能够登录到您机器上的用户数量。
- 它只是简单地设置一些系统表的尺寸,
- 以适应您的系统中登录这样多的用户时能够执行的最大进程数。
- 确实 会限制同时能够登录的远程用户以及
- X 终端窗口的关键字是 pseudo-device pty
- 16。 在 &os; 5.X 中, 您并不需要担心这个数值, 因为 &man.pty.4; 驱动提供了
- 自动克隆(auto-cloning)
的能力;
- 在配置文件中您只需简单地指定
- device pty 就可以了。
-
# Floating point support - do not disable.
device npx
@@ -846,10 +814,6 @@ options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
如果您的主板有PCI总线,就加入这个选项。使用这个选项可以自动扫描PCI卡,并在PCI到ISA之间建立通路。
- device agp
-
- 如果您有图形加速卡(AGP card),这个选项将打开图形加速支持。
-
# Floppy drives
device fdc
@@ -932,6 +896,7 @@ device ses # SCSI Environmental Services (and SAF-TE)# 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
@@ -1006,18 +971,23 @@ device sc
sc 设备 — 而 vt100
则几乎每种平台都支持。
+ device agp
+
+ 如果您的机器使用 AGP 卡, 请把上面一行加入配置。
+ 这将启用 AGP, 以及某些卡上的 AGP GART 支持。
+
APM
- # Power management support (see NOTES for more options)
+ # 电源管理支持 (参见 NOTES 了解更多选项)
#device apm
- Advanced Power Management support. Useful for laptops,
- although in &os; 5.X and above this is disabled in
- GENERIC by default.
+ 高级电源管理支持。 对笔记本有用,
+ 不过在 &os; 5.X 和更高版本中的
+ GENERIC 里默认禁用。
- # Add suspend/resume support for the i8254.
+ # 增加 i8254 的 挂起/恢复 支持。
device pmtimer
用于电源管理事件, 例如 APM 和 ACPI 的时钟设备驱动。
@@ -1242,6 +1212,7 @@ device pty # Pseudo-ttys (telnet etc)
# 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
这是 Berkeley 包过滤器。这个伪设备允许网络接口被置于混杂模式,
@@ -1258,6 +1229,7 @@ device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
+#device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
@@ -1271,6 +1243,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