On Mon, Apr 22, 2013 at 12:56 PM, Sankar P <sankar.curios...@gmail.com> wrote:
>
> Thanks.
>
> But is there not a way to get the line numbers and filenames printed
> automatically instead of the memory addresses ? For example, in gdb,
> in userspace, if there is a crash, we can get the line numbers printed
> when there is a crash. Can the kernel crash/oops handler similarly not
> print the filenames and linenumbers automatically ? Is there a
> configuration or hack for getting it that way ?

Hi...

try enabling kdb or kgdb, and at the same time make sure your kernel
is compiled with symbol built in it. IIRC, that would make it spill
line numbers during oops, but that is rather kdb/kgdb specific though

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to