On Sat, Feb 5, 2011 at 2:38 AM, nishant mungse <nishantmungse@gmail.com> wrote:
Hello all,
I am new to this crash utility and have installed crash-5.1.1 on fedora11. Actually i searched a lot on net but i am unable to understand that. I tried many thing but it failed.
I have written a module and it is giving oops after mke2fs and wann to use crash utility to solve this problem.  Will anyone guide from basic steps how to use crash. Please help me out.


Regards,
Nishant.
Hello all,

I tried this command. 
[root@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. 

Hoping for some help.....

Regards 
Nishant