From: Jay.Estabrook@digital.com <Jay.Estabrook@digital.com>
Subject: Re: SX/PYXIS timekeeping problem
Date: Wed, 21 Jan 1998 21:38:36 -0500 [thread overview]
Message-ID: <b6cccec949e3428eae6e77c832e6e908.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.GSO.3.96.980121190111.22441H-100000@utopia.poly.edu>
>>> 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
next prev parent reply other threads:[~1998-01-22 2:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSO.3.96.980121190111.22441H-100000@utopia.poly.edu>
1998-01-22 0:25 ` Sound Nicholas Moffitt
1998-01-22 2:24 ` SX/PYXIS timekeeping problem Richard Henderson
1998-01-22 2:38 ` Jay.Estabrook [this message]
[not found] <Pine.GSO.3.96.980122150229.14430A-100000@utopia.poly.edu>
1998-01-23 0:07 ` Ladislav Zejda
1998-01-22 17:14 Przemek Klosowski
1998-01-22 7:53 ` Jay.Estabrook
1998-01-22 18:10 ` Richard Henderson
[not found] <Pine.GSO.3.96.980121231848.23843D-100000@utopia.poly.edu>
1998-01-22 6:08 ` Alan Young
[not found] <199801220238.VAA01871@alpha1.estabrook.org>
1998-01-22 4:57 ` Aleksandr Pilosov
[not found] <19980121182444.08211@dot.cygnus.com>
1998-01-22 2:32 ` Aleksandr Pilosov
[not found] <Pine.GSO.3.96.980121212845.7205B-100000@utopia.poly.edu>
1998-01-22 2:30 ` Chris Frost
-- strict thread matches above, loose matches on Subject: below --
1998-01-22 0:15 Aleksandr Pilosov
1998-01-22 0:15 Aleksandr Pilosov
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox