Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 06:41:40 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        bright@wintelcom.net
Cc:        hackers@freebsd.org
Subject:   Re: Can NMI drop a hanging FreeBSD kernel into DDB?
Message-ID:  <00May11.064153est.115406@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
On Fri, 5 May 2000 12:20:29 -0700, Alfred Perlstein <bright@wintelcom.net> wrote:
>> How can I make a hanging kernel into DDB? Will grounding the NMI do it?
>
>That's a bit extreme.
>
>hit ctrl+alt+esc on the console, or send a serial break if using
>a serial console, make sure you have BREAK_TO_DEBUGGER if you're
>using a serial console.

Assuming that the kernel is still processing interrupts.

If your driver has managed something like "di(); while (1) {}"
or maybe "splhigh(); while (1) {}", then you need an NMI to get
you out of the loop so the console interrupt is seen.

Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00May11.064153est.115406>