NetBSD Problem Report #3496
Received: (qmail-queue invoked from smtpd); 15 Apr 1997 15:12:14 -0000
Message-Id: <199704151511.RAA05659@apb.iafrica.com>
Date: Tue, 15 Apr 1997 17:11:42 +0200 (GMT+0200)
From: apb@iafrica.com
To: gnats-bugs@gnats.netbsd.org
Subject: too many apm "Interface not engaged" error messages
X-Send-Pr-Version: 3.95
>Number: 3496
>Category: port-i386
>Synopsis: too many apm "Interface not engaged" error messages
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Apr 15 08:20:01 +0000 1997
>Closed-Date: Sun Aug 03 21:07:36 +0000 1997
>Last-Modified: Sun Aug 03 21:08:11 +0000 1997
>Originator: Alan Barrett
>Release: NetBSD-current 1997-04-14
>Organization:
not much
>Environment:
NetBSD-1.2D/i386 on a NEC VERSA 4080H laptop
>Description:
On some laptops, the APM code in NetBSD/i386 fails in such
a way that the following kernel error message is printed
approximately once per second:
APM get event:Interface not engaged (11)
I can live with APM not working, but the continuous error
messages are really annoying.
>How-To-Repeat:
Configure a kernel with APM support, and boot it on a
laptop that exhibits this problem.
>Fix:
I don't know what causes the underlying problem.
The following patch stops printing this particular error
message after the first 20 times.
--- sys/arch/i386/i386/apm.c Tue Apr 15 13:18:11 1997
+++ sys/arch/i386/i386/apm.c
@@ -472,8 +472,17 @@
while (apm_get_event(®s) == 0 && !apm_damn_fool_bios)
apm_event_handle(sc, ®s);
- if (APM_ERR_CODE(®s) != APM_ERR_NOEVENTS)
+ if (APM_ERR_CODE(®s) != APM_ERR_NOEVENTS) {
+ if (APM_ERR_CODE(®s) == APM_ERR_NOTENGAGED) {
+ static int num_complaints = 0;
+ if (num_complaints < 20) {
+ ++num_complaints;
+ apm_perror("get event", ®s);
+ }
+ } else {
apm_perror("get event", ®s);
+ }
+ }
if (apm_suspends) {
apm_op_inprog = 0;
apm_suspend();
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: perry
State-Changed-When: Sun Aug 3 14:07:36 PDT 1997
State-Changed-Why:
Submitter states the problem is fixed in -current
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.