Monthly Archives: February 2016

Upgrade to kernel-4.4.1 on CentOS 7

After I compiled and installed kernel-4.4.1 (from on my CentOS 7, I reboot the machine. But it can’t boot up correctly. Using

to extract the content in initramfs and check them, I found out the ‘mpt2sas’ kernel driver had not been added into initramfs so /boot partition could… Read more »

The importance of Declaration in c language

Let’s create two c language files,

and compile & link them:

But after run “./test”, the result is

Why the result from myNumber() become different in main() function? Let’s see the assembly language source of test.c (gcc -S test.c)

It only get the 32-bits result… Read more »