[Crash-utility] How to work with crash utility.

Dave Anderson anderson at redhat.com
Fri Feb 11 13:37:08 UTC 2011



----- Original Message -----

> 
> I tried this command.
> [root at localhost crash-5.1.2]# crash
> /usr/lib/debug/lib/modules/2.6.30.9-96.fc11.i586/vmlinux /var/crash/2011-02-11-16\:32/vmcore
> 
> The Result is:
> 
> GNU gdb (GDB) 7.0
> Copyright (C) 2009 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 "i686-pc-linux-gnu"...
> 
> 
> crash: invalid kernel virtual address: 66c67d8b type: "possible"
> WARNING: cannot read cpu_possible_map
> crash: invalid kernel virtual address: 518bc845 type: "present"
> WARNING: cannot read cpu_present_map
> crash: invalid kernel virtual address: 8b127b33 type: "online"
> WARNING: cannot read cpu_online_map
> crash: /usr/lib/debug/lib/modules/2.6.30.9-96.fc11.i586/vmlinux and
> /var/crash/2011-02-11-16:32/vmcore do not match!
> 
> Usage:
> crash [-h [opt]][-v][-s][-i file][-d num] [-S] [mapfile] [namelist] [dumpfile]
> 
> Enter "crash -h" for details.
> 
> 
> I am currently using kernel version 2.6.35.5, fedora11.

If the vmcore file was generated from the 2.6.35.5 kernel, then you are
using the wrong vmlinux file -- you need to find the kernel-debuginfo
packages for the 2.6.30.9-96.fc11.i586 kernel.

Dave





More information about the Crash-utility mailing list