<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>shell@android:/system # ./crash -d8<br><br>crash 6.0.8<br>Copyright (C) 2002-2012  Red Hat, Inc.<br>Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation<br>Copyright (C) 1999-2006  Hewlett-Packard Co<br>Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited<br>Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.<br>Copyright (C) 2005, 2011  NEC Corporation<br>Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.<br>Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.<br>This program is free software, covered by the GNU General Public License,<br>and you are welcome to change it and/or distribute copies of it under<br>certain conditions.  Enter "help copying" to see the conditions.<br>This program has absolutely no warranty.  Enter "help warranty" for
 details.<br><br><br>find_booted_kernel: search for [Linux version 3.0.15+ (oza@lc-blr-292) (gcc version 4.4.3 (GCC) ) #2 PREEMPT Wed Aug 8 13:39:53 IST 2012]<br>searchdirs[7]: /usr/lib/debug/lib/modules/3.0.15+/<br>searchdirs[0]: /usr/src/linux/<br>searchdirs[1]: /boot/<br>searchdirs[2]: /boot/efi/redhat<br>searchdirs[3]: /boot/efi/EFI/redhat<br>searchdirs[4]: /<br>searchdirs[5]: /usr/src/redhat/BUILD/kernel-3.0.15/linux/<br>searchdirs[6]: /usr/src/redhat/BUILD/kernel-3.0.15/linux-3.0.15/<br>mount_points[0]: / (cafcb0)<br>mount_points[1]: /dev (cafcc0)<br>mount_points[2]: /dev/pts (cafcd0)<br>mount_points[3]: /proc (cafce8)<br>mount_points[4]: /sys (cafcf8)<br>mount_points[5]: /acct (cafd08)<br>mount_points[6]: /mnt/asec (cafd18)<br>mount_points[7]: /mnt/obb (cafd30)<br>mount_points[8]: /dev/cpuctl (cafd48)<br>mount_points[9]: /system (cafd68)<br>mount_points[10]: /data (cafd80)<br>mount_points[11]: /cache (cafd90)<br>mount_points[12]: /sys/kernel/debug
 (cafda0)<br>find_booted_kernel: check: /init<br>crash: cannot find booted kernel -- please enter namelist argument<br><br><br>Usage:<br><br>  crash [OPTION]... NAMELIST MEMORY-IMAGE  (dumpfile form)<br>  crash [OPTION]... [NAMELIST]             (live system form)<br><br>Enter "crash -h" for details.</span></div><div><br></div><div>PS: I also get a warning message from system: our own message crash used greatest stack depth: 5016 bytes left<br></div><div><br></div><div>apart from that If I run crash</div><div><br></div><div>./crash ./vmlinux</div><div>crash 6.0.8<br>Copyright (C) 2002-2012  Red Hat, Inc.<br>Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation<br>Copyright (C) 1999-2006  Hewlett-Packard Co<br>Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited<br>Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.<br>Copyright (C) 2005, 2011  NEC
 Corporation<br>Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.<br>Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.<br>This program is free software, covered by the GNU General Public License,<br>and you are welcome to change it and/or distribute copies of it under<br>certain conditions.  Enter "help copying" to see the conditions.<br>This program has absolutely no warranty.  Enter "help warranty" for details.<br><br>get_live_memory_source: /dev/mem<br>WARNING: ./vmlinux and /proc/version do not match!<br><br>WARNING: /proc/version indicates kernel version: 3.0.15+<br><br>crash: please use the vmlinux file for that kernel version, or try using<br>       the System.map for that kernel version as an additional argument.<br></div><div><br></div><div>If I include system.map</div><div>it exits with</div><div>'can not open secondary temp[orary file"</div><div>void
 <br>open_tmpfile2(void)<br>{<br>        if (pc->tmpfile2)<br>                error(FATAL, "recursive secondary temporary file usage\n");<br>                <br>        if ((pc->tmpfile2 = tmpfile()) == NULL)<br>                error(FATAL, "cannot open secondary temporary file\n");<br>        <br>        rewind(pc->tmpfile2);<br>}<br></div><div><br></div><div>Regards,</div><div>Oza.<br></div><div><br></div><div><br></div><div><br></div><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new
 york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Dave Anderson <anderson@redhat.com><br> <b><span style="font-weight: bold;">To:</span></b> paawan oza <paawan1982@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "Discussion list for crash utility usage, maintenance and development" <crash-utility@redhat.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 9 August 2012 12:11 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Crash-utility] using crash for ARM<br> </font> </div> <br><br><br>----- Original Message -----<br>> <br>> <br>> > > crash: cannot open secondary temporary file<br>> > <br>> > When do you see that message?<br>><br>> above is the last error statement and crash exits.<br>> <br>> Regards,<br>> Oza.<br><br>Attach the output of
 "crash -d8".<br><br>Dave<br><br><br> </div> </div>  </div></body></html>