[Crash-utility] kernel 3.6.10

Dave Anderson anderson at redhat.com
Mon Dec 17 16:27:43 UTC 2012



----- Original Message -----
> Hi,
> 
> I tried the latest crash tool 6.1.1 (built from sources) on a kernel
> 3.6.10 dump and it failed while reading the module information. 
> Error says:
> crash: invalid structure member offset: module_core_size
>        FILE: kernel.c  LINE: 2974  FUNCTION: module_init()
> 
> [../../crash-6.1.1/crash] error trace: 809afc6 => 810ecab => 8152543 => 80929f9
> 
>   80929f9: OFFSET_verify.part.27+71
>   8152543: OFFSET_verify+51
>   810ecab: module_init+939
>   809afc6: main_loop+214
> 
> Even if I disable the the modules information gathering --no_modules)
> it fails later on while trying to read the idle tasks:
> crash: cannot determine idle task addresses from init_tasks[] or runqueues[]
> 
> crash: cannot resolve "init_task_union"
> 
> Is this a known issue? Any plans to support kernel 3.6.10?
> 
> As a FYI, I can use --minimal to enter the system and retrieve the dmesg
> buffer at the crash point.
> 
> Thanks,
> Pablo Sole.

The module.core_size issue is hard to understand.  I'm running a 3.6.10-2.fc17 kernel,
and the module.core_size member still exists, and for that matter, it still exists in
Linus's tree.

What happens when you run on the live system?  Here's what I see:

 # /usr/bin/crash
 
 crash 6.1.1
 Copyright (C) 2002-2012  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 "x86_64-unknown-linux-gnu"...
 
       KERNEL: /usr/lib/debug/lib/modules/3.6.10-2.fc17.x86_64/vmlinux
     DUMPFILE: /dev/crash
         CPUS: 4
         DATE: Mon Dec 17 11:21:15 2012
       UPTIME: 02:49:12
 LOAD AVERAGE: 0.23, 0.21, 0.23
        TASKS: 346
     NODENAME: escape.usersys.redhat.com
      RELEASE: 3.6.10-2.fc17.x86_64
      VERSION: #1 SMP Tue Dec 11 18:07:34 UTC 2012
      MACHINE: x86_64  (2893 Mhz)
       MEMORY: 7.7 GB
          PID: 19306
      COMMAND: "crash"
         TASK: ffff8801fc9fae20  [THREAD_INFO: ffff88019a664000]
          CPU: 0
        STATE: TASK_RUNNING (ACTIVE)
 
 crash> struct module.core_size
 struct module {
   [356] unsigned int core_size;
 }
 crash> mod
      MODULE       NAME                     SIZE  OBJECT FILE
 ffffffffa0006600  i2c_core                38354  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa000e160  video                   18937  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa00410e0  drm                    255061  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa0053000  i2c_algo_bit            13258  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa0059240  wmi                     18698  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa005e340  ghash_clmulni_intel     13221  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa006a2a0  drm_kms_helper          44758  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa00dd3c0  i915                   534524  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa0105be0  mmc_core               102361  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa01101a0  sdhci_pci               18658  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa011e4a0  sdhci                   37836  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa0125060  uinput                  17674  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa012b280  macvtap                 18241  (not loaded)  [CONFIG_KALLSYMS]
 ffffffffa01320c0  macvlan                 18732  (not loaded)  [CONFIG_KALLSYMS]
 ...
 
Dave 

  




More information about the Crash-utility mailing list