Xupeng's blog

Aug 9, 2009 - 1 minute read - Comments

修改 OpenLDAP 的 base DN

在 Debain 里安装 OpenLDAP 时,Debian 会提示给 LDAP 的 admin 用户设置一个密码,然后就自动地创建了一个默认的数据库,这个默认的数据库使用了一个默认的 base DN,默认情况下,Debian 会使用本机的域名来作为 base DN,比如如果我的域名是 xupeng.local,那么 Debian 就会使用 dc=xupeng,dc=local 作为我的默认 base DN,但是很不幸,我没有给我的 Debian 测试机设置域名,于是我的 LDAP 默认数据库的 base DN 就成了 dc=nodomain,要想修改 base DN 还真不是直接改了配置文件(/etc/ldap/slapd.conf)就行的,不过 Google 一下很快就找到了解决方法:

May 4, 2009 - 2 minute read - Comments

Settings for improving poor 3D performance of intel 945GM

I don’t use compiz on my work computer(HP 520 laptop), but I do use compiz on my own laptop which has a NVIDIA 8400GS video card, the main reason I don’t use it on the HP 520 is that: it’s really too slow to run compiz smoothly with the default settings of Xorg and intel driver, but I hear that the 3D performance has been greatly improved in kernel 2.6.29, so I spent some time to get compiz work well with the HP 520(Intel 945GM video card).

Apr 21, 2009 - 2 minute read - Comments

Sun 被 Oralce 收购,Virtualbox 前途未卜

Sun 被 Oralce 收购了,我担心我没有新版本的 Virtualbox 用了……

Virtualbox 是我最喜欢的桌面虚拟化软件,目前的最新 release 是 2.2.0。我之所以喜欢 Virtualbox,是因为 Virtualbox 实在是:

Apr 16, 2009 - 1 minute read - Comments

VMWare ESXi 3.5.0-153875 on HP 520 laptop: "PCPU 1 locked up..."

For the sake of testing our product(krugle) easily, I installed VMWare ESXi 3.5.0 build 153875 on a HP laptop(HP 520) before the new server is delivered to our office, but unfortunately it failed to work, for several times it just threw me a screen with purple background, which is much like M$'s famous blue screen ;) it said "PCPU 1 locked up. Failed to ack TLB invalidate...", here is one of the screenshots I took when the errors occurred: vmware-exsi But I was not surprised at all, because I knew there were problems with the HP 520, at least with this model of HP 520. This HP 520 is equipped with Intel Core 2 T5200 CPU, according to wikipedia(http://en.wikipedia.org/wiki/List_of_Intel_Core_2_microprocessors), it looks like this CPU is an OEM product. It's a Core Duo 2 CPU, but it can't run 64bit OS, and no hardware virtualization support either, really weird. Anyway I can't get it work with VMware ESXi, a little frustrated,  I have to use KVM VMs for testing krugle before the new server reaches.