how to enable linux box to dump crash image on local disk
amit mehta
gmate.amit at gmail.com
Thu Aug 18 04:33:52 EDT 2011
> It seems there is a bugzilla from Red Hat on this issue(680864) in RHEL
> 6.0 kernel. Please could you try this issue on RHEL 6.1 kernel ?
> Also as mentioned in the
> https://bugzilla.redhat.com/show_bug.cgi?id=680864, which is similar to your
> issue, you should be able to see the output of bt command and log command in
> the crash sesion. Please have a look at and let us know what you see.
>
> Regards,
> Sumeet
It seems that it was a memory issue(not enough memory) to enable crash dump.
Today, after migrating my machine to RHEL 6.1 and bumping up the memory,
i was able to get the kernel crash dump and could analyze it using crash
utility.
Thanks again for your help.
<<<snip from sample forced crash>>
crash> bt
PID: 19208 TASK: ffff8801540200c0 CPU: 3 COMMAND: "bash"
#0 [ffff88003778d9e0] machine_kexec at ffffffff810310db
#1 [ffff88003778da40] kimage_free_pages at ffffffff810b63b2
#2 [ffff88003778dac8] hvc_write_room at ffffffff8131abc6
#3 [ffff88003778db10] setjmp_pre_handler at ffffffff814dec50
#4 [ffff88003778db40] no_context at ffffffff81040cdb
#5 [ffff88003778db90] __bad_area_nosemaphore at ffffffff81040f65
#6 [ffff88003778dbe0] bad_area_access_error at ffffffff8104108e
#7 [ffff88003778dc10] __do_page_fault at ffffffff810417b3
#8 [ffff88003778dd30] __unregister_kprobe_top at ffffffff814e0c3e
#9 [ffff88003778dd60] oops_end at ffffffff814ddfe5
#10 [ffff88003778dde8] hvc_write_room at ffffffff8131abc6
#11 [ffff88003778de20] destroy_hvc_struct at ffffffff8131ae82
#12 [ffff88003778de70] hvc_hangup at ffffffff8131af3e
#13 [ffff88003778dea0] proc_reg_unlocked_ioctl at ffffffff811d4ffe
#14 [ffff88003778def0] default_llseek at ffffffff81172718
#15 [ffff88003778df00] destroy_watch at ffffffff810d1b62
#16 [ffff88003778df30] sys_pread64 at ffffffff81173151
RIP: 0000003b158d95e0 RSP: 00007fff4e780008 RFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff8100b172 RCX: 00007fff4e780098
RDX: 0000000000000002 RSI: 00007f13cb5d7000 RDI: 0000000000000001
RBP: 00007f13cb5d7000 R8: 000000000000000a R9: 00007f13cb5c8700
R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000000002
R13: 0000003b15b8b780 R14: 0000000000000002 R15: 0000003b15b8b780
ORIG_RAX: 0000000000000001 CS: 0033 SS: 002b
<<<snip from sample forced crash>>
-Amit
More information about the Kernelnewbies
mailing list