vmware-tools installation failure in Fedora 18?

If you are failing installing vmware-tools in Fedora 18 with the following message, it might be caused of the changes in Fedora 18 kernel-revel package. The path "" is not a valid path to the .... Here's the simple command that will resolve the issue. It also works for latest Fedora 17 issue. $ cp… Continue reading vmware-tools installation failure in Fedora 18?

Use colours in your Mac terminal

To use colours in your Mac terminal, you just need to put below in your ~/.bash_profile export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad export GREP_OPTIONS='--color=auto' alias ls='ls -GFh' For the vim, below would be work by put in ~/.vimrc set nocompatible " must be the first line set tabstop=4 shiftwidth=4 softtabstop=4 filetype on filetype indent on filetype plugin… Continue reading Use colours in your Mac terminal

Installing RHEV Hypervisor on VMWare Fusion

If you are interested in Red Hat Virtualization and couldn't afford to buy machines for the hypervisor, using VMWare would be one possible cheaper way to achieve it. By using nested virtualisation technology, you can easily build an environment. Only thing you need to before the installation is making some changes in the vmx file… Continue reading Installing RHEV Hypervisor on VMWare Fusion

Tracing a function with jprobes

One problem with kprobes is that you can't check validity of the arguments passed to the function you are monitoring. For that matter, jprobes comes in. It's basically make a wrapper for the existing function and will be called instead without make any changes to the existing function. jprobes is an extention to the kprobes… Continue reading Tracing a function with jprobes

How to build a module with source codes in separate directories.

If you want to use separate directories for source files and target modules, you can use below scheme. mod_main.c #include #include MODULE_LICENSE("GPL"); static int __init mod_entry(void) { return 0; } static void __exit mod_exit(void) { return; } module_init(mod_entry); module_exit(mod_exit); sub_mod.c #include #include int sub_func(int i) { printk("Hello %d", i); return 0; } EXPORT_SYMBOL(sub_func); http://pagead2.googlesyndication.com/pagead/show_ads.js Makefile… Continue reading How to build a module with source codes in separate directories.

How to debug an application

If you want to debug an application that is shipped with the fedora, you can use the following command. [root@localhost ~]# debuginfo-install gedit-3.4.2-1.fc17.x86_64 Loaded plugins: langpacks, presto, refresh-packagekit enabling fedora-debuginfo enabling updates-debuginfo --> Running transaction check ---> Package atk-debuginfo.x86_64 0:2.4.0-1.fc17 will be installed ---> Package cairo-debuginfo.x86_64 0:1.10.2-7.fc17 will be installed ---> Package enchant-debuginfo.x86_64 1:1.6.0-4.fc17 will… Continue reading How to debug an application