Search This Blog

Thursday, November 24, 2011

[WinXP]安裝Windows XP後啟動SATA driver(AHCI)

ASUS eeebox pc eb1007 安裝 windows XP後要啟動sata的AHCI模式可依下列方式

1.下載AHCI的driver(for eeebox eb1007 in winxp)
AHCI(Intel SATA AHCI Controller) driver
Intel SATA控制器驅動適用於Windows XP

AHCI_8_9_0_1023.zip

2.解壓縮後將 IaStor.sys 複製到 windows\system32\drivers 目錄下

3. 將下列文字存成ahci.reg
====================================================
Windows Registry Editor Version 5.00

; --
; traegt einige Betriebsmodi der SATA-AHCI-Hostadapter
; der I/O Controller Hubs
; ICH7R, ICH7-DH, ICH7M-DH
; ICH8R, ICH8-DH, ICH8-DO, ICH8-M, ICH8-ME
; ICH9, ICH9R, ICH9-DH, ICH9-DO
; ICH9-M, ICH9-ME (experimentell)
: ICH10, ICH10R
; der Intel-Chipsaetze
; 955X, 945P, 945G, P965, G965, Q965, Q963
; 945GM, 945PM, 965GM, 965PM
; G31, G33, G35, P31, P35, X38, X48
; G43, G45, P43, P45
; GM45, GM47, PM45
; Q45, P55 (experimentell)
; in die Registry einer Windows-XP-Installation ein
; (XP Home, Professional, x64 Professional Edition).
; --
; Der Treiber IaStor.sys muss man manuell kopieren
; in das Verzeichnis
; %SYSTEMROOT%\system32\drivers\iaStor.sys
; Weitere Tipps: c't 23/05, S. 210
; und
; SATA-AHCI-Treiber nachrüsten:
;
; Weitere Informationen:
; ICH7R: www.intel.com/design/chipsets/datashts/307013.htm
; IaStor.sys:
; Enthalten in Intel Matrix Storage Manager (IMSM), 32- und 64-Bit:
; http://support.intel.com/support/chipsets/imsm/
; Trademarks: Intel (www.intel.com), Microsoft (www.microsoft.com)

; ICH7 AHCI
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_27c1]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH7-M AHCI
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_27c5]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH7 RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_27c3]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH7-M DH RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_27c6]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH8, ICH8R, ICH8-DO, ICH8-DH AHCI 6-Port
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2821]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH8, ICH8R, ICH8-DO, ICH8-DH AHCI 4-Port
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2824]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH8, ICH8R, ICH8-DO, ICH8-DH RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2822]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH8-M, ICH8-ME AHCI
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2829]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH8-M RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_282A]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9, ICH9R, ICH9-DO, ICH9-DH AHCI Ports 0-5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2922]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9, ICH9R, ICH9-DO, ICH9-DH AHCI Ports 0, 1, 4, 5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2923]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9R RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2822]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9R RAID Alternativ je nach Bit 7 im Register D21:F2:9Ch (siehe Datenblatt)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2925]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9-M, ICH9-ME AHCI
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2929]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9-M RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_282A]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH9-M RAID Alternativ je nach Bit 7 im Register D21:F2:9Ch (siehe Datenblatt)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_292C]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH10, ICH10R AHCI Ports 0-5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3A22]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH10R RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3A25]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH10DO AHCI
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3A02]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; ICH10DO RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3A05]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; P55 AHCI Port 0-5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3B22]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; P55 AHCI Port 0,1,4,5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3B23]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; P55 RAID ist 3A25 wie ICH10R

; P55 Mobile AHCI Port 0-5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3B2F]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; P55 Mobile AHCI Port 0,1,4,5
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3B29]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

; P55 Mobile RAID
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3B2C]
"Service"="iaStor"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
"Type"=dword:00000001
"Start"=dword:00000000
"Group"="SCSI miniport"
"ErrorControl"=dword:00000001
"ImagePath"="system32\\drivers\\iaStor.sys"
"tag"=dword:00000019
"DisplayName"="Intel AHCI Controller"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
"AtapiOnPrimary"=dword:ffffffff
"AtapiOnSecondary"=dword:ffffffff

================================================================
4.執行ahci.reg
5. 重新開機,按F2進入BIOS中將sata模式由IDE改為AHCI,應該就可以正常進入Windows XP了

Reference:http://etactiks.blogspot.com/2010/12/how-to-inject-sata-drivers-ahci-after.html

Sunday, November 20, 2011

[Ubuntu]How to enable exFAT

如果你的磁碟是在Win7下格式化為exFAT,在Ubuntu下是無法讀取的,必須要安裝下面的套件就可以掛載讀取了

sudo apt-add-repository ppa:relan/exfat
sudo apt-get update
sudo apt-get install fuse-exfat


Reference:http://apcmag.com/how-to-enable-exfat-in-ubuntu.htm

Tuesday, November 15, 2011

[CentOS] yum update db error

