> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/release/freebsd-7.1-release/7.1-errata.md).

# FreeBSD 7.1-RELEASE 勘误

**FreeBSD 项目**

版权所有 © 2008, 2009 FreeBSD 文档项目

```ini
$FreeBSD: stable/7/release/doc/en_US.ISO8859-1/errata/article.sgml 186782 2009-01-05 15:38:45Z hrs $
```

FreeBSD 是 FreeBSD 基金会的注册商标。

Intel、Celeron、EtherExpress、i386、i486、Itanium、Pentium 和 Xeon 是 Intel Corporation 或其子公司在美国及其他国家的商标或注册商标。

Sparc、Sparc64、SPARCEngine 和 UltraSPARC 是 SPARC International, Inc. 在美国及其他国家的商标。使用 SPARC 商标的产品基于 Sun Microsystems, Inc. 开发的架构。

许多制造商和销售商用于区分其产品的名称被声明为商标。在本文档中出现这些名称时，如果 FreeBSD 项目已知该商标声明，则名称后会附有“™”或“®”符号。

本文档列出了 FreeBSD 7.1-RELEASE 的勘误条目，包含发布后发现的或在发布周期后期才发现的重要信息，未能及时纳入发布文档。这些信息包括安全公告，以及与软件或文档相关的可能影响其运行或可用性的新闻。在安装此版本的 FreeBSD 之前，应始终查阅本文档的最新版本。

本 FreeBSD 7.1-RELEASE 勘误文档将维护至 FreeBSD 7.2-RELEASE 发布。

## 1 引言

本勘误文档包含关于 FreeBSD 7.1-RELEASE 的“最新消息”。在安装此版本之前，请务必查阅本文档，了解任何发布后发现的问题或已发现并修复的问题。

