Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 1998 01:32:41 +0200
From:      Tor Egge <Tor.Egge@idi.ntnu.no>
To:        ben@stuyts.nl, benst@terminus.stuyts.nl
Cc:        smp@FreeBSD.ORG
Subject:   Re: Log messages from latest SMP kernel
Message-ID:  <199803302332.BAA12765@pat.idi.ntnu.no>
In-Reply-To: Your message of "Mon, 30 Mar 98 22:42:30 %2B0200"
References:  <199803302042.WAA05032@daneel.stuyts.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
> Running a kernel from about March 27, I get a lot of log messages like this:
> 
> > sio2: 3 more interrupt-level buffer overflows (total 69)
> > forward_hardclock: checkstate 0
> > forward_hardclock: checkstate 0
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

There are two explanations for this error message

1. Failed IPI delivery.

	- Interrupts are disabled on the other CPU

	- The local apic TPR register value on the other CPU is too high,
	  blocking the IPI

2. Successful IPI delivery not detected

	-  Incorrect declaration of some variables (missing volatile decl.).


If the second explanation is correct for your case, the following patch
might help you.

Index: sys/i386/include/smp.h
===================================================================
RCS file: /home/ncvs/src/sys/i386/include/smp.h,v
retrieving revision 1.40
diff -u -r1.40 smp.h
--- smp.h	1998/03/07 21:34:59	1.40
+++ smp.h	1998/03/30 22:22:23
@@ -78,8 +78,8 @@
 extern volatile u_int		stopped_cpus;
 extern volatile u_int		started_cpus;
 
-extern unsigned int		checkstate_probed_cpus;
-extern unsigned int		checkstate_need_ast;
+extern volatile u_int		checkstate_probed_cpus;
+extern volatile u_int		checkstate_need_ast;
 
 /* functions in apic_ipl.s */
 void	apic_eoi		__P((void));


- Tor Egge

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803302332.BAA12765>