[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kernel/2426: be more useful in ddb
- To: gnats@openbsd.org
- Subject: kernel/2426: be more useful in ddb
- From: s@msmith.net
- Date: Sat, 23 Feb 2002 18:34:23 GMT
- Resent-Date: Sat, 23 Feb 2002 11:40:02 -0700 (MST)
- Resent-From: gnats@cvs.openbsd.org (GNATS Management)
- Resent-Message-Id: <200202231840.g1NIe265021869@cvs.openbsd.org>
- Resent-Reply-To: gnats@cvs.openbsd.org,Received: "from openbsd.cs.colorado.edu (openbsd.cs.colorado.edu [128.138.192.83]) by cvs.openbsd.org (8.12.2/8.12.1) with ESMTP id g1NIbQWV012955 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=FAIL) for" <gnats@cvs.openbsd.org>;,Sat@naughty.monkey.org, 23@naughty.monkey.org,Feb@naughty.monkey.org, 2002@naughty.monkey.org,11:37:27.-0700@cvs.openbsd.org (MST)
- Resent-To: bugs@cvs.openbsd.org
>Number: 2426
>Category: kernel
>Synopsis: ddb only tells you what you have to record once.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 23 11:40:01 MST 2002
>Last-Modified:
>Originator: Sam
>Organization:
--
Those who do not read Dilbert are doomed to repeat it
>Release: -current
>Environment:
System : OpenBSD 3.0
Architecture: OpenBSD.i386
Machine : i386
>Description:
On a panic, you only get what to report mentioned on entering
ddb. If you lose this (resizing a minicom window in my case)
there is no (obvious) way to find out what to send.
>How-To-Repeat:
cause a kernel panic
>Fix:
I'm not sure if the capitalisation is required, but you
may want better wording anyway.
Either that, or add memory capacity to myself.
Index: sys/ddb/db_command.c
===================================================================
RCS file: /cvs/src/sys/ddb/db_command.c,v
retrieving revision 1.26
diff -u -r1.26 db_command.c
--- sys/ddb/db_command.c 2002/01/28 19:31:56 1.26
+++ sys/ddb/db_command.c 2002/02/23 18:30:52
@@ -141,6 +141,10 @@
db_printf("%-12s", cmd->name);
db_end_line(12);
}
+ db_printf("\nRUN AT LEAST 'trace' AND 'ps' AND INCLUDE "
+ "OUTPUT WHEN REPORTING A PANIC!\n");
+ db_printf("DO NOT EVEN BOTHER REPORTING IT WITHOUT "
+ "INCLUDING THAT INFORMATION!\n");
}
void
>Audit-Trail:
>Unformatted: