Archive for May, 2009

My First Post with Loongson

May 13, 2009

    I’m writing a post with the Fuloong 2f box. The machine is slow compared to my Benq laptop however, I enjoy what I’m doing now very much.330
    I’m not sure if there’re ways to minimize the pain when browsing webs under loongson. I tried to work under console and feel very well. Maybe using lynx?
    And another thing is the source list I use is  http://www.anheng.com.cn/debian. I know very little information about this system and the repository. what the maintainer have changed with the original debian mipsel port ? I really should ask by email.
    And I’m not sure what other loongson users will do with fuloong? Will they do their daily job using it, like compiling program, dealing with emails, browsing news? If so, how they improve its performance and hence improve user experience??
   

Best,
Sha Liu

Finally Installed Lenny on Fuloong 2f mini

May 13, 2009

    I spent last two days searching and trying installation approach of debian on Fuloong mini. And just now I succeeded booting into the new shinning debian, which is extracted from a gzipped tar ball in http://bjlx.org.cn/loongson/ on a new partition.
    I’ve thought about other installation methods too. First, I tried to installed the system from a external cd-rom(The thinkpad DVD-RW Slim Poirtable Optical Drive). But after I press DEL and prompted with PMON>, the system kind of died there, not respond to any keyboard stroke.
    Then I tried to install from hard drive using the same ISO image downloaded from debian website(about 650MB). Because I saw there’re hd-media directory [1] figuring this will work like installation on x86 platform. However, after issued initrd, load and  g console=tty root=/dev/hda5, the machine died there and I have to hard reset the box.
    Finally, I decide to turn to the easiest installation method, downloading a pre-installed system and extracting it to a empty partition. The first gzipped tar ball I used is from [2]. But it encountered the same problem above, which means the system can’t boot after initrd and loading kernel. Probably because this tar ball is just for Yeeloong? Then I download the bzipped tar ball I use now and finally boot into the system. It’s really excited to see the familiar debian wall paper!!
    Why don’t I use the net installation described here[3]? That’s because I have to use PPPoE to connect to the ftp/http site, which is not supported in net installation. That’s why I want to include the full CD image of debian in installation described above becaued it is said on the debian installaion guide that only this image can boot the installed with pppoe support.
    And there is another thing to mention. It seems I have badblocks in one of the partition of fuloong mini. When I format a newly allocated 8G partion to hold the debian system, I encounterd the message:

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector blablabla
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=blablabla, sector=blablabla

The message repeated so many times that I have to cancel the process and allocate a new empty partition just after this one. I think I should contact Liu Qi about this problem and hopefully the bad block won’t grow.

Next, I’ll  prepare the systme to build the loongson optimized system.

[1]http://dev.lemote.com/debian-loongson/dists/loongson/main/installer-mipsel/current/images/lemote-fl/
[2]http://www.lemote.com/upfiles/OS/Debian-en/
[3]http://dev.lemote.com/drupal/node/58

Test Post by Email

May 13, 2009

The connection to my blog at wordpress is really slow. Hope this can help me a little bit.

工欲善其事,必先利其器

May 6, 2009

工欲善其事,必先利其器. –孔子《论语·魏灵公》

A workman must first sharpen his tools if he is to do his work well.  –Kongzi

There are two weeks I haven’t updated my blog. Well, I promise it won’t happen again. And what’s more I feel the need to update it more often. By doing this, I can expose my progress to everyone else with the fear of hearing criticize from them so that I can do better in the future.

I’ve really done nothing remarkable in the last two weeks. My gf came at 28th, April and left Shanghai at 3rd, May. The rest time, IIRC, are contributed to either some lab work(mostly the two darn parsers), tuning my debian and readingdocumentation I downloaded online.

During this period:  1. I upgraded my Lenny to the most update sid; 2. Fixing the problem  “wake up from suspend or hibernate in black screen”  3. Easy down my cpu fan with my hand tuned governor. 4. My gnome looks more beautiful now 🙂

The last three problems irritated me long time ago, especially the second and the third, because first I can’t recover my work by simply waking my laptop  and have to shutdown it every time. And second my laptop is now very quiet because it can use cpu “on demand” which works at 800MHz nearly 80% of time.

The documentation I downloaded are mainly form tldp. Of them I found the SAG and ABS is suitable for my level. Also the book, <LPI cerificate in a nutshell> published by O’Reilly is quite organized that ,although the purpose of this book is to get reader所 prepared for the LPIC level 1 test, the content of it focus on the real stuff without distracting you. I’ve also learned emacs a lot lately.

Next week,1.  I’ll try to get debian work on qemu emulator by create a image from stratch. 2. Keep learning the stuff in LPI book (maybe I should really take a shot of the level 1 ??)  including system & network administration 3. Learning Emacs and vi