當使用yum install時,如果有出現下列錯誤(error)

updates/primary_db

http://ftp.iij.ad.jp/pub/linux/centos/5.7/updates/x86_64/reposdata/primary.sqlite.bz2:[Errno -1] Metadata file does not match checksum

解決方式如下(Solution)

yum clean all

rm -f /var/lib/rpm/_db*

rpm --rebuilddb

Tuesday, November 1, 2011

[PDF] 免費視覺化的裁切PDF檔工具

在Kindle看PDF時,常會因為PDF周圍的空白太大,導致本文看起來很小,所以最好是可以裁切一下PDF檔,把周圍的空白的切掉,Briss是個不錯的免費軟體,不需要安裝,又很方便使用。

Thursday, July 28, 2011

convert mts file to mpeg file

#!/bin/csh
# For NTSC change -fps 50 tp -fps 60000/1001 below
foreach f ($*)
ffmpeg -i "$f" -sameq -an -f yuv4mpegpipe - | yuvfps -s 60000:1001 -r 60000:1001 | ffmpeg -f yuv4mpegpipe -sameq -i - -sameq -s 1280x720 -f mpeg2video -r 60000/1001 -threads 4 "${f:r}.mpeg"
end


*DV (*.mts) to flv

 ffmpeg.exe -i d:\dv\%FILENAME%.MTS -f flv -r 25 -vcodec flv -s 800x450 -aspect 16:9 -b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k %FILENAME%.flv

*WMV to flv

ffmpeg.exe -i %FILENAME%.wmv -f flv -r 25 -vcodec flv -b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k %FILENAME%.flv

*3gp to flv
ffmpeg.exe -i d:\dv\%FILENAME%.3gp -f flv -r 25 -vcodec flv -s 800x450 -aspect 16:9 -b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 -trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k %FILENAME%.flv

*3gp to xvid
ffmpeg -i %FILENAME%.3gp -c:v libxvid -b:v 2000k -aspect 16:9 -ar 22050 -q:v 2  %FILENAME%.avi

*3gp to xvid and remove audio
ffmpeg -i %FILENAME%.3gp -c:v libxvid -b:v 2000k -aspect 16:9 -ar 22050 -q:v 2 -an smoke.avi

mp3 codec
-c:a libmp3lame

h264 codec
-c:v libxh264

xvid codec
-c:v libxvid

Friday, July 22, 2011

Monday, July 11, 2011

[Ubuntu]SVN Client



在Windows平台常用的SVN Client是TortoiseSVN,而且TortoiseSVN有跟右鍵選單(Context menu)整合,在使用上直覺又方便,在Ubuntu上現在也有高手寫了類似的RabbitCVS,同樣也是跟右鍵選單(Context menu)整合,在檔案管理員介面上也一樣可以看出檔案的狀態。

安裝方式如下:
sudo add-apt-repository ppa:rabbitvcs
sudo apt-get update && sudo apt-get install rabbitvcs-nautilus

Reference:http://superuser.com/questions/146001/svn-client-for-ubuntu-with-context-menu

Friday, July 8, 2011

[OpenOffice]目錄樣式調整


使用OpenOffice/LibeOffice產生目錄時,目錄的樣式跟網頁超連結的樣式是一樣的,如上圖所示,印出來時實在是不能看,如果要產生跟在MS Word下一樣的樣式,如下圖所示

修改方式如下:
1.打開樣式列表
功能表->格式->樣式和格式
2.修改"Internet連結樣式"
修改前的樣式

修改如下

[Ubuntu]字型檔

Font:Arial, Arial Black
sudo apt-get install ttf-mscorefonts-installer

Font:Garamond
Ubuntu:Apple Garamond
sudo apt-get install texlive-font-extra

Tuesday, May 3, 2011

[Kindle]DX Graphite(DXG)完全中文化/漢化

在Kindle DX Graphite(DXG) (ver.2.5.5)下要看中文,除了PDF外就要另外安裝多看系統,如果要在原生系統下看中文,就要動一些手腳了
1. 確認你的Kindle是DXG
Home->Menu->Setting
Serial Number:B009xxxxx
Software Version:2.5.5

2.安裝越獄軟體(Jailbreak Hack)(Reference)
2.1 下載並解壓縮
2.2 將Kindle DXG用USB線與PC連接, PC將會出現一個叫Kindle的磁碟
2.3 將update_jailbreak_dxg_install.bin放到該磁碟之根目錄
2.4 在PC將Kindle裝置安全移除,!!!不要把USB線拔除!!!
2.5 Menu->Settings->Menu->Update Your Kindle
2.6 更新完成後,Kindle會自動重新啟動
2.7 完成

