Re: [PATCH] To stop lusers from posting un-ksymoops'ed oopsen :)

Pavel Machek (pavel@bug.ucw.cz)
Sat, 2 Jan 1999 22:59:18 +0100


Hi!

> o Informative first line to oops dumps.

Unfortunately, it adds one line to oops report. Which is fatal error
on my 386 scratch-monkey, because one more line on 25 lines screen
usually mean important information scrolled away. This might be better
(NT).

--- fault.c~ Fri Nov 27 13:02:32 1998
+++ fault.c Sat Jan 2 22:58:23 1999
@@ -263,6 +264,6 @@
page = ((unsigned long *) __va(page))[address >> PAGE_SHIFT];
printk(KERN_ALERT "*pte = %08lx\n", page);
}
- die("Oops", regs, error_code);
+ die("Oops (see Documenation/oops-tracing.txt)", regs, error_code);
do_exit(SIGKILL);

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/