2005-03-09 05:36:31

by Lee Revell

[permalink] [raw]
Subject: Oops tracing and /proc

I am trying to decode an Oops per the instructions in
Documentation/oops-tracing.txt. The instructions say to run it through
ksymoops with the "-k /proc/ksyms" argument.

But, I do not have this file! The closest thing I have
is /proc/kallsyms. ksymoops complains that it does not understand the
syntax of this file.

What am I doing wrong?

Lee


2005-03-09 05:42:34

by Dave Jones

[permalink] [raw]
Subject: Re: Oops tracing and /proc

On Wed, Mar 09, 2005 at 12:36:27AM -0500, Lee Revell wrote:
> I am trying to decode an Oops per the instructions in
> Documentation/oops-tracing.txt. The instructions say to run it through
> ksymoops with the "-k /proc/ksyms" argument.
>
> But, I do not have this file! The closest thing I have
> is /proc/kallsyms. ksymoops complains that it does not understand the
> syntax of this file.
>
> What am I doing wrong?

If you have CONFIG_KALLSYMS enabled, you don't need ksymoops
as the backtrace gets decoded to symbol names for you.

The only use for ksymoops in a 2.6 kernel is probably the
disassembly of the Code: line.
http://www.kernel.org/pub/linux/utils/kernel/ksymoops/

Dave