Re: How to work with crash utility.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nishant,Â
Welcome to the group! Your usecase for using Crash is very apt and you can look for the following steps to start with:

- Did you configure Kdump utility?
ÂÂIn case you did not: Kdump utility lets you take a core-dump of the whole kernel once it hits a panic/oops situation, and save the same in a specified location. It is available as part of kexec-tools package.
- You may want to try a dry run by inducing a panic with echo 'c' > Â/proc/sysrq-trigger and checking if kdump captured a dump file in the directory specified in the /etc/kdump.conf or not.
- Once the above two basic steps are done, you are now set to analyze your problem with the captured context in the coredump file using Crash.
- Install the kernel-debuginfo packages for the exact version of kernel you are trying to debug.ÂYou can find the debuginfo packages in a yum/fedora public repos.
- Now start Crash with the two important parameters: coredump file (called as namelist file) location and place where you kernel-debuginfo file (vmlinux). You can find the laterÂ/usr/lib/debug/lib/modules/2.6.29.4-167.fc11.x86_64/vmlinux (note that the exact kernel version might be different)

Now the command to use is: crash <path to the vmlinux file> <path to your coredump file>

Hope this helps in getting you started.Â

Regards,Â
Ratnam

On Fri, Feb 4, 2011 at 1:08 PM, nishant mungse <nishantmungse@xxxxxxxxx> 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.

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux