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

Darren Reed <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.