Messages in this thread Patches in this message | | | Date | Fri, 1 Jan 1999 19:06:34 -0700 (MST) | From | Chris Noe <> | Subject | Re: [PATCH] To stop lusers from posting un-ksymoops'ed oopsen :) |
| |
On Thu, 31 Dec 1998, Gregory Maxwell wrote:
> That sound good.
Roger that. And I killed the comment, it was originally just a 'local tree' kinda thing -- I really meant to get rid of it before I sent it :)
Patch attached.
o Adds a QuickStart to oops-tracing.txt o Informative first line to oops dumps.
Linus, While we're on the topic of oopsen, I have to ask about ksymoops. Is the C++ version going to remain in the kernel, or ...
<hint> Is Keith Owens' <kaos@ocs.com.au> new version going to be magically included in 2.2? </hint>
Having to keep g++ around just to compile ksymoops is a bummer, and Keith's new C version has a bunch of nifty (read: needed) features. Works wonderfully here.
Latest version is at <ftp://ftp.ocs.com.au/pub/ksymoops.tar.gz>.
Chris Noe (stiker@northlink.com)
-- --------------------------------------------------------- #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) ---- http://online.offshore.com.ai/arms-trafficker/ -----
--- linux/arch/i386/mm/fault.c.orig Sat Aug 1 17:39:41 1998 +++ linux/arch/i386/mm/fault.c Sat Aug 1 17:39:50 1998 @@ -218,6 +218,10 @@ return; } + printk(KERN_ALERT "Please read linux/Documentation/oops-tracing.txt!\n"); + if (address < PAGE_SIZE) printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); else --- linux/Documentation/oops-tracing.txt 1999/01/01 07:45:27 1.1 +++ linux/Documentation/oops-tracing.txt 1999/01/01 07:48:39 1.2 @@ -1,3 +1,20 @@ +From: MOLNAR Ingo <mingo@chiara.csoma.elte.hu> +----------------> +QuickStart: If you simply want to report an oops, just do: + + cd /usr/src/linux/scripts + g++ -o ksymoops ksymoops.cc + ./ksymoops ../System.map < the_oops.txt + +And send the output to linux-kernel@vger.rutgers.edu, with a small +description how this happened. (but send it even if you know nothing about +it, it might help us to find very rare bugs only happening on your +system!) + +The remaining part of this document tells you what to do if you want to do +some debugging yourself: +<--------------- + From: Linus Torvalds <torvalds@cs.helsinki.fi> How to track down an Oops.. [originally a mail to linux-kernel]
| |