トップ «前の日記(2009-06-08) 最新 次の日記(2009-06-10)» 編集

Pyon's Diary

[はてなブックマーク登録数] [Google に登録] [RSS フィード] Gourmet Hardware Programming Society Software
成る可くJIS X 0213:2004對應MSフォント(5.0)、IPAフォント(003.02)で御覽下さい

2009-06-09 舊 平成廿壹年己丑皐月拾漆日乙酉 (火・晴) [長年日記]

[節] 2.6.29-r5でシャットダウン出來ない。(サウンドドライバがアンロードされない)

カーネルを

に上げてからシャットダウン出來なくなつた。

正確にはシャットダウンの途中で止まる樣になつた。

調べてみるとサウンドドライバ(snd_hda_codec_idt)をアンロード出來ずにゐる爲、其乃後の處理に進めずに止まつてゐる事が判つた。

「gentoo snd_hda_codec_idt」で檢索してみるとGentoo Bugzillaで同じ樣な報告を見附けた。

此處で囘答されてゐる通りに/etc/conf.d/alsasoundで

===================================================================
RCS file: RCS/alsasound,v
retrieving revision 1.1
diff -u -r1.1 alsasound
--- alsasound   2009/06/09 09:15:31     1.1
+++ alsasound   2009/06/09 09:15:53
@@ -31,7 +31,7 @@
 # Do you want to unload sound modules when alsasound stops?
 # no - Do not unload modules
 # yes - Unload modules
-UNLOAD_ON_STOP="yes"
+UNLOAD_ON_STOP="no"

 # KILLPROC_ON_STOP
 # Do you want to kill any processes using ALSA when alsasound stops?

UNLOAD_ON_STOPをnoに變更すると、シャットダウン出來る樣に成つた。

Tags: Gentoo | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink

[節] 無線LAN管理ツールwicd (1.6.0)

先日baselayoutを2.0.1に上げてから起動時に無線LANに繋がらなく成つた。

/etc/init.d/net.wlan0の實行時にdhcpcdが實行されず、ログインする度に手でdhcpcdを實行してゐた。Gentoo Bugzillaにも報告したが改善される樣子は無かつた。

けふ偶然以下の頁を見附けた。

物は試しに1.6.0を入れてみた。

# echo "net-misc/wicd	~x86" >> /etc/portage/package.keywords
# echo "net-misc/wicd	ioctl pm-utils" >> /etc/portage/package.use
# (libnotify, ncursesはmake.confに設定)
# emerge -Dav net-misc/wicd

入れた後の出力メッセージ、

You may need to restart the dbus service after upgrading wicd.

To start wicd at boot, add /etc/init.d/wicd to a runlevel and:
- Remove all net.* initscripts (except for net.lo) from all runlevels
- Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc
(For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\")

Wicd-1.6 and newer requires your user to be in the 'users' group. If
you are not in that group, then modify /etc/dbus-1/system.d/wicd.co

に從つてnet.wlan0, net.eth0を削除した。

# rc-udpate del net.eth0 default
# rc-update del net.wlan0 default
# rm /etc/init.d/net.eth0
# rm /etc/init.d/net/wlan0

普段使用するアカウントは既にusers(100)グループに入つてゐたので其乃儘。

/etc/rc.confのrc_hotplugは以下の樣に設定した。

rc_hotplug="!net.*"

更に/etc/conf.d/netの内容は全て註釋にして無効にした。

此でOSを再起動すると無線LANに自動で繋がる樣になつた。

參考。

Tags: Gentoo Wireless LAN | del.icio.usに追加 | はてなブックマークに追加 | livedoor クリップに追加 | Yahoo! ブックマークに追加 | Google ブックマークに追加 | Permalink
[]

© pyon