Subject: Re: "NMI ... going to debugger" -- possible to store a backtrace?
To: Brian de Alwis <bsd@cs.ubc.ca>
From: Jeff Rizzo <riz@NetBSD.org>
List: netbsd-users
Date: 07/06/2007 09:53:29
Brian de Alwis wrote:
> I've been dumped into the debugger about once a week because of
> messages like:
>
> Jul 6 10:01:05 monolith /netbsd: NMI ... going to debugger
>
> As I almost exclusively use X and have ddb.onpanic=0, I thought
> the machine had gone into a deep hang and would reboot. I discovered
> this morning that it's in the debugger and could be resumed, and
> found the above message in /var/log/messages.
>
> Is there anything I can do to get a trace? Or rather, to dump the
> trace to a useful spot to look at later?
>
> Brian.
>
>
My experience with this particular thing happening is that it's almost
always bad memory. If you really want to save a trace, see the ddb(4)
man page, specifically tee_msgbuf, for storing ddb output in the message
buffer.
+j