hi, ***KERNEL DEBUGGING i am trying to remote step-by-step debug my kernel using gdb but havent got any pointers/tutorials. I have kernel 2.4.20-8 as HOST and kernel 2.6.1 as TARGET. Basically i know nothing about how to setting up the 2 systems for it. I want both the KGDB and KDB way for doing it.
***COMPILING MODULE IN 2.6.1 I recently compiled 2.6.1 from source and its working fine( except a few glitches ). I am unable to compile my modules.
$gcc -Wall -O2 -D__KERNEL__ -DMODULE -I/usr/src/linux-2.6.1/include -c module_name.c
i get errors on 'module.h' and many other files. I have the all minimal required tools( since i compiled 2.6.1 ) i.e. gcc and module-init-tools etc... All the above modules compiled well for 2.4.20-8. Even a simple module just having a printk() doesnt get compiled.
I even set up a link for asm but still the same. $cd /usr/src/linux-2.6.1/include $ln -s asm-i386 asm
Kindly help!!!
===== Linux Kernel Consultant Tel : 91-22-2754-6453/4226
__________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html