Posts

about gentoo-cn.org

There's been some problem renewing this domain. We might as well abandon this domain name altogether and switch to gentoo-zh.org. Actually I have already registered the later one. Probably will set it up this weekend. Meanwhile you can access the site using zhangle.is-a-geek.org. Everything works fine, except sub domains, like {planet,irc...}.gentoo-cn.org. Sorry for the convenience caused, if any.

gentoo-zh overlay

So gentoo-china and gentoo-taiwan overlay will merge. The new overlay will be called gentoo-zh. I have already added gentoo-zh overlay to repositories.xml based on which layman-global.txt is generated. Thanks to microcai for merging the repository of these two projects. EDIT: sorry there is an error about the source type. already fixed.

New job, New life

So, as some of you may know, I have just settled down in San Jose, CA. My new job is Site Reliability Engineer in Google Mountain View office. I would like make some new friends here. If you live nearby, let me know, ;)

Linux 2.6.35 + glibc compiled with >linux-header-2.6.34 == Unusable MIPS N32 System

getdents64 was added to N32 ABI during 2.6.35 merge window. But it has a problem which is later fixed by a patch merged in 2.6.36 window. IIRC, readdir in glibc works with both getdents and getdents64, and it prefers getdents64 if it is available. So if your glibc is compiled against linux-header-2.6.35 and upwards, readdir will use getdents64, but on Linux 2.6.35 it actually calls getdents. So readdir will be confused. As a consequence, you will have problems accessing files. The system will be effectively unusable. So if you have encountered this problem, pray that you have another system which could boot the machine. Compile a kernel 2.6.36 or upwards and use it to boot the system. Then you should be able to get your system back.

MIPS N32 Firefox

Almost forget to mention, now with this workaround http://bit.ly/d5rBqp , N32 firefox-3.6.8 is working again. I am still trying to fix the binutils bug. http://sourceware.org/bugzilla/show_bug.cgi?id=11956 I am feeling that I am not far from a break through. BTW, Shenzhen Linux User Group will celebrate Software Freedom Day 2010 on this Saturday. If you happen to be in town by then, do drop by, ;) http://bit.ly/sz_sfd_2010 If you can come, and don't understand Chinese, I am always ready for help. ;)

Loongson 2F N32 stage3 is now available on gentoo mirrors

It is under experimental/mips/stages/loongson/. Like: http://mirrors.xmu.edu.cn/gentoo/experimental/mips/stages/loongson/ I should have done it long ago, just don't familiar with catalyst and catalyst lacks documentation. Thanks to leio and robbat2 for making it happen. http://bugs.gentoo.org/show_bug.cgi?id=330021 I have already included kernel modules in the stage3. You can find the corresponding kernel here: http://www.gentoo-cn.org/~zhangle/ If you want to build your own kernel, use the source here: http://dev.lemote.com/code/linux-loongson-community/wiki/WikiStart You also need loongson overlay. Just use layman to add it. Of course you need to emerge layman first. http://www.gentoo-cn.org/gitweb/?p=loongson.git;a=summary If you find portage ask you to downgrade packages, you can try this trick ACCEPT_KEYWORDS="x86 ~x86 ~mips" However you need to understand that there is no guarantee that software installed in this way would work. But at least some of them will work. ...

Type special characters in xterm in N900

Image
UPDATE: The build failed because of gcc's multislot USE flag(seed stage has it while catalyst can't set USE for stage3). I was on a trip so there is actually no progress for the last 5 days. Sorry. I have worked around it. Now rebuilding. First, sudo gainroot. Then run the following two commands: /home/user # gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string '[Tab,Esc,~,`,|,>, /home/user # gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,asciitilde,grave,bar,greater,less]" Then restart your xterm, you will see the bottom bar looks like the one showing in the following picture: This picture shows that I am building new stage3 for Loongson 2F, N32 ABI, ;)