Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-31-2005, 11:36 AM   #1
Registered: Aug 2004
Posts: 76

Rep: Reputation: 15
Kernel Linux Debugging

Kernel Linux Debugging

Does anybody have experience of Linux Debugging? What methods and utilities did you use?
Would you please share your experience?

Thanks in advance
Old 09-02-2005, 01:46 AM   #2
Registered: Jul 2003
Location: bangalore . india
Distribution: openSUSE 10.3
Posts: 251

Rep: Reputation: 33
for kernel debugging...there are various tools...patches available..
1 : kgdb is one..which requires the kernel to be compiled with -g option and having the kgdb patch applied to the kernel..but kgdb requires a null modem and two machines..
2:there is kdb that doesnt require any extra machine ..but patches the kernel..requires a bit of understanding of assembly ..
3: there are toolkits like linux trace toolkit,
4: 2.6 series has kprobes..that can be used to insert prints in a running kernel..
5: also, you can see the kernel hacking subsection of the kernel configuration to configure the kernel to have certain features turned on to enable debugging or SLAB_DEBUG to perform slab allocation debugging..
these are some of the things ...
Old 09-05-2005, 03:10 PM   #3
Registered: Aug 2004
Posts: 76

Original Poster
Rep: Reputation: 15
Hi guys
I know about these utilities.
I need a good GUIDES and HOWTOS how to use them.
Step by step instructions like, for example, compiling kernel
Has anybody experience of debugging kernel using these utilities?
Any body can give me these instructions
Using the following utilities and techniques
The main ones:

and also

Any experience sharing, links, info etc are appreciated
Thank you in advance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging Linux Kernel Module with kdb Igor007 Programming 1 10-28-2005 02:21 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 11:33 AM
Linux kernel debugging and Linux kernel module programming Igor007 Programming 2 08-13-2005 06:12 AM
Linux kernel debugging and Linux kernel module programming Igor007 Linux - Enterprise 3 08-12-2005 03:47 PM
kernel debugging - can't boot? andrewlkho Linux - General 4 05-31-2004 05:46 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration