Hi Experts:

Here is crash tool failed to work issue:

0, it occur on pwoerpc p2041(e500mc) board, p2020(e500v2) will not have this issue.
kernel version: 2.6.34
crash tool version: 6.1.4

1, before trigger kdump, if insert a custom kernel module, the created vmcore will failed to be analysis.

2, before trigger kdump, if no custom kernel module was inserted, the crash can worked well on created vmcore file.

Do you have some comments on this scene?

The error log when run crash tool is here listed for reference:
/*********************************************************************/
/coredump> ./crash.p4 vmlinux.host.20160108nokgdbserial  vmcore-1970-01-01 

crash.p4 6.1.4
Copyright (C) 2002-2013  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.
 
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-wrs-linux"...

please wait... (gathering module symbol data)   
crash.p4: invalid structure member offset: module_core_size
          FILE: kernel.c  LINE: 2976  FUNCTION: module_init()

[./crash.p4] error trace: 1006b48c => 100deff8 => 1011ac7c => 10067740

  10067740: OFFSET_verify.part.27+76

  1011ac7c: OFFSET_verify+76

  100deff8: module_init+1576

  1006b48c: main_loop+236


root@RCU-1:/mnt/userdir/coredump>

/*********************************************************************/




Best Regards,
James