Date: Fri, 3 Apr 98 01:02:36 +0200 From: Ben Stuyts <benst@terminus.stuyts.nl> To: Tor Egge <Tor.Egge@idi.ntnu.no> Cc: smp@FreeBSD.ORG Subject: Re: Log messages from latest SMP kernel Message-ID: <199804022302.BAA07217@daneel.stuyts.nl> In-Reply-To: <199803302332.BAA12765@pat.idi.ntnu.no> References: <199803302042.WAA05032@daneel.stuyts.nl> <199803302332.BAA12765@pat.idi.ntnu.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Tor, After a few days of testing, your patch seems to have solved the problem with forward_hardclock here. Looks good. Will it be committed? (However, the -unrelated- interrupt-level buffer overflows are still there. Anybody know what causes this?) Thanks, Ben On Tue, 31 Mar 1998, Tor Egge wrote: > > 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 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?199804022302.BAA07217>