[Crash-utility] crash: invalid structure member offset

Koornstra, Reinoud koornstra at hp.com
Wed Aug 11 18:04:22 UTC 2010


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
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.




More information about the Crash-utility mailing list