Cyber memos for my personal knowledge.

2009-06-26

R.I.P - King of Pop - Michael Jackson 1958-2009

OMG, this morning I got a bad news that a most widely famous artist - Michael Jackson just past away!

I got almost all his albums that I can bought here.
Since Off the wall, Thriller, Bad, Dangerous, History, Scream, Invincible...etc.
Of course, too many songs he performed can be classics..

Q__Q..

I will miss you, Michael.
I will miss your dancing.
I will miss the performance you made with Slash.

You are always the best!

2009-06-16

SourceForge clevo-extra project kick-off

It is a milestone for myself...;-)

  • Project UNIX name : clevo-extra
  • Registered : 2009-06-11 10:17


http://sourceforge.net/projects/clevo-extra

2009-06-02

Compiling SiS X driver on Mandriva 2009.1

Based on this one, I also try to compile and install SiS X driver on Mandriva 2009.1.
Of course I have to install some additional packages.
Use urpmi and all related sw automatically:

Xorg X server is v1.6.1.

1. binutils;
2. make;
3. libxorg-x11-devel;
4. xorg-x11 (this is a meta package);
5. xorg-x11-xvfb (I think this one is optional..);

BTW, I try it on a small distro called Caixa Magica 12.
Can compile and install 'cause it's a Mandriva-based distro.

2009-05-27

Compiling SiS X driver on Ubuntu 9.04

I got new verison of SiS Linux X driver which fixed some bugs and the AUO panel issue.
And again, I have to verify it for our company's product on Ubuntu 9.04 first.
(Company decision........)

Xorg X server is v1.6.0 on Ubuntu 9.04.

Well, some packages I need to install to compile the SiS X driver source code:
1. xserver-xorg-dev;
2. x11proto-*-dev; (Lazy, so I install them all......)
3. libdrm-dev;
4. libgl1-mesa-dev;
5. build-essential; (This is ur call..)

And, of course, ./configure; make, then you can find the driver sis_drv.so under ./src/.libs/.
Nothing special.

Next I have to verify it on Mandriva 2009.1 also.

2009-05-20

Inside the Linux reboot.c of kernel 2.6.25

I got a bug report from one of my customer, they said system hang up after issuing reboot command if using T3400 CPU...= =|||

I can duplicate this issue and I think it is a BIOS bug on our product, because I saw this issue before BIOS POST.

After confirm with our BIOS team members and we use 80 port debug card to see what is going on. We know that BIOS team need to modify their watchdog to monitor this kind of problem......They need to know some information to catch for the system reboot. In Windows, they can monitor it because system will write 0xfe to 0x64. I believe that Linux will do something smiliar to this but I can not figure it out in kernel 2.6.24.7 source code under arch/x86/kernel/reboot_*.c...

Well, starting from Linux kernel 2.6.25, there is only ONE reboot.c under arch/x86/kernel, and they do change some points in the code.

In arch/x86/kernel/reboot.c and line 367 we can see the code:
outb(0xfe, 0x64); /* pulse reset low */

This function is defined in arch/x86/boot/boot.h.

囧rz..
This means that system will do basic port I/O to write to port 0x64 with value 0xfe when system is going to reboot. Bingo! So our BIOS team will be very happy with it........'cause they now can do something to their cute dog........

Another interesting point is that BIOS can detect memory address 0x472 to know this is a warm or cold reboot we want. If the reboot mode is 0x1234 that is a warm reboot. If reboot mode is 0 that is cold reboot...;-)

BTW, this is my desktop wallpaper recently...;-)
And I want to say that openSUSE rocks!!
Also the president Ma of TW rocks!!

This hot girl is named 王思平 and she is a famous model of TW!!
I personally love her bott....XD

2009-04-28

Jaunty was released on 4-23-2009

Ubuntu 9.04 Jaunty was released on 4/23/2009.
Although I don't like this distro, I still have to install and evaluate it on my company's NB products...Orz

This release of Ubuntu implement the ext4 file system which was improved from previous ext3 fs type.

First, I have tasted the Ubuntu 9.04 Netbook Remix edition. This is the first formal release for Ubuntu distro which got a optimized system on netbook products. With a different kind of "desktop" interface which can be more useful with touch screen device such as MID.

Basically, Ubuntu have made the OS image for LPIA and/or netbook product, but they didn't formal announce it such as 9.04. I downloaded those non-announced image and installed it to give it a try. I have to say the truth that, those releases suck..damn..!! Very low performance and laggy response of the whole system, it's very terrible........

Now, finally 9.04 netbook remix with ext4 supported, it is just OK to use. Even I still see error messages of built-in Intel i915 / drm driver.



2009-03-25

Linux kernel 2.6.29 is released

Cool~!

On 2009-03-23 the Linux kernel 2.6.29 is out there~!
Let's find out how many cool stuffs' inside this release.

Message from Linus: click here.

For the changes in 2.6.29: click here.

BTW, I love this new logo - Tuz, it's cute.

2009-03-13

Code::Blocks IDE in openSUSE 11.1-build and install

Again, today I will try to build and install the Code::Blocks, an open source and free IDE for programming, in my own openSUSE 11.1 box...;-)

1. First, I need wxWidgets supported in my openSUSE 11.1 box. In a terminal console:

$
zypper search wxWidgets

I got some information about it as:
正在載入儲存庫資料...
正在讀取已安裝的套件...
S | 名稱 | 摘要 | 類型--+-----------------------+-------------------------------------------------------+-----------
| wxWidgets | C++ framework for cross-platform development | 套件
| wxWidgets | C++ framework for cross-platform development | srcpackage
| wxWidgets-compat | WxWidgets Compatibility Package | 套件
| wxWidgets-debuginfo | Debug information for package wxWidgets | 套件
| wxWidgets-debugsource | Debug sources for package wxWidgets | 套件
| wxWidgets-devel | Include files and libraries for wxWidgets development | 套件
| wxWidgets-docs | WxWidgets html documentations | 套件
| wxWidgets-gl | OpenGL add-on for wxWidgets | 套件
| wxWidgets-gl-compat | OpenGL add-on for wxWidgets | 套件
| wxWidgets-lang | Languages for package wxWidgets | 套件

So, I decided to install some packages:
$ sudo zypper install wxWidgets wxWidgets-compat wxWidgets-devel wxWidgets-lang

System will automatically check your box and tells you about how many new packages would be installed.
Just type your passwoed and hit 'y' to go.

2. Get Code::Blocks source code via SVN. (Or you may want to check this page first):
$ svn checkout svn://svn.berlios.de/codeblocks/trunk svn-trunk/

This will try to checkout the latest Code::Blocks source code trunk to the directory called "./svn-trunk/"
Revision of my code that checked out is 5483.

3. Just read the file inside your truck directory called "BUILD", and now I can build and install it:
$ cd svn-trunk/
$ ./bootstrap

Output message is:
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

$ ./configure --enable-contrib

Output message is a little bit weird but seems fine to go on......
I checked the help page of ./configure but there is no "--enable-contrib" option......:

...
...
configure: WARNING: unrecognized options: --enable-contrib
*************************************************
* Code::Blocks source tree has been configured. *
*************************************************
You can now build Code::Blocks by issuing 'make'.
When the build is complete, become root and install
it by issuing 'make install'.

Finally, we can:
$ make
$ sudo make install

All good to install and play with it...;-)