這幾天 ubuntu 8.10 使用了 2.6.27 的 kernel , 而 virtualbox 1.6.4 的 kernel module 和 2.6.27 不太合. 編譯時都會出現 error . In file included from /tmp/vbox.1/linux/SUPDrv-linux.c:35: /tmp/vbox.1/SUPDRV.h:104:30: error: asm/semaphore.h: 沒有此一檔案或目錄 /tmp/vbox.1/linux/SUPDrv-linux.c: In function ‘supdrvOSGipResume’: /tmp/vbox.1/linux/SUPDrv-linux.c:1331: error: too many arguments to function ‘smp_call_function’ make[2]: *** [/tmp/vbox.1/linux/SUPDrv-linux.o] Error 1 make[1]: *** [_module_/tmp/vbox.1] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-1-generic’ [...]
Continue reading about Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27
記下我的 VirtualBox 網路設定 安裝 sudo apt-get install uml-utilities bridge-utils /etc/network/interfaces auto lo iface lo inet loopback name Loop interface auto br0 iface br0 inet static pre-up ifconfig eth0 down post-up ifup eth0 address 192.168.22.2 network 192.168.22.0 netmask 255.255.255.0 broadcast 192.168.22.255 gateway 192.168.22.1 bridge_ports eth0 auto eth0 iface eth0 inet manual name Ethernet LAN card /etc/vbox/interfaces [...]
使用發展中版本, 有可能遇到超大的問題, 今天的 ubuntu hardy 版本就是一例… 今天的 libc6 更新會導致無法執行程式, 無法執行更新/安裝套件的 dpkg 或 apt-get, 連 sudo / bash 也無法執行, 根本就是等死狀態 T_T ubuntuforums 的討論, 有人貼出大概的暫時解法: 用 live cd 開機 掛載 disk cp –parents `dpkg -L libc6-i686 | xargs` /path/to/mounted/disk/ cp –parents `dpkg -L libc6 | xargs` /path/to/mounted/disk/ 相關資料 WARNING: BREAKAGE ALERT: Do Not Upgrade Libc6 (March 12, [...]
*update: 官方已解決此問題 更新 nvidia-glx-new 169.09+2.6.24.9-8.22 之後, xorg 的 glx extention 就載入失敗. (II) LoadModule: "glx" (II) Loading /usr/lib/xorg/modules//libglx.so dlopen: /usr/lib/xorg/modules//libglx.so: cannot open shared object file: No such file or directory (EE) Failed to load /usr/lib/xorg/modules//libglx.so (II) UnloadModule: "glx" (EE) Failed to load module "glx" (loader failed, 7) 主因是 libglx.so 連結錯誤, 因為 ubuntu hardy 還在 feature freeze [...]
Continue reading about xorg glx module is missing in nvidia-glx-new 169.09
* update: feature freeze 已結束 Ubuntu Hardy 有幾天沒有更新, 感覺奇怪就上 Ubuntu Forums 查. 原來是進入 feature freeze 的階段. At this point we stop introducing new features, packages, and APIs, and concentrate on fixing bugs in the development release. 停止新功能,套件和API的更新, 而專注在解決問題.
升級到 hardy 之後, firefox 開有 java applet 的網頁, xcb_xlib 的舊問題又出現了 java_vm: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed. Could not read ack from child process Plugin: Java VM process has died. plugin: java process died due to signal 6 我是用 LIBXCB_ALLOW_SLOPPY_LOCK=1 的方法, 先暫時解決吧 在 ~/.xprofile 裡加上 export LIBXCB_ALLOW_SLOPPY_LOCK=1 下次登入 x window 時即可. 還一個方法不知道行不行的通, 修改libmawt.so s/XINERAMA/FAKEEXTN/ ,請參閱 HOWTO_Java_and_Firefox [...]
惱人的 memory warning 終於消失了 [LP: #116870]
剛剛發現我的 eclipse 顯示 JavaDoc 的 view 時, 會發生 exception .
Continue reading about Eclipse: Unable to create view: NS_InitXPCOM3
Ubuntu Gutsy Gibbon 第一個測試版本 (Tribe 1) 發行了. 有興趣的可以下載安裝. See also: Gutsy 發行時間表





近期迴響