* Pseudo Oops for ppc
@ 2000-08-20 1:39 Steven Bytnar
0 siblings, 0 replies; only message in thread
From: Steven Bytnar @ 2000-08-20 1:39 UTC (permalink / raw)
To: linuxppc-dev
http://www.stg.com/udi/ppc-oops-1.patch
This simple patch improves the default panic backtraceing
by walking the kernel symbol table to find function names.
It also attempts to kill and cleanup the task that caused
the panic by calling do_exit(SIGKILL). This seems to work
most of the time and leaves the machine in a mostly
usable state, although you should probably reboot soon
thereafter.
The end result... you can panic the machine and keep
working after waiting about 10 seconds. (So you can see
the panic message.)
You will want to tune the delay loop value. Why is there a
delay loop?! I didn't feel like figuring out how to read the
USB keyboard driver.
This patch isn't very useful if you have kgdb or xmon
enabled. Hopefully someone will find this useful. It's
been a time saver for me while I've been working on
developing kernel modules on a G4.
Enjoy,
--Steve
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-20 1:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-20 1:39 Pseudo Oops for ppc Steven Bytnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).