lkcd
[Top] [All Lists]

Re: LKCD + KDB ?

To: "Schaal, Richard" <richard.schaal@xxxxxxxxx>
Subject: Re: LKCD + KDB ?
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2001 17:58:58 -0700
Cc: "'Matt D. Robinson'" <yakker@xxxxxxxxxxx>, "'lkcd@xxxxxxxxxxx'" <lkcd@xxxxxxxxxxx>
Organization: Alacritech, Inc.
References: <68843F808BE5D311AC6100A0C9C57866484882@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
"Schaal, Richard" wrote:
> 
> Hi Matt,
> 
> I picked up the current CVS tree from Sourceforge.
> 
> In the 2.4 tree, I find several files that would appear to come from the
> linux kernel
> that have modifications in them.  If I wanted to derive a kernel patch that
> I could use to apply to
> an arbitrary kernel, which kernel version would I use as a base to diff
> against?

2.4.8 for now.  The best thing is to 'cvs update', and then extract
two versions of 2.4.8 into some directory.  Then do something like:

xpath="/my/patched/2.4.8/tree"
cd /my/lkcd/cvs/tree/2.4
for file in `find ./[D-k]* -type f -print | grep -v CVS` ; do path=`echo $file
| sed 's/\(.*\)\/\(.*\)$/\1/'`; cp $file $xpath/$path ; done

This does a copy of all the files in the 2.4 tree on top of the files in
your new 2.4.8 tree.  Then a simple 'diff -Naur orig248 new248' gives you
an LKCD diff.
 
> I'm having some issues with MP system dumping - I'm getting some Oops type
> issues in the
> ext2 file system in a stress test - the system tries to dump, but then
> multiple processors get watchdog timeouts
> and hose the dump - I'm hoping that the later code from the CVS tree will
> begin to address this issue so I can
> get to work on the "real" problem.

I'm fixing an issue with SMP right now.  Suparna hasn't said much
except "hmmm", but I should be able to move the sti() call in
dump_silence_system() in front of the __dump_silence_system() call
to re-enable the interrupts.

I'm not sure the watchdog timeouts are the same.  Can you mail me
the stress test/configuration you're using?

> Kudos for the nifty "roll your own" functions for analysis of the dump file!
> I've managed to
> hack together a short function to work on the structures I build up with my
> debug code.  Very slick capability!

Thanks to Luc, he worked pretty hard on libsial.  Thanks to everyone
working on LKCD, for that matter. :)

> Thanks,
> Richard

--Matt

<Prev in Thread] Current Thread [Next in Thread>