Category Archives: OS

Operating System – UNIX/Linux, Solaris

Android 4.0 for x86 – Install Android 4.0 using KVM in your Linux

Thanks to the project Android-x86, now Android 4.0 is able to run in our PC stably. Just installed Android 4.0 in my Fedora 18 Linux using KVM – it is stable and cool! This post shares some key points for … Continue reading

Posted in OS | Tagged , , , , | Leave a comment

relay – linux kernel relay filesystem

Relay (Relay filesystem) is a mechanisim used to transfer the data from the kernel space to the user space within the Linux OS. The advantage of relay comparing with other means like debugfs or proc is its ability to handle … Continue reading

Posted in OS, Programming | Tagged , , , , | Leave a comment

libmesa conflicts with Gnome 3 on Fedora 18 – run into black screen after libmesa update

A recent update on libmesa caused my Fedora 18 running into black screen during displaying the login screen. Note that Fedora 18 is using Gnome 3 as the default login desktop before you could switch to others, like my favorate … Continue reading

Posted in OS | Tagged , , , , | 2 Comments

Add a new syscall into Linux kernel – for fedora 18 with kernel 3.8.7

Adding a new syscall into Linux kernel would be tricky for the beginners (like myself), especially considering the kernel source tree structure changes among different versions. It seems most of the online tutorials focusing on older versions of kernel (2.6.X) … Continue reading

Posted in OS | Tagged , , , , | Leave a comment

Linux kernel linked list

This post gives a sample file used to play with Linux kernel linked list <linux/list.h>, as well as a makefile used to build this kernel module. lsmod, insmod, rmmod and dmesg are needed. The reference is the book “Operating System … Continue reading

Posted in OS | Tagged , , , | 2 Comments

Linux kernel compiling, updating and kernel module compiling, loading and removing

Brief intro to Linux kernel compiling and updating, as well as Linux kernel module compiling, loading and removing. The Linux kernel we are playing with is 3.8.4. 1. Linux kernel compiling and updating Ubuntu: sudo apt-get install wget sudo apt-get … Continue reading

Posted in OS | Tagged , , | Leave a comment

Linux File System / Data Recovery

Recently encountered a kernel panic issue caused by ‘fsck -y’ and reboot, which caused the partition table missing. Tried some tools to recovery the file system as well as the data. Generally, we should never run into data recovery as … Continue reading

Posted in OS | Tagged , , , , , , , , , | 2 Comments

RedHat 6 – Porting code to RH6

We are moving our product’s OS from RedHat 5 to 6, as well as new version of ‘gcc’ (4.X) along with RH6.  To port the existing code to RH6 with new compiler, there might be a lot of things we … Continue reading

Posted in OS, Programming, Stuff about Compiler | Tagged , , , | 1 Comment

IA 32 CPU architecture – NetBurst

Please kindly note that the picture below takes a great reference from the book ‘Professional Assembly Language’ by Richard Blum – which is a very practical book and my first book on assembly programming. The other very useful and important … Continue reading

Posted in OS, Programming | Tagged , , | Leave a comment

VirtualBox vs. VMwarePlayer

If you are using Windows XP and want to use certain virtual machine, no doubt, VirtualBox/VMwarePlayer should be your first 2 options. De facto, VirtualBox was my 1st choice as I once ran it on my Window XP with SP2 … Continue reading

Posted in OS | Tagged , | Leave a comment