Re: The case for a standard kernel debugger

2000-10-09 Thread richardj_moore
>Hence, yes I can provide an interface from the kernel to log a trace event >with a variable length buffer, but I don't think that taking away the statically >defined trace points is the right thing to do. (I might have gotten this >completely wrong, though ... My presumption about your suggest

Re: The case for a standard kernel debugger

2000-10-09 Thread Karim Yaghmour
are.ibm.com/developerworks/opensource/linux > Office: (+44) (0)1962-817072, Mobile: (+44) (0)7768-298183 > IBM UK Ltd, MP135 Galileo Centre, Hursley Park, Winchester, SO21 2JN, UK > > Karim Yaghmour <[EMAIL PROTECTED]> on 06/10/2000 09:16:12 > > Please respond to Kari

Re: The case for a standard kernel debugger

2000-10-06 Thread Karim Yaghmour
Thought I'd let you know that I will reply to your suggestions (which are quite interesting by the way) ... but I need to catch up some sleep as it's close to 7AM here in Montreal and my brains are failing ... ;) === Karim Yaghmour

Re: The case for a standard kernel debugger

2000-10-06 Thread richardj_moore
mour <[EMAIL PROTECTED]> To: Richard J Moore/UK/IBM@IBMGB cc: [EMAIL PROTECTED] Subject: Re: The case for a standard kernel debugger Hello Richard, Part of your analysis is correct. The hooks were designed to take care of static tracepoints only. That said, dynamic allocation o

Re: The case for a standard kernel debugger

2000-10-06 Thread Karim Yaghmour
Hello Richard, Part of your analysis is correct. The hooks were designed to take care of static tracepoints only. That said, dynamic allocation of event IDs was next on my list and the hooking mechanism would have been modified consequently. As for "multiple exits registered per hook", if you m

Re: The case for a standard kernel debugger

2000-10-06 Thread richardj_moore
Yes, we looked at that and it didn't seem to provide the generality we needed - multipe exits registered per hook, ability to arm a set of hooks atomically, ability to prioritise dispatching order of a hook exit, MP complient. I may be wrong but the Linux Trace Toolkit hooks like like they were

Re: The case for a standard kernel debugger

2000-10-05 Thread Karim Yaghmour
[EMAIL PROTECTED] wrote: > One big argument against RAS of any sort is that it bloats the kernel and > not every one wants it (until they have a problem). A further argument with > Linux is that you may have to do quite a bit of hard work to get the subset > of RAS you need to co-exist, if it exis

RE: The case for a standard kernel debugger

2000-09-15 Thread Howell, David P
Rich describes would do to improve fault isolation and resolution. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 15, 2000 5:43 AM To: Keith Owens Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: The case for a standard kernel debugger I

Re: The case for a standard kernel debugger

2000-09-15 Thread richardj_moore
I think the case for the kernel debugger is better stated as the case for RAS (Reliability, Serviceability and Availability) in the kernel, in other words, there is a case for having the right diagnostic, reporting and recovery tools in the right place at the right time. A kdb does not fulfil

Re: The case for a standard kernel debugger

2000-09-14 Thread Jeff V. Merkey
"TRG hereby offers to SGI Corporation exclusive, unlimimited, perpetual, transferable, licensee rights to the Linux port of the MANOS debugger and upon TRG posting this debugger code to the Linux community, agrees to grant to SGI the rights to maintain and create derivative works from the MANOS D

Re: The case for a standard kernel debugger

2000-09-14 Thread Jeff V. Merkey
I think he did already Keith -- he said he would reject any kernel debugger submissions. :-) Jeff Keith Owens wrote: > > Various people have replied to my note on "The case for a standard > kernel debugger" discussing whether or not it is a good idea. However > only one person's reply matter

Re: The case for a standard kernel debugger

2000-09-14 Thread Jeff V. Merkey
I am porting the MANOS debugger to Linux. No changes here. Linus will reject it for the tree, but the offer for SGI and Keith Owens to take it over and merge it with his kdb effort is also genuine. :-) Jeff Daniel Phillips wrote: > > Marco Colombo wrote: > > BTW, a kernel debugger *is* avai

