Subject: port-i386/14587: i386 ddb apm interactions can be poor
To: None <>
From: John Hawkinson <>
List: netbsd-bugs
Date: 11/14/2001 11:09:37
>Number:         14587
>Category:       port-i386
>Synopsis:       i386 ddb apm interactions can be poor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 14 08:10:00 PST 2001
>Originator:     John Hawkinson
>Release:        1.5W of 24 Jun 2001
System: NetBSD 1.5W NetBSD 1.5W (ZORKMID-$Revision: 1.12 $) #104: Sun Jun 24 21:48:35 EDT 2001 i386

	Some bad things can happen with DDB and apm. I'm filing this PR
for a mysterious "machine powers down a few seconds after entering ddb"
problem, but you can also single-step your way into an apm call and lose
pretty hard, too.

	Not totally sure. Hit Ctrl-Alt-Esc. Type ps/w. Look at the
output. Watch the machine power itself down without a keypress or anything.
	Not totally sure. Add some ddb commands to disable apm interrupts,
	and then a sysctl or something to allow them to be executed
	automatically on entry to the debugger, and restored on exit.
	Or something.