System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use adb to analyze the crash dump ?

faust2222
Occasional Contributor

How to use adb to analyze the crash dump ?

Hi,
I know using adb -k vmunix vmcore to analyze the crash dump file,
I only find image.1.1 etc file in crash direcoty. Couid I using adb -k vmunxi image.1.1
to analyze? what the diffirence between cmcore and image.1.1?

thx a lot
6 REPLIES
Dennis Handly
Acclaimed Contributor

Re: How to use adb to analyze the crash dump ?

You shouldn't use adb to analyze crash dumps nor core files. You use better tools, kwdb and gdb.
Dennis Handly
Acclaimed Contributor

Re: How to use adb to analyze the crash dump ?

You used q4 before, why ask about adb now?
In your crash directory: kwdb -q4 .
faust2222
Occasional Contributor

Re: How to use adb to analyze the crash dump ?

I want to learn more tools to find more
info , haha
faust2222
Occasional Contributor

Re: How to use adb to analyze the crash dump ?



when using gdb , could I use like this :
gdb vmunix image.1.1?

Dennis Handly
Acclaimed Contributor

Re: How to use adb to analyze the crash dump ?

>I want to learn more tools to find more info

Just about the only reasons to use adb is to look at kernel parms. Or to modify binary files.

>when using gdb, could I use like this: gdb vmunix image.1.1?

No, you use kwdb for crash dumps and gdb for core files.
As I mentioned above: kwdb -q4 .
Laurent Menase
Honored Contributor

Re: How to use adb to analyze the crash dump ?

also if you have only 1 image.1.1 file, check in your index if everything goes right when it was saved,and if all files in INDEX are still there.