How to install and use kdb ?

STEP 1: download two KDB patch from official website http://oss.sgi.com/projects/kdb/. After decompressing there are two files: kdb-v4.4-2.6.32-common-5, kdb-v4.4-2.6.32-ia64-5(my 8 cores machine is 64bit).

STEP 2: download kernel source from www.kernel.org and choose version 2.6.32.5.

STEP 3: decompress kernel source and copy above two patches to kernel source top tree.

STEP 4: Go to kernel source top tree and patch to kernel source.

 patch -p1 < kdb-v4.4-2.6.32-common-5

  patch -p1 < kdb-v4.4-2.6.32-ia64-5

STEP 5: configure kernel and compile it.

First,

make menuconfig


and then exit and choose YES without any modification to configuration. Now it create file .config in current dictionary.

Second, modify .config as following configuration.


作者: letmego163   发布时间: 2010-09-28