Discussion:
[Fastboot] Debug kernel with gdb using kdump
Ridouan Edarazi
2010-12-08 19:32:50 UTC
Permalink
Hi,

Can anyone send me a file core(crash dump) (image of kernel crashed) to use with GDB please.

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/fastboot/attachments/20101208/eb31b074/attachment-0001.htm
Chandan12 K
2010-12-10 15:48:50 UTC
Permalink
I think you can generate on your own. Load a crash kernel using kexec -l
<> ; and insert a kernel panic via echo c > /proc/sysrq-trigger

After that once the new kernel is loaded you can find the vmcore of the
crashed kernel at /dev/vmcore, /dev/oldmem.

Hope this helps.

Thanks,
Chandan Kumar
Tata Consultancy Services



From:
Ridouan Edarazi <ridor93 at hotmail.com>
To:
<fastboot at lists.osdl.org>, <utility at redhat.com>
Date:
12/10/2010 09:11 PM
Subject:
[Fastboot] Debug kernel with gdb using kdump
Sent by:
fastboot-bounces at lists.linux-foundation.org



Hi,

Can anyone send me a file core(crash dump) (image of kernel crashed) to
use with GDB please.

Thanks._______________________________________________
fastboot mailing list
fastboot at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/fastboot/attachments/20101210/7438e4f4/attachment.htm
M. Mohan Kumar
2010-12-12 10:23:19 UTC
Permalink
I think you can generate on your own. Load a crash kernel using kexec -l <> ;
and insert a kernel panic via echo c > /proc/sysrq-trigger
For loading kdump kernels you need to use kexec -p <vmlinux>
After that once the new kernel is loaded you can find the vmcore of the crashed
kernel at /dev/vmcore, /dev/oldmem.
/proc/vmcore is the core file.
From: Ridouan Edarazi <ridor93 at hotmail.com>
To: <fastboot at lists.osdl.org>, <utility at redhat.com>
Date: 12/10/2010 09:11 PM
Subject: [Fastboot] Debug kernel with gdb using kdump
Sent by: fastboot-bounces at lists.linux-foundation.org
???????????????????????????????????????????????????????????????????????????????
Hi,
Can anyone send me a file core(crash dump) (image of kernel crashed) to use
with GDB please.
Thanks._______________________________________________
fastboot mailing list
fastboot at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
fastboot mailing list
fastboot at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot
Loading...