kdb
[Top] [All Lists]

kdb and NMI watchdog

To: Keith Owens <kaos@xxxxxxx>
Subject: kdb and NMI watchdog
From: Jim Houston <jim.houston@xxxxxxxxxxx>
Date: 12 Oct 2005 16:40:34 -0400
Cc: kdb@xxxxxxxxxxx
Organization:
Reply-to: jim.houston@xxxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
Hi Keith,

We noticed that kdb can trigger the NMI watchdog if a relatively
slow baud rate is used on the serial console and kdb produces too
much output.  The attached patch adds touch_nmi_calls() to
kdb_printf after each console write call.

Jim Houston - Concurrent Computer Corp.

--- 2.6-redhawk/kdb/kdb_io.c.0  2005-09-23 18:04:01.000000000 -0400
+++ 2.6-redhawk/kdb/kdb_io.c    2005-10-12 12:17:49.000000000 -0400
@@ -510,6 +510,7 @@
 
        while (c) {
                c->write(c, kdb_buffer, strlen(kdb_buffer));
+               touch_nmi_watchdog();
                c = c->next;
        }
        if (logging) {
@@ -566,6 +567,7 @@
 
                while (c) {
                        c->write(c, moreprompt, strlen(moreprompt));
+                       touch_nmi_watchdog();
                        c = c->next;
                }
 



---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>