richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 4

Entries Tagged as 'Gentoo'

[Gentoo] x61 vmware 效能低落問題.

May 2nd, 2008 · No Comments

最近換了 x61, 如果不跑 vmware, 效能還不錯.
如果裝了 vmware 6, performance 馬上就變差, 不僅僅是 vmware, 連 host OS 也會受影響.
這個症狀是vmware 內有大量的 IO 存取, 至於存取什麼並不清楚.
在網路上也很難找相關的訊息, 後來找到一篇是說和 ACPI 有關,
在 grub 加上二個參數 noapic nolapic 就可以暫時解決這個問題.
kernel (hd0,4)/vmlinuz root=/dev/sda6 noapic nolapic
20080516 Update:
事實上是 kvm/kvm_intel module 要拿掉, 要不然會大幅影響 Performance.
Edit file /etc/modprobe.d/blacklist 加上這二行就可以了
blocklist kvm
blocklist kvm_intel

Tags: Gentoo, vmware

[Read more →]

Tags: Gentoo

[Gentoo] Linux 2.6.24 和 ntfs3g 配合的問題.

February 28th, 2008 · 2 Comments

昨天剛拿到新的 Notebook X61, 想將使用己久的 FAT32 系統換 NTFS (主要還是為了不爭氣的 Windows 做檔案交換用, 而且因為用 VirtualBox, 單一檔超過 2G, FAT32 不吃(手賤嘛).
結果從昨天試到今天, 當 file copy 進用 ntfs-3g mount 的 Disk 時. 就是會出現 Core Dump, 這邊節錄三行就好了.
BUG: soft lockup - CPU#1 stuck for 11s! [wget:28163]
Pid: 28163, comm: wget Not tainted (2.6.24-gentoo-r2 #4)
EIP: 0060:[] EFLAGS: 00000246 CPU: 1
現在小朋友不睡覺, 只好抱著小朋友, 順便找找有沒有什麼解決方案, 最後在 Gentoo Forums [...]

[Read more →]

Tags: Gentoo · Linux

Bind 9 Performance Test, Gentoo 奪冠

February 19th, 2008 · No Comments

本期的 Gentoo Monthly Newsletter: 18 February 2008
ISC 針對 8 個平台(包含 Linux, FreeBSD, Solaris, Windows) 做的 DNS Query Test.
Gentoo 以 93,000/sec 次奪冠, 遠超過 Windows 平台 4 倍以上.
不過......
一般不會有這麼大量的 DNS Query 吧, 除非是攻擊.

Tags: Bind, Gentoo, Linux, Performance Test

[Read more →]

Tags: Gentoo · UNIX

[Gentoo] Gentoo 搖搖欲墜

January 19th, 2008 · 12 Comments

目前看起來 Gentoo Foundation 的執照己經被撤消有數個星期之久(參考: And it gets worse...), 看起來 Gentoo Foundation 內部有很大的問題. Daniel Robbins (Gentoo 的創始者, 曾經去過 Microsoft 工作一個星期), 提供 Gentoo Foundation 一個解決方案, 由他擔任 Gentoo Foundation 的管理者, 而他保證, 上任以後, 一切都會不一樣 (參考: Here's my offer... ).
他給 Gentoo Foundation 的成員七天的時間考慮, 而這之中Daniel Robbin 提出他對未來的一些看法 A tale of two cultures.. 像是 Gentoo Developer 和 Gentoo User 之間的落差.
大陸那邊的 Gentoo 社群是有人提到很擔心 [...]

[Read more →]

Tags: Gentoo · Linux

[Gentoo] pygtk 的小 Bug.

September 3rd, 2007 · No Comments

升級 Python 時, ccsm 會找不到 pygtk 無法執行,
經過追查, 在 emerge pygtk 時會出現

* Cleaning orphaned Python bytecode from /usr/share/pygtk/2.0/codegen ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
* Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
* Unable to establish /usr/lib/python2.5/site-packages/pygtk.py symlink
* Unable to establish /usr/lib/python2.5/site-packages/pygtk.pth [...]

[Read more →]

Tags: Gentoo

[Gentoo][心得] Q6600 在 Linux

September 1st, 2007 · 1 Comment

除了 Windows 搞得很煩以外, 其實 Linux 也是花了不少功夫,
首先是安裝第一件事就是碰到 Gentoo 抓不到 Intel SATA 的硬碟我的解決方法很簡單, 就是拿 ubuntu 7.10(測試版) 的光碟片開機(註: 無法進入 GUI mode, 但是 7300LE 就可以)抓到 SATA 以後, 就可以將 2007.0 的 Stage3 系統裝進去.
這部份 Kernel 安裝應該是很簡單的, 由於本人很懶, 不喜歡 OS 放 RAM Disk所以我 SATA 的 Driver 都是直接編進 kernel 的.
對了, 如果記憶體有 4G , 記得在 Kernel 要選擇支援 64G Memory.要不然也只會抓到 3.3G 左右.
Realtek HD-AUDIO [...]

[Read more →]

Tags: Gentoo · Hardware · Linux · Software · 垃圾桶

[震怒] 微軟果然在 Vista 放地雷, 讓 Windows XP 無法安裝.

August 30th, 2007 · 30 Comments

Vista 的憂(因為微軟不是人)優點我想大家都有目共睹,
看到 Vista 的表現, 讓我不禁想起, 微軟一定要在 500 付牌前*註1 Windows XP 內就埋下地雷.
這樣 Vista 才會表現好.
最近購入了一台新電腦, 在測試過幾種 OS 之後, 我決定還是用牌子老信用好的 Windows XP.
才發現,
...微軟真她媽的在 Windows XP 內埋下大地雷...

Tags: 4G Memory, Gentoo, Microsoft, Partition, Vista, XP,   Gentoo, 開機

[Read more →]

Tags: Gentoo · Hardware · Linux · Software · 垃圾桶

[Gentoo] Google Desktop for Linux

June 29th, 2007 · 2 Comments

大家應該都知道了, Google Desktop for Linux 己經現身了.
這個東西真是太贊了, Beagle 雖然很好用(除去慢和記憶體太大),過 Google Desktop 才是殺手呀(習慣問題).
Gentoo 要使用, 請下載 rpm 版本的, .deb 版本可能會 install 不成功.
首先是安裝 rpm 這個套件
# emerge rpm
再來就是用 rpm 加參數直接 install
# rpm -ivh --force --nodeps google-desktop-linux-1.0.1.0060.rpm
warning: google-desktop-linux-1.0.1.0060.rpm: Header V3 DSA signature: NOKEY, key ID 7fac5991
Preparing... [...]

[Read more →]

Tags: Gentoo · Linux · Software

[Gentoo] Compiz Fusion 安裝成功.

June 26th, 2007 · No Comments

繼昨天安裝 Beryl 成功之後, 我又手賤好玩, 又裝了 Compiz Fusion 來用. 不同於 Beryl , Compiz Fusion 的文件實在是不多, 但是實際上並沒有那麼難裝.
在 Gentoo 底下安裝的部驟1. 安裝 layman , 如果己經裝了, 就可以跳過
#emerge layman
2. 加入 xeffects 套件
#layman -a xeffects#update-eix
3. 解除 xeffects 套件的限制: 因為版本是 9999 , 都是要從 subversion/cvs 抓下來的, 所以要多做一個動作.
# vim /etc/portage/package.keywords
加入
x11-wm/compiz-fusion **x11-wm/emerald **x11-wm/compiz **x11-themes/emerald-themes **x11-libs/compizconfig-backend-kconfig **x11-libs/libcompizconfig **x11-plugins/compiz-fusion-plugins-extra **x11-libs/compiz-bcop **x11-apps/ccsm **dev-python/compizconfig-python **x11-plugins/compiz-fusion-plugins-main **x11-libs/compizconfig-backend-gconf **
4. 安裝 [...]

[Read more →]

Tags: Gentoo · Hardware · Linux

[Gentoo] X31 + Beryl + KDE 完工

June 24th, 2007 · 2 Comments

假期嘛, 最重要的事就是重灌電腦. 因為之前惡搞我的 Notebook, 結果不知道從那來的一堆 Bug , 解決不了, 或是很解決. 像是 gcin 沒有辦法和 Flash 9 一起用, 每次啟動 kdesu 的時候都要打密碼(這個讓我很煩)KDM 沒有辦法輸入密碼登入. 所以我怒了呀~~~~~所以發狠就重灌了. 而重灌一定要有一個目標, 要讓 beryl 可以使用.
其實現在 Gentoo 己經將 Bery 整得非常好了, 用 AIGLX 就可以很輕易的將 X31 設定好. 比較大的麻煩是 direct rendering 沒有 Enable這一點可以用指令
$ glxinfo | grep dirlibGL warning: 3D driver claims to not support visual 0x4bdirect rendering: [...]

[Read more →]

Tags: Gentoo · Hardware · Linux