Port-sparc64 archive

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

Re: How to get a crash dump with recursive panic?



On 13/06/2014 5:35 AM, matthew green wrote:
> Darren Reed writes:
>> On 11/06/2014 4:33 AM, Martin Husemann wrote:
>>> On Wed, Jun 11, 2014 at 04:19:20AM +1000, matthew green wrote:
>>>> i haven't looked closely, but i'm pretty sure there is a bug in
>>>> the sparc64 crash handling where it sets doing_shutdown and that
>>>> triggers the "Skipping crash dump on recursive panic" message,
>>>> when infact it hasn't gotten that far yet.
>>>
>>> We should avoid leaking it, but I haven't looked closely either.
>>
>> So if I call panic() explicitly, that will write a crash dump?
> 
> i would try reverting the change i mentioned a few days ago,
> or simply comment the inc/dec of "doing_shutdown" in the
> sparc64 specific code and see what happens.

Commenting out the doing_shutdown in db_interface.c allows the
system to panic and there are no issues with lockmgr.

Darren




Home | Main Index | Thread Index | Old Index