From owner-freebsd-smp Mon Mar 30 15:33:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23284 for freebsd-smp-outgoing; Mon, 30 Mar 1998 15:33:24 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from pat.idi.ntnu.no (0@pat.idi.ntnu.no [129.241.103.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23192 for ; Mon, 30 Mar 1998 15:33:06 -0800 (PST) (envelope-from Tor.Egge@idi.ntnu.no) Received: from idi.ntnu.no (tegge@presis.idi.ntnu.no [129.241.111.173]) by pat.idi.ntnu.no (8.8.8/8.8.8) with ESMTP id BAA12765; Tue, 31 Mar 1998 01:32:43 +0200 (MET DST) Message-Id: <199803302332.BAA12765@pat.idi.ntnu.no> To: ben@stuyts.nl, benst@terminus.stuyts.nl Cc: smp@FreeBSD.ORG Subject: Re: Log messages from latest SMP kernel In-Reply-To: Your message of "Mon, 30 Mar 98 22:42:30 +0200" References: <199803302042.WAA05032@daneel.stuyts.nl> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 31 Mar 1998 01:32:41 +0200 From: Tor Egge Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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