FreeBSD 9.3 RELEASE Announced2014年07月18日 15時34分56秒

FreeBSD 9.3-RELEASE が発表された。記憶の中では、スケジュール通りにリリースされたのは初めて。

リリースノートで、気になったのは「The protect(1) command has been added, which allows exempting processes from being killed when swap is exhausted.」。スワップが全て使われてもメモリが足り無くなると適当にプロセスが殺されるが、その対象から外せるらしい。

他にもリリースノートに目を通して幾つかの気になった変更。

The sysctl(8) vfs.zfs.arc_meta_limit can now be changed at runtime.
ZFS の ARC キャッシュの量が起動後も変更できる。
The mmap(2) system call has been updated to more optimally use superpages and provide support for tweaking the alignment of virtual mappings.
mmap のメモリの使い方の改善。
A new sysctl(8), kern.panic_reboot_wait_time, has been added. This allows tuning the amount of time the system will wait before rebooting after panic(9). The kern.panic_reboot_wait_time value defaults to the kernel configuration option, PANIC_REBOOT_WAIT_TIME.
sysctl または PANIC_REBOOT_WAIT_TIME カーネルオプションで、パニック後の再起動までの時間が調節できる。
A default libmap32.conf has been added, for 32-bit applications.
32 bit プログラム用の libmap.conf

それに、Xorg に関する重要そうな変更がさらっと書かれている。

In April 2014, the FreeBSD Ports collection switched to a newer version of Xorg that supports KMS (Kernel Mode Setting).

Users upgrading from earlier versions of FreeBSD 9.x or FreeBSD 8.x should be aware of several things regarding Xorg:

When applications are built from the FreeBSD Ports Collection or installed from the new_xorg pkg(8) repository, the newer, KMS-aware version of Xorg is used.

The KMS version of Xorg does not switch back to text mode after leaving the X desktop environment, and the system console will not be visible. The new vt(4) console driver supports graphic consoles and keeps the console visible after X has exited. The vt(4) driver must be compiled into the kernel. A VT kernel configuration example file is included in 9.3-RELEASE, but is not compiled or enabled by default. See vt(4) and the vt(4) wiki page for additional information.

Packages for KDE4 are not available in the default (latest) pkg(8) repository, however are available in the new_xorg repository. See the announcement email for details on how to use the new_xorg repository.

The older Xorg that does not support KMS can still be installed from the latest upstream pkg(8) repository and the packages included on the 9.3-RELEASE DVD.

However, it is important to note that some newer applications require the newer Xorg, and will not work with the old version. The newer Xorg is recommended, and should be used unless not compatible with legacy graphics cards.

To continue using the old version of Xorg when building from the FreeBSD Ports Collection, set WITHOUT_NEW_XORG=yes in make.conf(5).

2014 年四月に ports は KMS をサポートする新しい Xorg に移行した。

ports からコンパイルしたり、new_xorg の pkg のレポジトリを使うと新しい Xorg が入る。

KMS 対応の Xorg は X 終了後にもテキストモードに戻らずコンソールは見えるようにならない。新しい vt ドライバはグラフィックコンソールをサポートし、 X 終了後もコンソールが見える様になる。しかし、vt ドライバはデフォルトでは組み込まれていない。細かい情報は vt の wikiを参照のこと。

KDE4 は new_xorg の pkg からのみの提供になる。

FreeBSD 9.3 リリースの DVD には KMS 非対応の Xorg を元にしたパッケージが入っている。

make.conf に WITHOUT_NEW_XORG=yes と書くことで、KMS 非対応の ports が作れる。