Re: SMP Instability - patch to oops code - "Use ksymoops"

David Woodhouse (dwmw2@cam.ac.uk)
Thu, 06 Nov 1997 22:44:30 +0000


This is a multipart MIME message.

--==_Exmh_-8106965840
Content-Type: text/plain; charset=us-ascii

I suggest that this patch should go into the standard kernel. Perhaps it
should go in for other architectures, too, but the only non-Intel oops I've
ever seen in the time I've been monitoring this list was properly analysed
before it was sent anyway.

--==_Exmh_-8106965840
Content-Type: text/plain ; name="ksymoops-vger-2.1.61.diff"; charset=us-ascii
Content-Description: ksymoops-vger-2.1.61.diff
Content-Disposition: attachment; filename="ksymoops-vger-2.1.61.diff"

--- linux/arch/i386/mm/fault.c.orig Thu Nov 6 22:35:08 1997
+++ linux/arch/i386/mm/fault.c Thu Nov 6 22:38:09 1997
@@ -216,6 +216,7 @@
printk(KERN_ALERT "*pte = %08lx\n", page);
}
die_if_kernel("Oops", regs, error_code);
+ printk(KERN_ALERT "Do not report this without feeding the preceding lines through `ksymoops`\n");
do_exit(SIGKILL);
out:
unlock_kernel();

--==_Exmh_-8106965840
Content-Type: text/plain; charset=us-ascii

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
dwmw2@cam.ac.uk http://dwmw2.robinson.cam.ac.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

--==_Exmh_-8106965840--