http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/newvers.sh
バージョン名が設定されているところ
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h
__FreeBSD_version が設定されているところ
http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html
__FreeBSD_version に対応する変更点リスト
2008年2月2日土曜日
試行錯誤の順番について
おかしいと思ったときの試行錯誤の順番が違う気がしてきました。
まとめておきましょう。
■portsからインストール~実行したものでトラブルに見舞われたら
(1) /usr/ports/UPDATING を調べる。
(2) send-prで報告されてないか調べる。↓おすすめ
http://portsmon.freebsd.org/portsprsbyportname.py
(3) ドキュメントを調べる。
→ /usr/local/share/doc の下にないか?
→ work/ 以下に展開された元アーカイブの下にないか?
(4) WWWで検索する
→日本語の場合はFreeBSD 4以下の情報をつかまないように注意。
→調べ先をもう少し整理したいなあ。
→→オリジナルソースの開発コミュニティがあれば見てみる。
→→ユーザフォーラムの情報も調べてみる。
というわけで、読むべきものを忘れていましたね。
これですか? これなんですか??
試してみた。フリーズ。違ったようだ。寝てしまおう。
まとめておきましょう。
■portsからインストール~実行したものでトラブルに見舞われたら
(1) /usr/ports/UPDATING を調べる。
(2) send-prで報告されてないか調べる。↓おすすめ
http://portsmon.freebsd.org/portsprsbyportname.py
(3) ドキュメントを調べる。
→ /usr/local/share/doc の下にないか?
→ work/ 以下に展開された元アーカイブの下にないか?
(4) WWWで検索する
→日本語の場合はFreeBSD 4以下の情報をつかまないように注意。
→調べ先をもう少し整理したいなあ。
→→オリジナルソースの開発コミュニティがあれば見てみる。
→→ユーザフォーラムの情報も調べてみる。
というわけで、読むべきものを忘れていましたね。
% less /usr/ports/UPDATING
...
20070913:
AFFECTS: users of x11/xorg, x11/nvidia-driver
AUTHOR: flz@FreeBSD.org
X.org ports were updated to 7.3. Since we're now using the modular
build, the upgrade is pretty much painless. If you're using the
x11/xorg meta-port, upgrade should be as easy as:
# portupgrade -R xorg
Users of nvidia-driver will have to make sure Composite extension is
turned off and start Xorg with the following command:
$ startx -- -ignoreABI
The -ignoreABI option is a Xorg option. If you're using gdm, kdm or
xdm, you will have to modify your configuration file so that Xorg
starts with this option.
An updated nvidia-driver should be released soon.
これですか? これなんですか??
試してみた。フリーズ。違ったようだ。寝てしまおう。
Xorg.0.logに残っていたもの、そして……
お預けにしたとはいえ、それにしても一体何があったのでしょうか。
Xorg.0.log に何か残っているかもしれません。
どうもカーネルモジュールがよろしくないらしい。
portsでコンパイルしたときは特にWarningもなく通ってたんですけどねえ。
付属のドキュメントを見てみると……?
ボードはあるよなあ…
えー(==;
お、まさにログ通りのテキスト発見! fails で戻ってこないからもっと深刻だけど…
/var/log/messages を見よ?
カーネルモジュールが読まれている時はこれが出ているのでボードは認識しているようだけれど、停止時の記録は見あたりません。強制リブートしたあたりを見ても特になく。何故だー!?
ここで選択肢を出しておいて寝ることにしましょう。
(1)続ける
→100.xxのまま → Webをもっとちゃんと探す
→169.xxをもってきてportsに頼らずやってみる
(2)諦める(どうせvncで使うんだし)
Xorg.0.log に何か残っているかもしれません。
■(略)
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0): that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0): that the NVIDIA device files have been created properly.
(EE) NVIDIA(0): Please consult the NVIDIA README for details.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "xaa"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
どうもカーネルモジュールがよろしくないらしい。
portsでコンパイルしたときは特にWarningもなく通ってたんですけどねえ。
付属のドキュメントを見てみると……?
# less /usr/ports/x11/nvidia-driverwork/NVIDIA-FreeBSD-x86-100.14.19/doc/README
...
E1. NVIDIA GEFORCE GPUS
...
GeForce 8500 GT 0x0421
ボードはあるよなあ…
______________________________________________________________________________
Appendix A. Minimum Software Requirements
______________________________________________________________________________
The official minimum software requirements for the NVIDIA FreeBSD Graphics
Driver are as follows:
Software Element Min Requirement
---------------------------------- ----------------------------------
Kernel FreeBSD 5-STABLE (5.3 or later)
XFree86/X.Org 4.2/6.7.0
Additionally, the kernel source tree must be installed in /usr/src/sys
(package 'ssys' installed)
Note that FreeBSD -STABLE versions older than FreeBSD 5.3 and FreeBSD 6.x/7.x
-CURRENT development snapshots are not supported.
えー(==;
______________________________________________________________________________
Chapter 6. Common Problems
______________________________________________________________________________
This section provides solutions to common problems associated with the NVIDIA
FreeBSD x86 Driver.
...
Q. My X server fails to start, and my X log file contains the error:
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
A. Nothing will work if the NVIDIA kernel module does not function properly.
If you see anything in the X log file like
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
then there is most likely a problem with the NVIDIA kernel module.
The NVIDIA kernel module may print error messages indicating a problem --
to view these messages check the output of `dmesg`, '/var/log/messages', or
wherever syslog is directed to place kernel messages. These messages are
prepended with "NVRM".
お、まさにログ通りのテキスト発見! fails で戻ってこないからもっと深刻だけど…
/var/log/messages を見よ?
Feb 2 00:08:39 basil kernel: nvidia0:port 0xa000-0xa07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0x
f5ffffff irq 16 at device 0.0 on pci1
Feb 2 00:08:39 basil kernel: nvidia0: [GIANT-LOCKED]
Feb 2 00:08:39 basil kernel: nvidia0: [ITHREAD]
カーネルモジュールが読まれている時はこれが出ているのでボードは認識しているようだけれど、停止時の記録は見あたりません。強制リブートしたあたりを見ても特になく。何故だー!?
ここで選択肢を出しておいて寝ることにしましょう。
(1)続ける
→100.xxのまま → Webをもっとちゃんと探す
→169.xxをもってきてportsに頼らずやってみる
(2)諦める(どうせvncで使うんだし)
登録:
コメント (Atom)