From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199801220238.VAA01871@alpha1.estabrook.org> Date: Wed, 21 Jan 1998 21:38:36 -0500 From: Jay.Estabrook@digital.com Subject: Re: SX/PYXIS timekeeping problem In-Reply-To: >>> Aleksandr Pilosov said: > > I have a big problem with Alpha SX machine. > After upgrading to 2.0.33 kernel (by applying axp-patch.2.0.32 against > 2.0.33 vanilla kernel), time seemed to speed up 2x...I did a hack on > kernel, skipping every second timer interrupt, it booted up with correct > speed, but is now slowing down, time running 20% slower than should be > normally... Interesting; I've had no problems AFAIK with those patches on top of 2.0.32, but I've not run them on top of 2.0.33 for any period of time. Perhaps there were some changes in that area that the patches don't know about, in 2.0.33? > Thing that looks wierd to me, and may be causing the problem: > grep cycle /proc/cpuinfo > cycle frequency [Hz] : 0 No, that's normal for MILO-booted kernels; MILO makes up some of the info that is recorded there, but doesn't really know what frequency to put for how fast the CPU is being clocked. And it doesn't matter, BogoMIPS is calculated "manually", its only assumption being how many ticks/sec the RTC is doing. > Since bunch of code in arch/alpha/kernel/time.c relies on > hwrpb->cycle_freq, I think this may be causing it... Ah! I wonder if that's new code in 2.0.33, that is not working correctly with the 2.0.32 patches? Would you be willing to take a closer look at what might be going on? I'm kinda of short on time to spend on this problem, but if you could take a first look and report back, it would help greatly! > >From what I understand, hwprb structure is set by MILO...So, probably > problem is in MILO...ANy advice? I'm afraid MILO is going to have a hard time figuring out what the cycle freq needs to be set to. AlphaBIOS probably knows but I don't know how MILO could get that info from it, and SRM usually sets the field accurately (and no MILO is needed using SRM console). Thanks for any help/time you can spend on this. --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 ------------------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com