From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22777 invoked from network); 25 Mar 1998 09:38:42 -0000 Received: from fock.usc.edu (lada@128.125.104.193) by mail2.redhat.com with SMTP; 25 Mar 1998 09:38:42 -0000 Received: (from lada@localhost) by fock.usc.edu (8.8.6/8.8.6) id BAA25867; Wed, 25 Mar 1998 01:14:10 -0800 From: Ladislav Zejda Message-Id: <199803250914.BAA25867@fock.usc.edu> Subject: Re: SX164 Clock Problem To: Jay.Estabrook@digital.com Date: Wed, 25 Mar 1998 01:14:10 -0800 (PST) Cc: axp-list@redhat.com In-Reply-To: <199803242130.QAA04157@linux03.amt.tay1.dec.com> from "Jay.Estabrook@digital.com" at Mar 24, 98 04:30:45 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Dear Jay! Excellent work, your new Milo solves my 2x clock problem. Great! Thank you very much, Ladislav Zejda lada@fock.usc.edu PS. I hope you don't mind I am sending a copy of your letter to axp list - I hope it will get there this time. Let others enjoy as well! > The latest posting from Loic correctly idnetifies the "time drift" cause > on a number of boxes, MIATA and SX being just two of them. > > It is indeed caused by the timer interrupt handler being entered two times > for a single interrupt; seems that PYXIS propagation delays allow the > interrupt status to not be clear by the time the interrupt handler exits. > > However and unfortunately, this problem was fixed for the MIATA with the > MILOs of RH 5.0 (which introduced an unrelated bad bug), but was perhaps not > fixed for the SX in those same MILOs (can't remember). > > I've put two new MILOs out on gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/: > > milo-sx164-980324 > milo-miata-980324 > > These should fix the clock drift problem (its a fix in the PALcode). > > Also included is code back-ported from 2.1.88 to calculate a (hopefully) > reasonable value for hwrpb->cycle_freq. This should help the stock kernel > code which attempts to detect missed clock interrupts. > > Whether these together will solve the 2*clock problem seen on the SX is > anyone's guess; it's certainly worth a try. I've been running two "custom" > kernels with the older SX MILO (from RH 5.0): > > 1. pristine 2.0.32 plus alpha-patches-2.0.32-0.1 built under RH 5.0 > 2. pristine 2.0.33 plus alpha-patches-2.0.32-0.1 built under RH 5.0 > > Neither exhibit *any* problems for me on my SX; it's got only IDE HD and CD, > Millennium, and DE500, 533MHz 21164PC rev 1, 128Mb and 1Mb cache. > > Note that I also tried activating the special RTC code in 2.0.33 in another > kernel, and also encountered no problems. > > Let me know if these help or not; if not, a /proc/pci and the .config for > the failing kernel may be helpful. > > Crossing my fingers... ;-} > > --Jay++ > > ------------------------------------------------------------------------------- > American Non Sequitur Society: we don't make sense, but we do like pizza... > > Jay A Estabrook Alpha Migration Tools - LINUX Project > Digital Equipment Corp. (978) 506-4202 or (DTN) 226-4202 > 151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com > Littleton, MA 01460-1407 > -------------------------------------------------------------------------------