[Crash-utility] crash can't handle virsh dump file

Gui Jianfeng guijianfeng at cn.fujitsu.com
Mon May 31 07:27:42 UTC 2010


Paolo Bonzini wrote:
> On 05/31/2010 05:11 AM, Gui Jianfeng wrote:
>> Dave Anderson wrote:
>>> ----- "Gui Jianfeng"<guijianfeng at cn.fujitsu.com>  wrote:
>>>
>>>> Paolo Bonzini wrote:
>>>>> On 05/28/2010 11:19 AM, Gui Jianfeng wrote:
>>>>>> Gui Jianfeng wrote:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I made use of "virsh dump" to generate a dumpfile, but crash
>>>>>>> seems fails at initializing time.
>>>>>>> I decode the dumpfile and found there's a "block" header section,
>>>>>>> but seems crash doesn't support
>>>>>>> such section so it failed. Am i missing something?
>>>>>> Any one can help? How can i make use of crash checking the dumpfile?
>>>>> Something like the attached should do it (untested because I don't
>>>>> know
>>>>> where the crash upstream repo is, though I have likely asked this
>>>>> already).
>>>> Thanks for sharing, i'll try it. :)
>>>>
>>>> Thanks,
>>>> Gui
>>>>
>>>>> Thanks,
>>>>>
>>>>> Paolo
>>>>>
>>>
>>> I missed all the excitement by taking today off.  Can you let
>>> us know how Paolo's patch worked for you?
>>
>> Paolo's patch doesn't work for me. I run "crash" with the patch applied,
>> crash crashed. Here is the debug output.
> 
> Ok, at least the loading worked though.  I'll take a look.

According to coredump, seems crash crashed at get_idt_base().
device_find_instance() fails to find "cpu" instance.

Thanks,
Gui

> 
> Paolo
> 
> 




More information about the Crash-utility mailing list