RE: The case for a standard kernel debugger

2000-09-14 Thread Howell, David P
e are consequences, it would be difficult to live without one. -Original Message- From: Jeff V. Merkey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 5:57 PM To: Keith Owens Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: The case for a standard kernel debugger

Re: The case for a standard kernel debugger

2000-09-14 Thread Daniel Phillips
Andi Kleen wrote: > > On Thu, Sep 14, 2000 at 02:21:44PM +0200, Daniel Phillips wrote: > > The hardest problem: how do you do the block read? Possibilities: > > > > - Ignore the problem, use normal block device I/O > > - Use the real mode bios, needs V86 support > > And it requires a sync b

Re: The case for a standard kernel debugger

2000-09-14 Thread Andi Kleen
On Thu, Sep 14, 2000 at 02:21:44PM +0200, Daniel Phillips wrote: > The hardest problem: how do you do the block read? Possibilities: > > - Ignore the problem, use normal block device I/O > - Use the real mode bios, needs V86 support And it requires a sync before every possible crash to ensu

Re: The case for a standard kernel debugger

2000-09-14 Thread Daniel Phillips
Marco Colombo wrote: > BTW, a kernel debugger *is* available. And maybe even a more powerful > one will be if Jeff decides to port and publicly release it. One that subject, I would *love* to take the time to see how small a subset of Ext2 I could write to have a (mostly) non-invasive source code

Re: The case for a standard kernel debugger

2000-09-14 Thread Marco Colombo
On Thu, 14 Sep 2000, Frederic Magniette wrote: [...] > In that way, I think that a kernel debugger could be a powerful coding > tool and not only a patching tool as you say. I don't have enough background to judge on the merits of a kernel debugger. I simply trust Linus' feelings on the matter.

Re: The case for a standard kernel debugger

2000-09-14 Thread Keith Owens
Various people have replied to my note on "The case for a standard kernel debugger" discussing whether or not it is a good idea. However only one person's reply matters here - Linus. I ask other people to refrain from replying to this thread until Linus has had a chance to read my note and (if h

Re: The case for a standard kernel debugger

2000-09-14 Thread Andrew Morton
Frederic Magniette wrote: > > This can be really awful if your code is called very often and then saturate the > logs. One trick you can pull is: if (current->uid == ) printk(stuff); and then exercise the offending code path as user . It works for some things.

Re: The case for a standard kernel debugger

2000-09-14 Thread Frederic Magniette
Marco Colombo wrote: > > > 2) apply tight filters on what people produce (patches, features) not on >how they produce. If Linus is right (and in the end I believe it), >'debugger people' will produce low quality patches (the ones that fix >the syntoms not the problems), and those patc

Re: The case for a standard kernel debugger

2000-09-14 Thread Marco Colombo
On Wed, 13 Sep 2000, Timur Tabi wrote: > ** Reply to message from Keith Owens <[EMAIL PROTECTED]> on Thu, 14 Sep 2000 > 08:49:50 +1100 > > > > (5) Easier for kernel beginners to learn the kernel internals. Having > > worked on 10+ operating systems over the years, I can testify that > >

Re: The case for a standard kernel debugger

2000-09-13 Thread Timur Tabi
** Reply to message from Keith Owens <[EMAIL PROTECTED]> on Thu, 14 Sep 2000 08:49:50 +1100 > (5) Easier for kernel beginners to learn the kernel internals. Having > worked on 10+ operating systems over the years, I can testify that > some form of kernel/OS tracing facility is extremely

Re: The case for a standard kernel debugger

2000-09-13 Thread Jeff V. Merkey
Amen Brother Jeff Keith Owens wrote: > > Resend, this time with cc: torvalds. > > This note puts the case for including a kernel debugger in the master > tarballs. These points do not only apply to kdb, they apply to any > kernel debugger. Comments about the perceived deficiencies of kd