随发布分发的任何版本的勘误文档（例如 CDROM 发行版）按定义都会过时，但其他副本会在互联网上保持更新，应作为此版本的“当前勘误”查阅。这些其他勘误副本位于 [http://www.FreeBSD.org/releases/](http://www.freebsd.org/releases/)，以及任何保持此位置最新镜像的站点。

FreeBSD 7-STABLE 的源代码和二进制快照也包含本文档的最新副本（截至快照时）。

有关所有 FreeBSD CERT 安全公告的列表，请参见 [http://www.FreeBSD.org/security/](http://www.freebsd.org/security/) 或 [ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/](ftp://ftp.freebsd.org/pub/FreeBSD/CERT/)。

## 2 安全公告

无公告。

## 3 待解决问题

\[20090105] 如 7.1-RELEASE 公告所述，在此版本中某些 Intel 网络接口卡将显示为 [igb(4)](http://www.freebsd.org/cgi/man.cgi?query=igb\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 而非 [em(4)](http://www.freebsd.org/cgi/man.cgi?query=em\&sektion=4\&manpath=FreeBSD+7.1-RELEASE)。仅有 3 个 PCI ID 的名称应从 [em(4)](http://www.freebsd.org/cgi/man.cgi?query=em\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 更改为 [igb(4)](http://www.freebsd.org/cgi/man.cgi?query=igb\&sektion=4\&manpath=FreeBSD+7.1-RELEASE)：

* 0x10A78086
* 0x10A98086
* 0x10D68086

你可以通过运行以下命令来确定你的网卡是否会更改名称：

```sh
% pciconf -l
. . .
em0@pci0:0:25:0: class=0x020000 card=0x02381028 chip=0x10c08086 rev=0x02 hdr=0x00
```

然后找到代表你网卡的行（在旧系统上应命名为 *em*，例如 *em0* 或 *em1* 等），查看第四列。如果显示 `chip=0x10a78086`（或上述其他两个 ID 之一），则该适配器的名称将发生更改。

## 4 最新消息与更正

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [procstat(1)](http://www.freebsd.org/cgi/man.cgi?query=procstat\&sektion=1\&manpath=FreeBSD+7.1-RELEASE) 工具。这是一个进程检查工具，提供了 [procfs(5)](http://www.freebsd.org/cgi/man.cgi?query=procfs\&sektion=5\&manpath=FreeBSD+7.1-RELEASE) 中缺失的部分功能以及用于监控和调试特定进程的新功能。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [ae(4)](http://www.freebsd.org/cgi/man.cgi?query=ae\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 驱动程序，以支持 Attansic/Atheros L2 快速以太网控制器。此驱动程序在本版本的 **GENERIC** 内核中未启用。

\[20090105] 7.1-RELEASE 的发行说明包含以下描述错误：

* 在 [linux(4)](http://www.freebsd.org/cgi/man.cgi?query=linux\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) ABI 支持条目中，`get_setaffinity()` 应为 `sched_setaffinity()`。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [jme(4)](http://www.freebsd.org/cgi/man.cgi?query=jme\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 驱动程序，以支持基于 JMicron JMC250 千兆以太网和 JMC260 快速以太网控制器的 PCIe 适配器。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [age(4)](http://www.freebsd.org/cgi/man.cgi?query=age\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 驱动程序，以支持 Attansic/Atheros L1 千兆以太网控制器。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [malo(4)](http://www.freebsd.org/cgi/man.cgi?query=malo\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 驱动程序，以支持基于 Marvell Libertas 88W8335 的 PCI 网络适配器。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 bm(4) 驱动程序，以支持 Apple Big Mac（BMAC）以太网控制器，常见于各种 Apple G3 型号。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 et(4) 驱动程序，以支持 Agere ET1310 10/100/千兆以太网控制器。

\[20090105] 7.1-RELEASE 的发行说明本应提及新增了 [glxsb(4)](http://www.freebsd.org/cgi/man.cgi?query=glxsb\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 驱动程序，以支持 AMD Geode LX 处理器中的 Security Block。

\[20090105] 7.1-RELEASE 的发行说明本应提及 FreeBSD 现在支持多个路由表。要启用此功能，需要以下步骤：

* 添加以下内核配置选项并重新编译内核。`2` 是 FIB（Forward Information Base，此处为路由表的同义词）的数量。最大值为 16。

```sh
options    ROUTETABLES=2
```

重新编译 FreeBSD 内核的过程在 [FreeBSD Handbook](http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#AEN30408) 中描述。

此数字可在引导时修改。为此，请在 **/boot/loader.conf** 中添加以下内容并重新启动系统：

```sh
net.fibs=6
```

* 如有需要，设置加载器可调参数 `net.my_fibnum`。这表示默认的路由表数量。如未指定，将使用 `0`。
* 如有需要，设置加载器可调参数 `net.add_addr_allfibs`。这会在默认情况下为新接口向所有 FIB 添加路由。当设置为 `0` 时，在向接口添加新的地址集时，仅为调用者的 FIB 分配接口更改时的路由。请注意，此可调参数默认设置为 `1`。

要选择其中一个 FIB，可使用新的 [setfib(1)](http://www.freebsd.org/cgi/man.cgi?query=setfib\&sektion=1\&manpath=FreeBSD+7.1-RELEASE) 工具。它会为进程设置关联的 FIB。例如：

```sh
# setfib -3 ping target.example.com
```

[ping(8)](http://www.freebsd.org/cgi/man.cgi?query=ping\&sektion=8\&manpath=FreeBSD+7.1-RELEASE) 命令将使用 FIB #3。

数据包将根据以下规则关联到对应的 FIB：

* 关联了 FIB 的所有数据包将使用该 FIB。否则将使用 FIB #0。
* 在接口上接收用于转发的数据包使用 FIB #0。
* 与 FIB 关联的 TCP 监听套接字将生成与同一 FIB 关联的接受套接字。
* 响应其他数据包而生成的数据包使用与所响应数据包关联的 FIB。
* 在隧道接口（如 [gif(4)](http://www.freebsd.org/cgi/man.cgi?query=gif\&sektion=4\&manpath=FreeBSD+7.1-RELEASE) 和 [tun(4)](http://www.freebsd.org/cgi/man.cgi?query=tun\&sektion=4\&manpath=FreeBSD+7.1-RELEASE)）上生成的数据包将使用建立隧道的进程的 FIB 进行封装。
* 路由消息将与进程的 FIB 关联。

此外，[ipfw(8)](http://www.freebsd.org/cgi/man.cgi?query=ipfw\&sektion=8\&manpath=FreeBSD+7.1-RELEASE) 现支持 `setfib` 操作规则。以下操作：

```sh
setfib fibnum
```

将使匹配的数据包使用 *fibnum* 中指定的 FIB。规则处理继续到下一条规则。

***

本文件及其他与发布相关的文档可从 [http://www.FreeBSD.org/snapshots/](http://www.freebsd.org/snapshots/) 下载。

如有关于 FreeBSD 的问题，请先阅读 [文档](http://www.freebsd.org/docs.html)，再联系 <questions@FreeBSD.org>。

所有 FreeBSD 7-STABLE 的用户应订阅 <stable@FreeBSD.org> 邮件列表。

如有关于此文档的问题，请发送电子邮件至 <doc@FreeBSD.org>。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/release/freebsd-7.1-release/7.1-errata.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
