* Crash dump? @ 2020-05-15 16:47 Subhashini Rao Beerisetty 2020-05-15 17:46 ` 慕冬亮 0 siblings, 1 reply; 3+ messages in thread From: Subhashini Rao Beerisetty @ 2020-05-15 16:47 UTC (permalink / raw) To: kernelnewbies Hi all, In Kernel, what needs to be configured to get the crash dump? Can someone clarify me with the sequence of steps to get the crash dump.. Thanks, _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Crash dump? 2020-05-15 16:47 Crash dump? Subhashini Rao Beerisetty @ 2020-05-15 17:46 ` 慕冬亮 2020-05-19 16:46 ` Satya Naik 0 siblings, 1 reply; 3+ messages in thread From: 慕冬亮 @ 2020-05-15 17:46 UTC (permalink / raw) To: Subhashini Rao Beerisetty; +Cc: kernelnewbies [-- Attachment #1.1: Type: text/plain, Size: 1317 bytes --] > On May 15, 2020, at 12:47 PM, Subhashini Rao Beerisetty <subhashbeerisetty@gmail.com> wrote: > > Hi all, > > In Kernel, what needs to be configured to get the crash dump? > Can someone clarify me with the sequence of steps to get the crash dump.. > Some materials for specific Linux distributions(e.g., Redhat, Debian): https://mudongliang.github.io/2018/07/02/debian-enable-kernel-dump.html <https://mudongliang.github.io/2018/07/02/debian-enable-kernel-dump.html> https://www.bentasker.co.uk/documentation/linux/312-installing-and-configuring-kdump-on-debian-jessie <https://www.bentasker.co.uk/documentation/linux/312-installing-and-configuring-kdump-on-debian-jessie> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_administration_guide/kernel_crash_dump_guide <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_administration_guide/kernel_crash_dump_guide> https://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes <https://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes> > Thanks, > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies [-- Attachment #1.2: Type: text/html, Size: 2324 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Crash dump? 2020-05-15 17:46 ` 慕冬亮 @ 2020-05-19 16:46 ` Satya Naik 0 siblings, 0 replies; 3+ messages in thread From: Satya Naik @ 2020-05-19 16:46 UTC (permalink / raw) To: 慕冬亮; +Cc: Subhashini Rao Beerisetty, kernelnewbies [-- Attachment #1.1: Type: text/plain, Size: 1985 bytes --] Hi , kdump need 2 kernel primary and secondary. Primary will be panicked, then secondary will do capture coredump. In boot loader/ kernel command line specify crashkernel=256MB or more, ensure secondary kernel is small in size so that it can be boot within this memory, oom should not happen. Primary config: CONFIG_SYSFS=y CONFIG_KEXEC=y CONFIG_DEBUG_INFO=y Secondary Config: CONFIG_PHYSICAL_START=0x100000 CONFIG_RELOCATABLE=y CONFIG_CRASH_DUMP=y load secondary kernel using kexec -p <> After kernel panic, secondary kernel will be invoked. The secondary kernel should save core from /proc/vmcore and reboot again. Refer kdump kernel docs : https://www.kernel.org/doc/Documentation/kdump/kdump.txt Thanks, Satya On Fri, May 15, 2020 at 11:17 PM 慕冬亮 <mudongliangabcd@gmail.com> wrote: > > > On May 15, 2020, at 12:47 PM, Subhashini Rao Beerisetty < > subhashbeerisetty@gmail.com> wrote: > > Hi all, > > In Kernel, what needs to be configured to get the crash dump? > Can someone clarify me with the sequence of steps to get the crash dump.. > > > Some materials for specific Linux distributions(e.g., Redhat, Debian): > > https://mudongliang.github.io/2018/07/02/debian-enable-kernel-dump.html > > > https://www.bentasker.co.uk/documentation/linux/312-installing-and-configuring-kdump-on-debian-jessie > > > https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/kernel_administration_guide/kernel_crash_dump_guide > > https://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes > > > > Thanks, > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > [-- Attachment #1.2: Type: text/html, Size: 3863 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-19 16:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-05-15 16:47 Crash dump? Subhashini Rao Beerisetty 2020-05-15 17:46 ` 慕冬亮 2020-05-19 16:46 ` Satya Naik
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).