Not able to get crash dump
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Thu May 30 13:44:19 EDT 2013
On Thu, 30 May 2013 11:31:49 -0600, neha naik said:
> I have loaded the linux crashdump on ubuntu machine. I can manually
> generate the crashdump by the 'echo c > /proc/sysrq-trigger'.
> However, i am having a panic in a module i have written, which is not
> generating a core dump. I simply see the stack in the console and it kind of
> hangs there. I have to manually power it off and power it on ...
> Can someone explain why this happens? Is it because the kernel has gone
> into such a state that it cannot even follow the procedure for
> crash dump.
Most likely, your module isn't in fact panic'ing, but oops'ing.
There's a number of kernel variables that control whether to panic.
ls -l /proc/sys/kernel/*panic*
and for example 'echo 1 > /proc/sys/kernel/panic_on_oops' will cause
a panic if something oops'es.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130530/09570f13/attachment.bin
More information about the Kernelnewbies
mailing list