* module (kernel) debugging
@ 2002-03-21 22:15 Hari Gadi
2002-03-21 22:58 ` Alan Cox
2002-03-22 0:08 ` William Lee Irwin III
0 siblings, 2 replies; 13+ messages in thread
From: Hari Gadi @ 2002-03-21 22:15 UTC (permalink / raw)
To: linux-kernel
Hi,
I am new to kernel level development. What are the best ways to debug runtime kernel (module).
Are there any third party tools for debugging the kernel.
thanks,
Hari.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 22:15 module (kernel) debugging Hari Gadi
@ 2002-03-21 22:58 ` Alan Cox
2002-03-21 23:30 ` Jeff V. Merkey
2002-03-21 23:46 ` Olaf Dietsche
2002-03-22 0:08 ` William Lee Irwin III
1 sibling, 2 replies; 13+ messages in thread
From: Alan Cox @ 2002-03-21 22:58 UTC (permalink / raw)
To: Hari Gadi; +Cc: linux-kernel
> I am new to kernel level development. What are the best ways to debug runtime
> kernel (module).
Your brain 8)
> Are there any third party tools for debugging the kernel.
Several
kgdb - debug the kernel with gdb from another PC
kdb - patch for in kernel debugger
UML - user mode linux (good for fs not so good for driver
work)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 22:58 ` Alan Cox
@ 2002-03-21 23:30 ` Jeff V. Merkey
2002-03-21 23:29 ` Christoph Hellwig
2002-03-21 23:46 ` Olaf Dietsche
1 sibling, 1 reply; 13+ messages in thread
From: Jeff V. Merkey @ 2002-03-21 23:30 UTC (permalink / raw)
To: Alan Cox; +Cc: Hari Gadi, linux-kernel
One more:
MDB - source level kernel debugger.
:-)
Jeff
On Thu, Mar 21, 2002 at 10:58:26PM +0000, Alan Cox wrote:
> > I am new to kernel level development. What are the best ways to debug runtime
> > kernel (module).
>
> Your brain 8)
>
> > Are there any third party tools for debugging the kernel.
>
> Several
>
> kgdb - debug the kernel with gdb from another PC
> kdb - patch for in kernel debugger
> UML - user mode linux (good for fs not so good for driver
> work)
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 23:30 ` Jeff V. Merkey
@ 2002-03-21 23:29 ` Christoph Hellwig
2002-03-22 0:33 ` Jeff V. Merkey
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Christoph Hellwig @ 2002-03-21 23:29 UTC (permalink / raw)
To: Jeff V. Merkey; +Cc: Alan Cox, Hari Gadi, linux-kernel
On Thu, Mar 21, 2002 at 04:30:15PM -0700, Jeff V. Merkey wrote:
>
> One more:
>
> MDB - source level kernel debugger.
Where?
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: module (kernel) debugging
2002-03-21 23:29 ` Christoph Hellwig
@ 2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:40 ` Jeff V. Merkey
2 siblings, 0 replies; 13+ messages in thread
From: Jeff V. Merkey @ 2002-03-22 0:33 UTC (permalink / raw)
To: Christoph Hellwig, Alan Cox, Hari Gadi, linux-kernel
On Thu, Mar 21, 2002 at 11:29:55PM +0000, Christoph Hellwig wrote:
> On Thu, Mar 21, 2002 at 04:30:15PM -0700, Jeff V. Merkey wrote:
> >
> > One more:
> >
> > MDB - source level kernel debugger.
>
> Where?
www.kdebug.com. They are still setting up the website and docs. I
completed the debugger a few weeks ago. I have been working on
it for several months now. If you want a copy to play
with, I can send after I ask permission. I do not own it and was
hired to write it as a work for hire, so it's not open source, it's
a commercial product for Linux.
:-)
Jeff
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 23:29 ` Christoph Hellwig
2002-03-22 0:33 ` Jeff V. Merkey
@ 2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:40 ` Jeff V. Merkey
2 siblings, 0 replies; 13+ messages in thread
From: Jeff V. Merkey @ 2002-03-22 0:33 UTC (permalink / raw)
To: Christoph Hellwig, Alan Cox, Hari Gadi, linux-kernel
On Thu, Mar 21, 2002 at 11:29:55PM +0000, Christoph Hellwig wrote:
> On Thu, Mar 21, 2002 at 04:30:15PM -0700, Jeff V. Merkey wrote:
> >
> > One more:
> >
> > MDB - source level kernel debugger.
>
> Where?
www.kdebug.com. They are still setting up the website and docs. I
completed the debugger a few weeks ago. I have been working on
it for several months now. If you want a copy to play
with, I can send after I ask permission. I do not own it and was
hired to write it as a work for hire, so it's not open source, it's
a commercial product for Linux.
:-)
Jeff
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 23:29 ` Christoph Hellwig
2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:33 ` Jeff V. Merkey
@ 2002-03-22 0:40 ` Jeff V. Merkey
2 siblings, 0 replies; 13+ messages in thread
From: Jeff V. Merkey @ 2002-03-22 0:40 UTC (permalink / raw)
To: Christoph Hellwig, Alan Cox, Hari Gadi, linux-kernel
On Thu, Mar 21, 2002 at 11:29:55PM +0000, Christoph Hellwig wrote:
> On Thu, Mar 21, 2002 at 04:30:15PM -0700, Jeff V. Merkey wrote:
> >
> > One more:
> >
> > MDB - source level kernel debugger.
>
> Where?
www.kdebug.com. They are still putting up the website and docs,
but it should go up soon. It was written as a work for hire. I do
not own it, but I did write it. I was hired to write it and
have been working on it for several months. It's commercial
quality kernel debugger for Linux.
I will ask them when they will have the site up. From what I
understand, they will be distributing the base version from
the website at no charge, and charging for the SLD extensions.
:-)
Jeff
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 22:58 ` Alan Cox
2002-03-21 23:30 ` Jeff V. Merkey
@ 2002-03-21 23:46 ` Olaf Dietsche
1 sibling, 0 replies; 13+ messages in thread
From: Olaf Dietsche @ 2002-03-21 23:46 UTC (permalink / raw)
To: Hari Gadi; +Cc: Alan Cox, linux-kernel
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
>> I am new to kernel level development. What are the best ways to debug runtime
>> kernel (module).
>
> Your brain 8)
I can confirm this :-).
>> Are there any third party tools for debugging the kernel.
A _first_ party tool, which comes to my mind is:
printk(KERN_DEBUG "whatever\n");
The advantage with printk() is, others can test and debug your module
as well and report results to you.
Regards, Olaf.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: module (kernel) debugging
2002-03-21 22:15 module (kernel) debugging Hari Gadi
2002-03-21 22:58 ` Alan Cox
@ 2002-03-22 0:08 ` William Lee Irwin III
2002-03-22 6:36 ` Amit S. Kale
1 sibling, 1 reply; 13+ messages in thread
From: William Lee Irwin III @ 2002-03-22 0:08 UTC (permalink / raw)
To: Hari Gadi; +Cc: linux-kernel
On Thu, Mar 21, 2002 at 05:15:48PM -0500, Hari Gadi wrote:
> Hi,
> I am new to kernel level development. What are the best ways to debug
> runtime kernel (module). Are there any third party tools for debugging
> the kernel.
http://www.arium.com
http://oss.sgi.com/projects/kdb
http://oss.sgi.com/projects/kgdb
http://lkcd.sourceforge.net
http://bochs.sourceforge.net
... and other simulators with debugging support.
Cheers,
Bill
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <AF2378CBE7016247BC0FD5261F1EEB210B6A93@EXCHANGE01.domain.ecutel.com.suse.lists.linux.kernel>]
* module (kernel) debugging
@ 2002-03-25 6:48 Rick A. Hohensee
0 siblings, 0 replies; 13+ messages in thread
From: Rick A. Hohensee @ 2002-03-25 6:48 UTC (permalink / raw)
To: linux-kernel
Hohensee's 3-ring Linux
Linux with a 3-stack Forth-like interpreter in kernelspace on vt 1.
That and a System.map is HOURS of fun.
ftp://linux01.gwdg.de/pub/cLIeNUX/interim/ABOUT
Rick Hohenseea
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2002-03-25 6:48 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 22:15 module (kernel) debugging Hari Gadi
2002-03-21 22:58 ` Alan Cox
2002-03-21 23:30 ` Jeff V. Merkey
2002-03-21 23:29 ` Christoph Hellwig
2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:33 ` Jeff V. Merkey
2002-03-22 0:40 ` Jeff V. Merkey
2002-03-21 23:46 ` Olaf Dietsche
2002-03-22 0:08 ` William Lee Irwin III
2002-03-22 6:36 ` Amit S. Kale
2002-03-22 6:54 ` Andrew Morton
[not found] <AF2378CBE7016247BC0FD5261F1EEB210B6A93@EXCHANGE01.domain.ecutel.com.suse.lists.linux.kernel>
[not found] ` <E16oBVq-0006Z6-00@the-village.bc.nu.suse.lists.linux.kernel>
2002-03-22 1:26 ` Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2002-03-25 6:48 Rick A. Hohensee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox