Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 01:38:25 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Michael Reifenberger <root@nihil.plaut.de>, Warner Losh <imp@village.org>, Andrzej Bialecki <abial@webgiro.com>, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, Matthew Dillon <dillon@apollo.backplane.com>, N <niels@bakker.net>, current@FreeBSD.ORG
Subject:   Re: 2xPIIIx450 results & NFS results 
Message-ID:  <Pine.BSF.4.10.9909210129440.47163-100000@alphplex.bde.org>
In-Reply-To: <12842.937688435@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> I remember this one too.  I think the problem is that we fail to 
> service the RTC intr for some reason.  This patch was only a 
> workaround, and received a verbal broadside from Bruce if I
> remember right.
> 
> Maybe it should be added under a sysctl until a better solution
> is know.
> 
> --- clock.c	Sat Sep 18 22:41:40 1999
> +++ clock.c.new	Sun Sep  5 13:21:35 1999
> @@ -203,4 +203,6 @@
>  clkintr(struct clockframe frame)
>  {
> +	while (rtcin(RTC_INTR) & RTCIR_PERIOD)
> +		statclock(&frame);
>  	if (timecounter->tc_get_timecount == i8254_get_timecount) {
>  		disable_intr();

Use a watchdog timeout like you should for any device that may hang.
Don't waste time running it every clock tick.

ISTR that we thought that the bug might be caused by a bug in unwanted
SMI interrupt handling.

Bruce



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909210129440.47163-100000>