----- "Reinoud Koornstra" <koornstra(a)hp.com> wrote:
 Hi Everyone,
 
 I am trying to read a core file into crash, but I've got bad luck as you can see
below. 
 Is core file corrupt? It is a vmcore file from a 32 bits kernel that
 was compiled with PAE, could that have corrupted things?
 Any hints here?
 Thanks,
 
 Reinoud.
 
 $ crash System.map-2.6.27 ./vmlinux-2.6.27 ./vmcore
 
 crash 4.0-3.7 
I don't know if the vmcore is corrupt, but PAE wouldn't be an issue.
However, you are running a version of crash that was released almost
4 years ago (13-Oct-2006) against a two-year-old kernel that was 
released 15-Oct-2008.  That's pretty much a guarantee of failure.  
Try updating to version 5.0.6 and see what happens.
And BTW, if the vmlinux file is the exact same kernel as the
one that generated the vmcore file, you don't need a System.map 
argument.
Dave
 
15-Oct-2008
 Copyright   2002, 2003, 2004, 2005, 2006  Red Hat, Inc.
 Copyright   2004, 2005, 2006  IBM Corporation
 Copyright   1999-2006  Hewlett-Packard Co
 Copyright   2005  Fujitsu Limited
 Copyright   2005  NEC Corporation
 Copyright   1999, 2002  Silicon Graphics, Inc.
 Copyright   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 6.1
 Copyright 2004 Free Software Foundation, Inc.
 GDB 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.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i686-pc-linux-gnu"...
 
 please wait... (gathering kmem slab cache data)                       
 
 crash: invalid structure member offset: kmem_cache_s_c_num
        FILE: memory.c  LINE: 6891  FUNCTION: kmem_cache_init()
 
 [/usr/bin/crash] error trace: 80827a9 => 8095398 => 80aa7ef =>
 8131e88
 /usr/bin/nm: /usr/bin/crash: no symbols
 /usr/bin/nm: /usr/bin/crash: no symbols
 /usr/bin/nm: /usr/bin/crash: no symbols
 /usr/bin/nm: /usr/bin/crash: no symbols
 
 WARNING: Because this kernel was compiled with gcc version 4.1.2, certain
          commands or command options may fail unless crash is invoked with
          the  "--readnow" command line option.