cd /home/palconn/linux-3.10.33_build/;fakeroot make-kpkg -j 4 --append-to-version -pci-debug --initrd kernel_image kernel_headers;cd ../;dpkg -i linux-image-3.10.33-pci-debug_3.10.33-pci-debug-10.00.Custom_amd64.deb linux-headers-3.10.33-pci-debug_3.10.33-pci-debug-10.00.Custom_amd64.deb
- 8月 04 週一 201417:54
ubuntu make kernelcommand note
- 7月 28 週一 201415:40
LINUX Memory allocate function
先放一下,有空再來補。
http://welkinchen.pixnet.net/blog/post/44174948-%E5%B8%B8%E7%94%A8%E6%A0%B8%E5%BF%83%E8%A8%98%E6%86%B6%E9%AB%94%E5%88%86%E9%85%8D%E5%87%BD%E6%95%B8
pci_alloc_consistent
pci_free_consistent
http://welkinchen.pixnet.net/blog/post/44174948-%E5%B8%B8%E7%94%A8%E6%A0%B8%E5%BF%83%E8%A8%98%E6%86%B6%E9%AB%94%E5%88%86%E9%85%8D%E5%87%BD%E6%95%B8
pci_alloc_consistent
pci_free_consistent
- 3月 11 週一 201311:44
刪除資料夾下的link檔案
rm -rf `find . -type l`
- 6月 23 週四 201113:07
KUBUNTU 10.04安裝KDevelop的方式
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install ctags
sudo apt-get install konsole
sudo apt-get update
sudo apt-get install ctags
sudo apt-get install konsole
- 8月 21 週六 201000:36
開機自動掛載NFS及NTFS
mount NTFS after boot:
1.find UUID:
ls -l /dev/disk/by-uuid/
1.find UUID:
ls -l /dev/disk/by-uuid/
- 6月 15 週二 201019:19
sudoers
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
Host_Alias SERVER =ALL
# User alias specification
User_Alias ADMIN = paul_chen
#User_Alias USER =
# Cmnd alias specification
Cmnd_Alias ROOT_COMMAND =ALL
# User privilege specification
Runas_Alias RUN =ALL
ADMIN SERVER=(RUN) NOPASSWD:ROOT_COMMAND
USER SERVER=(RUN) ROOT_COMMAND
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
Host_Alias SERVER =ALL
# User alias specification
User_Alias ADMIN = paul_chen
#User_Alias USER =
# Cmnd alias specification
Cmnd_Alias ROOT_COMMAND =ALL
# User privilege specification
Runas_Alias RUN =ALL
ADMIN SERVER=(RUN) NOPASSWD:ROOT_COMMAND
USER SERVER=(RUN) ROOT_COMMAND
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
- 4月 25 週日 201018:30
ubuntu 與windows的軟體對照
剛剛整理了一下自己正在用的軟體,順便拿來跟WINDOWS的軟體做個對照,
事實上,要拿UBUNTU當生活用的作業系統,特別是一般性的文書上網,
是沒有問題的,兩者的差別只在於遇到問題時ubuntu的使用者需要有好一點的背景知識,
不過當你什麼不懂不熟時,我想用windows大概也好不到哪去吧?
事實上,要拿UBUNTU當生活用的作業系統,特別是一般性的文書上網,
是沒有問題的,兩者的差別只在於遇到問題時ubuntu的使用者需要有好一點的背景知識,
不過當你什麼不懂不熟時,我想用windows大概也好不到哪去吧?
- 4月 25 週日 201014:05
lm-sensors抓不到AMD Athlon II X4 630 CPU溫度
這兩天剛把AMD Athlon 64 X2 5400+ 升級到了AMD Athlon II X4 630,
正要下手修改 .conkyrc 時發現sensors抓不到東西,
用 sencors-detect 也抓不到,最後會看到
no driver for AMD K10 thermal sensors yet
正要下手修改 .conkyrc 時發現sensors抓不到東西,
用 sencors-detect 也抓不到,最後會看到
no driver for AMD K10 thermal sensors yet
- 4月 13 週二 201005:31
apt-get update error(公鑰問題)
W: GPG error: http://linux.getdropbox.com karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY FC918B335044912E
W: GPG error: http://ppa.launchpad.net karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 5A9BF3BB4E5E17B5
W: GPG error: http://packages.medibuntu.org karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://ppa.launchpad.net hardy Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 6AF0E1940624A220
W: GPG error: http://ppa.launchpad.net karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 5A9A06AEF9CB8DB0
W: GPG error: http://ppa.launchpad.net karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 5A9BF3BB4E5E17B5
W: GPG error: http://packages.medibuntu.org karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 2EBC26B60C5A2783
W: GPG error: http://ppa.launchpad.net hardy Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 6AF0E1940624A220
W: GPG error: http://ppa.launchpad.net karmic Release: 由於無法取得它們的公鑰,以下簽章無法進行驗證: NO_PUBKEY 5A9A06AEF9CB8DB0
- 4月 11 週日 201000:43
conky中無法讀取AMD CPU的溫度
原本在.conkyrc檔中,讀取CPU溫度的方式為 ${acpitemp}
不過這個方法不支援AMD 5400+ 的CPU(the kernel module is k8temp)
上網找了一下,只能用外部命令的方式取得,
不過這個方法不支援AMD 5400+ 的CPU(the kernel module is k8temp)
上網找了一下,只能用外部命令的方式取得,
