Kernel debugging(kgdb) for Ubuntu 8.10 with kernel 2.6.27
Hi All
i've ubuntu8.10 kernel 2.6.27 installed in my system. I've to debug the kernel using kgdb, for that i searched on net and found that kgdb is avaliaible only for 2.6.15 kernel source. so i downloaded 2.6.15 kernel source and did everything to compile it (i used the config file from the kernel installed in my machine having kernel 2.6.27)but in the compilatoin it is giving me the error: include/asm/mpspec_def.h:78: warning: packed attribute ignored for field of type unsigned char[6] arch/i386/kernel/apic.c: In function smp_apic_timer_interrupt: arch/i386/kernel/apic.c:1136: sorry, unimplemented: inlining failed in call to smp_local_timer_interrupt: function body not available arch/i386/kernel/apic.c:1205: sorry, unimplemented: called from here make[1]: *** [arch/i386/kernel/apic.o] Error 1 make: *** [arch/i386/kernel] Error 2 Please suggest me how should i proceed for kernel debugging Thanks Ankush |
2.6.27?
Hi there,
I have been experimenting with KGDB for some time now, trying to get it to work. Still, I have had somewhat limited success. KGDB was included in the mainline vanilla kernel for kernels 2.6.27 and after. So, it should already be in the kernel source for your Ubuntu release. Make sure you have the kernel source that came with Ubuntu installed, then run a Code:
make menuconfig Code:
kernel hacking |
All times are GMT -5. The time now is 04:29 PM. |