All of lore.kernel.org
 help / color / mirror / Atom feed
* Novell Linux Kernel Debugger (NLKD)
@ 2005-06-23 22:54 Clyde Griffin
  2005-06-23 21:14 ` Parag Warudkar
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Clyde Griffin @ 2005-06-23 22:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Clyde Griffin, Jan Beulich


Novell engineering is introducing the Novell Linux Kernel Debugger (NLKD) as an open source project intended to provide an enhanced and robust debugging experience for Linux kernel developers. 

The project (nlkd) at http://forge.novell.com/modules/xfmod/project/?nlkd currently has code patches to SUSE Linux Enterprise Server v9 SP1 and SP2, which when applied allow kernel developers to recompile the Linux kernel exposing the functionality provided by NLKD.  

Patches against the mainline will be forthcoming after community feedback.

At this point the intent of this project is to gather comments and suggestions on how to improve NLKD and make it possible for NLKD to be included as a native (mainline) kernel debugger for Linux.  Novell engineering will be actively involved in reviewing comments regarding NLKD and submitting and receiving patches for the support of NLKD.
 
NLKD provides an architecture for supporting a stable debugging experience as well as debug agents supporting local and remote debugging.  NLKD's Console Debug Agent (CDA) supports on-box kernel debugging and is extremely rich in functionality and easy to use.  The Remote Debug Agent (RDA) supports remote source level debugging via gdbtransport to your favorite gdb based client.  Both agents benefit from the Core Debug Engine (CDE), which provides the state machine logic supporting the debug agents.

A detailed description of the architecture will be presented in a paper titled "The Novell Linux Kernel Debugger, NLKD" at the Ottawa Linux Symposium July 20-23, 2005.

NLKD provides debugging capabilities that will be a benefit to the whole development community and we invite developers interested in using NLKD to download the patches, provide feedback, and benefit from the use of this great tool.

Developers interested in commenting on, contributing to, testing, documenting, and improving NLKD should subscribe to the nlkd-dev mailing list at http://forge.novell.com/modules/xfmod/project/?nlkd and post to nlkd-dev@forge.novell.com.




^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Novell Linux Kernel Debugger (NLKD)
@ 2005-06-24  6:29 Jan Beulich
  0 siblings, 0 replies; 27+ messages in thread
From: Jan Beulich @ 2005-06-24  6:29 UTC (permalink / raw)
  To: Keith Owens; +Cc: Clyde Griffin, linux-kernel

>>> Keith Owens <kaos@sgi.com> 24.06.05 04:15:19 >>>
>On Thu, 23 Jun 2005 16:54:09 -0600, 
>"Clyde Griffin" <CGRIFFIN@novell.com> wrote:
>>
>>Novell engineering is introducing the Novell Linux Kernel Debugger
>>(NLKD) as an open source project intended to provide an enhanced and
>>robust debugging experience for Linux kernel developers.

>Hmm, no backtrace,

That's certainly wrong: for x86 it uses .eh_frame info, for ia64 it would use the native one.

>turns off kprobes,

A temporary measure; enabling this again is on the todo list.

>does not handle ia64 MCA/INIT.

It doesn't handle ia64 at all at present; the code in there is yet-to-be-ported code. Only x86{,-64} has been dealt with so far.

>And don't get me started about the trailing white space in the patch.

While I wasn't aware of any (and honestly, I hate discovering such, too), that is certainly the easiest thing to take care of.

>I'll stick with KDB for now.

Your choice, obviously.

Jan



^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Novell Linux Kernel Debugger (NLKD)
@ 2005-06-24  7:38 Jan Beulich
  2005-06-24  6:44 ` jmerkey
  2005-06-24  8:26 ` Keith Owens
  0 siblings, 2 replies; 27+ messages in thread
From: Jan Beulich @ 2005-06-24  7:38 UTC (permalink / raw)
  To: jmerkey; +Cc: Christoph Lameter, Clyde Griffin, John W. Linville, linux-kernel

>1. No back trace

You're the second one to mention this, and I wonder where you take this from.

>2. Doesn't run standalone fully embeded in the kernel

What do you mean with 'fully embedded'? As long as the agents aren't compiled as modules, everything's right in the kernel (of course, not the mainline one, but that's same as for kdb and kgdb).

>3. Not fully open source (since it's not embeded in the kernel)

What has embedding things in the kernel to do with being open source?

>5. No advanced recursive descent parser for conditional breakpoints

Where've you seen this? What functionality does the parser miss?

Jan


^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: Novell Linux Kernel Debugger (NLKD)
@ 2005-06-24 18:03 Clyde Griffin
  0 siblings, 0 replies; 27+ messages in thread
From: Clyde Griffin @ 2005-06-24 18:03 UTC (permalink / raw)
  To: kernel-stuff; +Cc: linux-kernel


>>>> Parag Warudkar <kernel-stuff@comcast.net> 6/23/2005 3:14:26 PM >>>
>On Thursday 23 June 2005 18:54, Clyde Griffin wrote:
>> At this point the intent of this project is to gather comments and
>> suggestions on how to improve NLKD and make it possible for NLKD to be
>> included as a native (mainline) kernel debugger for Linux.  Novell
>> engineering will be actively involved in reviewing comments regarding NLKD
>> and submitting and receiving patches for the support of NLKD.
>
>Does / Will it support remote debugging over firewire ports? I think this 
>would  be a great opportunity to get rid of the serial port requirement for 
>debugging.

NLKD's architecture supports pluggable remote agents that talk directly
to hardware.  For remote debugging we currently we only have support 
for the serial port, but supporting other device types should be
fairly straightforward and doing so is on the todo list.

The main effort it is in writing the driver which must operate outside 
kernel context.  As we start to see support for additional hardware in remote 
debug agents we may spend the time to further abstract the remote 
debug protocol stack support away from the hardware driver.  

This architecture will be explained in our OLS paper.

In the mean time someone could simply take the RDA serial port code
and replace it with support for other hardware (NIC or whatever) and get 
the desired results.  

Again this sort of thing is on our todo list and we would really appreciate 
help from persons familiar with writing drivers for various device types 
to help jump start this.

Clyde

>
>Parag



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-06-27 18:14 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-23 22:54 Novell Linux Kernel Debugger (NLKD) Clyde Griffin
2005-06-23 21:14 ` Parag Warudkar
2005-06-23 23:43 ` Greg KH
2005-06-24  0:24 ` Christoph Lameter
2005-06-24  0:35   ` John W. Linville
2005-06-24  0:17     ` jmerkey
2005-06-24  1:56       ` Rik Van Riel
2005-06-24  0:31         ` jmerkey
2005-06-24  6:21       ` Jan Beulich
2005-06-24  4:59         ` jmerkey
2005-06-24 11:50           ` Chris Mason
2005-06-24 15:55             ` jmerkey
2005-06-24 18:16               ` Chris Mason
2005-06-24 17:15                 ` jmerkey
2005-06-24 19:29         ` Lee Revell
2005-06-24 19:49           ` Christoph Lameter
2005-06-24  0:46     ` Christoph Lameter
2005-06-24  1:36 ` Rik Van Riel
2005-06-24  2:15 ` Keith Owens
2005-06-27 18:14 ` Pavel Machek
2005-06-24  6:29 Jan Beulich
2005-06-24  7:38 Jan Beulich
2005-06-24  6:44 ` jmerkey
2005-06-24  8:26 ` Keith Owens
2005-06-24 12:02   ` Rik Van Riel
2005-06-27  6:46     ` Jan Beulich
2005-06-24 18:03 Clyde Griffin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.