<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div><br></div><div dir="ltr">Hi Nitin,<div><br></div><div> Excellent write up, thank you for taking time out and writing it in such detail.</div><div> Liked how you showed the function call flow and checking arguments via disassembly.</div><div> What other scenarios/commands would manually generate a vmcore that run into different code paths for study purpose ?</div><div> I am only aware of sysrq-trigger. Thanks.</div></div></blockquote><div><br></div><div>This is force trigger of coredump. Other cases are:<br></div><div><br></div><div>* If machine crashes and we have kdump configured we will get vmcore captured. You can search <br></div><div> how to capture vmcore.<br></div><div><br></div><div>* Other option is if you have KVM VM running with libvirt, below command will also give you vmcore<br></div><div><br></div><div> # virsh dump VM_NAME > vmcore.dump<br></div><div><br></div><div>Then you can run crash tool based on version of kernel and debug kernel.<br></div><div><br></div><div>Hope it helps.<br></div><div><br></div><div>Thanks,<br></div><div>Pankaj<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div><br></div><div>Regards</div><div>Gaurav</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 7:53 PM, Nitin Bansal <span dir="ltr"><<a href="mailto:nb@randomsearch.org" target="_blank">nb@randomsearch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Siddhesh,<br><span class=""><br>
On Wed, Apr 19, 2017 at 11:29 AM, Siddhesh Poyarekar<br>
<<a href="mailto:sid@reserved-bit.com" target="_blank">sid@reserved-bit.com</a>> wrote:<br>
> Hi,<br>
><br>
> If you have written blog posts or uploaded slides of your sessions at<br>
> the kernel meetup in the past months, please don't forget to add a link<br>
> to it on the relevant wiki page.<br>
><br>
> <a href="https://ideas.reserved-bit.com/w/Kernel_Meetup_February_-_2017" rel="noreferrer" target="_blank">https://ideas.reserved-bit.com/w/Kernel_Meetup_February_-_2017</a><br>
> <a href="https://ideas.reserved-bit.com/w/Kernel_Meetup_April_-_2017" rel="noreferrer" target="_blank">https://ideas.reserved-bit.com/w/Kernel_Meetup_April_-_2017</a><br>
><br>
<br>
</span>I am attaching a file which contains write-up about vmcore analysis<br>
session that I presented in last meetup,<br>
I don't maintain any blog etc so don't really have any place to<br>
publish it, but feel free to post/attach it to<br>
reserved-bit wiki if you like.<br><br>_______________________________________________<br>
Kernel-meetup mailing list<br><a href="mailto:Kernel-meetup@lists.reserved-bit.com" target="_blank">Kernel-meetup@lists.reserved-bit.com</a><br><a href="http://lists.reserved-bit.com/listinfo.cgi/kernel-meetup-reserved-bit.com" rel="noreferrer" target="_blank">http://lists.reserved-bit.com/listinfo.cgi/kernel-meetup-reserved-bit.com</a><br><br></blockquote></div><br></div><br>_______________________________________________<br>Kernel-meetup mailing list<br>Kernel-meetup@lists.reserved-bit.com<br>http://lists.reserved-bit.com/listinfo.cgi/kernel-meetup-reserved-bit.com<br></blockquote><div><br></div></div></body></html>