debug_kernel
I had asked for steps to build a debug kernel.
Please anyone can give me detailed step by step procedure.Please don skip even a simple step. I am not finding any document in google. I am new to Linux-kernel.Please help.I am using CentOS 5. Kernel 2.6.18-94. Thanks -Nakul |
Google found this. Have a look around the wiki, and learn to search better - it's a valuable skill.
If you are using a non-CentOS kernel, you presumably already have the (modified) source tree and config. No-one can help you there. |
@syg00 : I am running Cent OS 5 .7 inside vmware and i have a latest snapshot. I am understanding the RAID1 in linux. I am planning to add printk's in the code and perform RAID operation on my scsi disks and in /var/log/messages my printk's appear so that i can understand the code-flow easily. So i have downloaded the source from www.kernel.org in /usr/src.
I need steps to do the following compile, install, and boot into that kernel. |
Why you want to debug kernel? If the purpose is learning then you can setup a qemu machine and use gdb to debug the kernel normally like you use gdb on userspace processes. however, if you want to debug for some other purpose, I say you setup a kgdb machine. I can assist you in doing either. Just drop a message or visit my forum kernel-demystified.com/forum
-Deepak |
All times are GMT -5. The time now is 11:44 PM. |