lkml.org 
[lkml]   [2005]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Realtime Preemption, 2.6.12, Beginners Guide?

* Ingo Molnar <mingo@elte.hu> wrote:

> c011ed50 t wakeup_softirqd
> c011ed80 t trigger_softirqs
>
> but it looks pretty weird. DEBUG_STACK_POISON (and the full-debug
> .config i sent) could perhaps uncover other types of stack
> corruptions.

there's one more pretty efficient debugging method:

echo 1 > /proc/sys/kernel/trace_print_at_crash
echo 1 > /proc/sys/kernel/trace_freerunning

and then upon oopses the kernel will print a full execution trace that
led up to the crash. But this definitely needs a serial console to be
usable, as the kernel will print out thousands of trace entries.

(also, since it seems your kernel crashes when trying to print out the
stacktrace, you'd also have to move the print_traces(task) line within
arch/i386/kernel/traps.c:show_trace() to the beginning of that
function.)

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

\
 
 \ /
  Last update: 2005-07-09 18:06    [W:0.490 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site