All of lore.kernel.org
 help / color / mirror / Atom feed
* calls to notify_die missing -> ftrace_dump_on_oops non-functional
@ 2009-09-12 19:54 Uwe Kleine-König
  2009-09-12 21:36 ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2009-09-12 19:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I noticed yesterday that ARM doesn't call notify_die (added in

	1eeb66a (move die notifier handling to common code)

).

As ftrace_dump_on_oops depends on this function being called I don't get
an ftrace dump in my oopses.

Locally I added

	notify_die(DIE_OOPS, str, regs, err, current->thread.trap_no, SIGSEGV);

at the end of __die() in arch/arm/kernel/traps.c but I think this is not
completely correct because---assuming I understood it
correctly---notify_die returning NOTIFY_STOP should stop the process
dying.  Christoph, is this correct?

Dying on ARM looks quite different to dying on x86.  Russell, what's
your position here?  Would you accept a patch that makes them more
similar?

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-K?nig            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-13 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-12 19:54 calls to notify_die missing -> ftrace_dump_on_oops non-functional Uwe Kleine-König
2009-09-12 21:36 ` Russell King - ARM Linux
2009-09-13 19:55   ` Uwe Kleine-König
2009-09-13 20:01     ` Russell King - ARM Linux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.