3.安裝中文字型(Font Hack)(Reference)
3.1 下載並解壓縮
3.2 下載修改過之中英文字型,英文字體為Kindle原始字型,中文為黑體(Reference)
3.3 將Kindle DXG用USB線與PC連接, PC將會出現一個叫Kindle的磁碟
3.4 將update_fonts_3.3.N_dxg_install.bin及/src/linkfonts目錄放到該磁碟之根目錄
3.5 將修改過之字型檔案,內含fonts,etc兩個目錄,覆蓋linkfonts中之fonts,etc兩個目錄
3.6 在PC將Kindle裝置安全移除,!!!不要把USB線拔除!!!
3.7 Menu->Settings->Menu->Update Your Kindle
3.8 更新完成後,Kindle會自動重新啟動
3.9 完成

4.可更新Kindle至2.5.8版本,不會影響中文化之結果

Tuesday, February 15, 2011

[Ubuntu]Eclipse Big5中文顯示亂碼-解決方案

Code Section
1. 修改Ubuntu支援語系
sudo gedit /var/lib/locales/supported.d/zh-hant

加入
zh_TW.Big5 Big5
2.重開Eclipse
Poject->Property->Resource->Text file encoding
手動輸入Big5

Reference:
http://www.pctartarus.com/?tid-1856/

Wednesday, February 9, 2011

[Ubuntu]VMWare/VMPlayer 64bit

在Ubuntu 64bit環境下如果在開啟VMPlayer 3.1或是VMWare 7.2有出現下列的錯誤訊息
Oct 21 19:30:57.926: app-140240583857920| Log for VMware Workstation pid=6067 version=7.1.2 build=build-301548 option=Release
Oct 21 19:30:57.926: app-140240583857920| The process is 64-bit.
Oct 21 19:30:57.926: app-140240583857920| Host codepage=UTF-8 encoding=UTF-8
Oct 21 19:30:57.926: app-140240583857920| Logging to /tmp/vmware-root/setup-6067.log
Oct 21 19:30:58.063: app-140240583857920| modconf query interface initialized
Oct 21 19:30:58.064: app-140240583857920| modconf library initialized
Oct 21 19:30:58.104: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.112: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.126: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.148: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.163: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.207: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.212: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.215: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.218: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.221: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.244: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.247: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.250: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.252: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.255: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.262: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.276: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.319: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.321: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.324: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.327: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.329: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.336: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.347: app-140240583857920| Your GCC version: 4.4
Oct 21 19:30:58.406: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.410: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.413: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.416: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.418: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.614: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:30:58.615: app-140240583857920| Building module vmmon.
Oct 21 19:30:58.615: app-140240583857920| Extracting the sources of the vmmon module.
Oct 21 19:30:58.631: app-140240583857920| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.35-22-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.5
Oct 21 19:31:02.123: app-140240583857920| Failed to compile module vmmon!
Oct 21 19:31:04.853: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.858: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.861: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.864: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.867: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.874: app-140240583857920| Your GCC version: 4.4
Oct 21 19:31:04.887: app-140240583857920| Your GCC version: 4.4
Oct 21 19:31:04.961: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.967: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.970: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.973: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:04.976: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:05.191: app-140240583857920| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
Oct 21 19:31:05.191: app-140240583857920| Building module vmmon.
Oct 21 19:31:05.191: app-140240583857920| Extracting the sources of the vmmon module.
Oct 21 19:31:05.213: app-140240583857920| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.35-22-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.5
Oct 21 19:31:06.957: app-140240583857920| Failed to compile module vmmon!

解決方式如下
cd /tmp<br />wget http://www.sputnick-area.net/scripts/vmware7.1.1-patch-kernel-2.6.35.bash<br />sudo chmod +x vmware7.1.1-patch-kernel-2.6.35.bash<br />sudo ./vmware7.1.1-patch-kernel-2.6.35.bash<br />

vmware-modconfig --console --install-all<br />


Reference:
https://answers.launchpad.net/vmware-ubuntu/+question/128677
http://pario.no/2010/10/02/installing-vmware-workstation-7-1-1-64-bit-on-ubuntu-10-10/

Tuesday, February 8, 2011

[News]Lotus Symphony 3 and fix pack released

http://symphony.lotus.com/software/lotus/symphony/home.nsf/home

Download link for Ubuntu

Installation for 64bit

[Ubuntu]增進系統效能-ck patch

Ubuntu在每次改版後,效能一直都在提昇,但仍然有高手可以讓效能再提高,其中一種是由Con Kolivas修改核心,加入BFS提升桌面操作的效能,一般稱為ck patch。
修改方式如下
1.加入套件庫(add to repository)
sudo add-apt-repository ppa:chogydan/ppa && sudo apt-get update

2.安裝(Install)
sudo apt-get install linux-image-generic-ck linux-headers-generic-ck


Reference:
http://ubuntuforums.org/showthread.php?t=1474904
https://launchpad.net/~chogydan/+archive/ppa
http://users.on.net/~ckolivas/kernel/

Ubuntu 11.04 Natty 手動Compile kernel
http://parabing.com/2011/04/28/ubuntu-natty-a-custom-kernel-is-what-you-want/
http://blog.csdn.net/Yao_GUET/archive/2011/03/21/6265731.aspx