This page is not available in 繁體中文, as a result the English (en_US) version is shown instead.
Laser tagging

So I went laser tagging with some of my coworkers last week. Here's the result. If I knew that I was going to play with 20+ kids I probably wouldn't have gone.

Of course, if I knew I was going to get my ass kicked by those kids, I definitely wouldn't have gone.

by khc on Mon Aug 25 20:08:38 2008 Permlink
Tags: urandom work

moments

(19:35:32) RandomJoe: hi

(19:35:49) RandomJoe: you don't know me, but i'd like to thank you for all the hard work you've put into the msn prpl :)

(19:35:57) khc: np

(19:36:17) khc: I haven't really done much recently, you should thank Qulogic for that :-)

(19:37:31) RandomJoe: i will, but i've seen your comments on plenty of tickets, so you obviously did a part as well :)

(19:37:55) khc: well sure thanks! :-)

by khc on Mon Jul 14 20:03:42 2008 Permlink
Tags: pidgin

Journey to 64 bit Linux

Some notes on setting up my new computer with 64 bit kernel:

AMD A780G/HD3200

Driver in Ubuntu 8.04 (Hardy Heron) wasn't new enough, had to grab the debs from 8.10. Needed the following: xserver-xorg-video-ati, xserver-xorg-video-mach64, xserver-xorg-video-r128, xserver-xorg-video-radeon. After that it's recognized as a r600 part.

Still no DRI and acceleration. Probably because the in-kernel DRM driver isn't new enough. Tried to upgrade to 8.10's development version, still no dri device. 8.10 was too unstable, reinstalled back to 8.04.

Also no Xv/XVideo, highdef (H.264) video skips frame in mplayer.

SpeedStep/Cool'n Quiet

First of all you need to load kernel module powernow-k8.

Found out that if you added a CPU Frequency Scaling Monitor applet to the panel and do dpkg-reconfigure gnome-applets, it automatically prompts you if you want to setuid the binary. Once I enabled that, I could configure the cpu governor by left clicking it. Too bad I need one applet for each core.

VMWare workstation

Need 32bit userland and the usual vmware-any-any patch. Move away or delete lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1. Got "Version mismatch with vmmon module: expecting 138.0, got 137.0.", found this, reproducing below:

I think you can also do the following (got this from someone on the vmware forums I think).

cd vmware-server-distrib/lib/modules/source/ tar -xvf vmmon.tar vi vmmon-only/include/compat_kernel.h

change the line that says: static inline syscall1(int, compatexit, int, exitcode); to the following by removing two commas: static inline _syscall1(int compatexit, int exit_code);

sudo tar -cvf vmmon.tar vmmon-only/

VM suspended in old 32bit box couldn't be resumed from 64bit, although I am not sure if I am supposed to be able to do that.

Other remarks

The Phenom 9600 I got is probably a b2 revision that suffers from the TLB errata. Apparently all b3 parts' model numbers end in "50" instead of "00". I didn't find out until after I ordered it, but if you want more peace of mind you may want to get the b3 parts. I haven't hit the problem yet, but I haven't really stressed the box either. Found a kernel patch written by an AMD employee.

Once I enabled the ondemand cpu governor, the cracking noise from the onboard audio on ECS A780GM-A motherboard almost disappeared, even when the cores are in full frequency.

I wrote this after I've set everything up, so it's possible that I missed some stuff.

by khc on Sat Jul 5 16:56:20 2008 Permlink
Tags: computer

git rebase --interactive

is extremely difficult to use. I've used git add --interactive before, but once you throw in tree edit I was just too scared and gave up. Also git add --interactive doesn't seem to let me split a hunk that's contiguous (ie: a new function).

Lots of time wasted with no progress. I think I will just manually edit the patch.

4 days weekend, I may look into building a new computer.

by khc on Mon Jun 30 23:08:36 2008 Permlink
Tags: computer

小小事

當我發現麗江的導遊年紀其實比我還小的時候,不知為甚麽說了一句:「這證明我長得年輕。」誰知道她說:「這證明你長得幼稚!」

到了蘇州見到我的表妹,說起以前的事,她跟我說:「以前幾個表哥,就你最惡!」

過去一個月到來過的無聊人:

vistor map

我在做甚麽?

前兩個星期一個同事離職,那天晚上她突然(平時我們說話不多)在網上跟我說:「你一直都不怎笑的,給我的感覺很冷酷,我都不敢跟你說話!」還好,後來她說其實我挺好人的,因為我在工事上幫過她。

雖然,她大概只是想我好過點吧。

by khc on Fri Jun 13 23:21:29 2008 Permlink
Tags: chinese
Older Posts