Monday, September 14, 2009

remove linux ati driver

Uninstalling the ATI Linux Proprietary Driver
Uninstalling the ATI Linux Proprietary Driver is dependent on the mode of the
initial installation.
Automatic or Custom Driver Installations
If the ATI Proprietary Linux Driver was installed using either the Automatic or
Custom options, then do the following:
1 Launch the Terminal Application/Window and navigate to the /usr/share/ati
folder
2 With superuser permissions, enter the command "sh ./fglrx-uninstall.sh"
You have now successfully uninstalled the ATI Linux Proprietary Driver.

Saturday, September 05, 2009

Linux 當機 -> 優雅的重開法

現在 Kernel 有支援 SysRq 一直搞不懂他在做甚麼

原來是一個試圖在當機還能幫系統做些事情的機制

就是按住 ALT + SysRq (PrintScn) 然後依序按 reisub

他會試圖去做 Recover 的動作然後在 reboot

請看一下下面兩篇文章就知
http://linuxtoy.org/archives/what-to-do-if-linux-crash.html
http://alejandrocuervo.com/reisub/

losf 用法

lsof 有時候去抓一些 process 在開甚麼檔案或是使用甚麼 library 非常有用

下面一篇不錯的文章 去看看吧
http://ph7spot.com/articles/leveraging_lsof