Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* DEC PWS 433a(Miata) clock problem
@ 1997-09-12  4:52 Koichi Kawabata
  0 siblings, 0 replies; 9+ messages in thread
From: Koichi Kawabata @ 1997-09-12  4:52 UTC (permalink / raw)


Hi,

I'm runnning RedHAt 4.2 Linux on DEC PWS 433a(Miata) and having a
problem with its clock. The system clock (displayed by 'date' command)
goes too faster than the CMOS clock.

I found the same problem are reported by Andreas Ulrich Trottmann
on this list as follows:

Andreas Ulrich Trottmann (atrottma@g26.ethz.ch) wrote on
Wed, 30 Apr 1997 00:31:43 +0200 (MET DST):
> Second: The clock runs quite fast -- after one "real" hour, the system
> time has advanced about one hour and ten minutes. The CMOS time reported
> by clock -Au -r is correct, however.

Does anybody know how to solve this problem?

Currently I'm running "clock -A -s" command at every minute via cron,
but of course it is not the real solution.

=---=---=---=---=---=---=---=---=---=---=---=---=---=
Koichi Kawabata
ThirdWare, inc. Japan E-Mail:  kkoichi@3ware.co.jp
                   URL: http://www.3ware.co.jp/
=---=---=---=---=---=---=---=---=---=---=---=---=---=

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
       [not found] <3419077B.16832DB4@voicenet.com>
@ 1997-09-12  5:20 ` jestabro
  0 siblings, 0 replies; 9+ messages in thread
From: jestabro @ 1997-09-12  5:20 UTC (permalink / raw)


>>> Uncle George said:
> 
> Koichi Kawabata wrote:
> 
> > I'm runnning RedHAt 4.2 Linux on DEC PWS 433a(Miata) and having a
> > problem with its clock. The system clock (displayed by 'date' command)
> > goes too faster than the CMOS clock.
> > Andreas Ulrich Trottmann (atrottma@g26.ethz.ch) wrote on
> > Wed, 30 Apr 1997 00:31:43 +0200 (MET DST):
> > > Second: The clock runs quite fast -- after one "real" hour, the system
> > > time has advanced about one hour and ten minutes. The CMOS time reported
> > > by clock -Au -r is correct, however.
> >
> > Does anybody know how to solve this problem?
> 
> I suppose that it is a clock/interrupts per sec is too much -> clock freq is
> higher than the linux/pws implimentors though it was ( by the account some 
> 16% higher ( 1/6 hour ) )
> 
> from a cursorey look at the kern, it diesnt seem to be set there, maybe the
> bootstrap pgm (MILO maybe ????)

Yes, well, actually, the problem *will* be fixed by a new MILO, but it's not
ready yet.

Seems that you have to use extra caution with some of the propagation delays
through the core logic chipset on MIATA (and LX164, for that matter); if you
don't, its possible to take a second interrupt from the timer before the
previous interrupt clear has made its way through the circuitry, thus resulting
in counting some ticks more than once... :-(

A problem with a known solution, but at the moment we can't build the PALcode
(where the fix is) from source under LINUX, so until we *can*, you'll have to
live with this problem.

I promise an announcement on axp-list when the MILO is ready.

--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.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
@ 1997-09-12  9:12 Uncle George
  0 siblings, 0 replies; 9+ messages in thread
From: Uncle George @ 1997-09-12  9:12 UTC (permalink / raw)


Koichi Kawabata wrote:

> Hi,
>
> I'm runnning RedHAt 4.2 Linux on DEC PWS 433a(Miata) and having a
> problem with its clock. The system clock (displayed by 'date' command)
> goes too faster than the CMOS clock.
> Andreas Ulrich Trottmann (atrottma@g26.ethz.ch) wrote on
> Wed, 30 Apr 1997 00:31:43 +0200 (MET DST):
> > Second: The clock runs quite fast -- after one "real" hour, the system
> > time has advanced about one hour and ten minutes. The CMOS time reported
> > by clock -Au -r is correct, however.
>
> Does anybody know how to solve this problem?

I suppose that it is a clock/interrupts per sec is too much -> clock freq is
higher than the linux/pws implimentors though it was ( by the account some 16%
higher ( 1/6 hour ) )

from a cursorey look at the kern, it diesnt seem to be set there, maybe the
bootstrap pgm (MILO maybe ????)

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
       [not found] <199709120452.NAA00520@hk.in.3ware.co.jp>
@ 1997-09-12  9:27 ` Andreas U. Trottmann
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas U. Trottmann @ 1997-09-12  9:27 UTC (permalink / raw)


On Fri, Sep 12, 1997 at 01:52:53PM +0900, Koichi Kawabata wrote:

> I'm runnning RedHAt 4.2 Linux on DEC PWS 433a(Miata) and having a
> problem with its clock. The system clock (displayed by 'date' command)
> goes too faster than the CMOS clock.
> 
> I found the same problem are reported by Andreas Ulrich Trottmann
> on this list as follows:
> 
> > Second: The clock runs quite fast -- after one "real" hour, the system
> > time has advanced about one hour and ten minutes. The CMOS time reported
> > by clock -Au -r is correct, however.
> 
> Does anybody know how to solve this problem?

Umm, actually, I still haven't found /the/ solution... I haven't done 
anything I think that could have fixed it, but by now, the clock runs at 
correct speed /most/ of the time. However, from time to time, it runs too 
fast again. Kind of a Heisenbug (if you look at it, it vanishes) :)

Up to now, nobody on the list has had any ideas concerning the "bug", 
although several people (all of them Miata owners) are suffering from it. 

-- 
Andreas Trottmann <andreas.trottmann@aart.ch>

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
       [not found] <19970912112706.00476@vision.aart.ch>
@ 1997-09-12 11:20 ` Tom Browder
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Browder @ 1997-09-12 11:20 UTC (permalink / raw)


My company owns a Microway Screamer 500MHx--and it suffers same problem.

Tom Browder

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
@ 1997-09-13 14:20 Uncle George
  0 siblings, 0 replies; 9+ messages in thread
From: Uncle George @ 1997-09-13 14:20 UTC (permalink / raw)


I am curious as to how u know of this? at 500mhz ( 433 mhz ) u need
awfully specialised equip to see this happen.

Doesn't dec have a cure where they will distribute their PAL code. This
does seem to be a serious bug that might warrent a PAL upgrade ( FREE i
hope  to those that have the prob ).

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
@ 1997-09-13 15:37 Jay A Estabrook
  0 siblings, 0 replies; 9+ messages in thread
From: Jay A Estabrook @ 1997-09-13 15:37 UTC (permalink / raw)


At 10:20 AM 9/13/97 -0400, you wrote:
>I am curious as to how u know of this? at 500mhz ( 433 mhz ) u need
>awfully specialised equip to see this happen.

First off, it's not the 500MHz clock, its the 1024 ticks/sec RTC.

What the additional code does, is check that there's really an interrupt
posted in the RTC status register; if not, it ignores it. Previously, the
register was simply read (which clears the interrupt) but not checked,
believing that the interrupt would come through only when there *was one
posted.

I think the problem occurs in that the core logic chipset on the MIATA/LX164,
known as PYXIS, seems to not have its interrupt cleared fast enough when the
RTC register is read; the interrupt code may exit and re-enable interrupts
when the interrupt bit in PYXIS has not been cleared yet, thus re-entering
interrupt level right away, falsely.

The above info was related to me by the person who did/does the SRM console
on MIATA, because they saw the same problem (clock too fast) and had the
necessary equipment to track it down, or intelligence to figure it out... :-)

>Doesn't dec have a cure where they will distribute their PAL code. This
>does seem to be a serious bug that might warrent a PAL upgrade ( FREE i
>hope  to those that have the prob ).

If we were using the *official* PALcode for MIATA, we wouldn't see this, as
its been fixed. However, MILO's PALcode is *not* the official one.

And yes, we *do* distribute the PALcode, but its the sample PALcode that
Digital Semiconductor releases for their boards, of which MIATA is not one.
So, we have been using the EB164 sample PALcode, which uses CIA and not
PYXIS, and thus doesn't have this problem.

And of course, the solution, when available, will be FREE as MILO always
has been... :-)

--Jay++

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
       [not found] <341C4242.4A0D3B8F@voicenet.com>
@ 1997-09-14 17:12 ` jestabro
  0 siblings, 0 replies; 9+ messages in thread
From: jestabro @ 1997-09-14 17:12 UTC (permalink / raw)


>>> Uncle George said:
> 
> Huuuummmmm. I always though the PAL was loaded from the srm/arc ( eeprom )
> resources AND that is what u used for linux. Looks like I learned something
> new about the loading of the PAL code. Can I also presume that the execution
> of the PAL is just about the same on all alpha machines that are ported? 
> how interesting.

Certainly, the SRM PALcode (used by Digital UNIX, OpenVMS) can be used by
LINUX; that's how Linus got started on the JENSEN.

ARC/AlphaBIOS PALcode, ie that intended to be used by NT, is *NOT* usable
by LINUX at this time. This is where MILO comes in; it provides PALcode that
is very similar to SRM PALcode, so that LINUX can run.

The PALcode appearing in MILO is based on the so-called "sample" PALcode
produced and distributed by Digital Semiconductor as part of our Evaluation
Board System Developers Kit (EBSDK). This was initally produced specifically
to give to third party hardware houses, to help them to build and sell systems
based on the Alpha CPUs.

The example PALcode sets have been modified, over time, to support some of
the systems not actually built by Digital Semiconductor, systems such as
AVANTI/XL, ALCOR/XLT, MIATA. Until the introduction of the LX164, *all* the
EV5-based platforms supported were using EB164-based PALcode.

--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.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: DEC PWS 433a(Miata) clock problem
@ 1997-09-14 20:00 Uncle George
  0 siblings, 0 replies; 9+ messages in thread
From: Uncle George @ 1997-09-14 20:00 UTC (permalink / raw)


Jay A Estabrook wrote:

> >Doesn't dec have a cure where they will distribute their PAL code. This
> >does seem to be a serious bug that might warrent a PAL upgrade ( FREE i
> >hope  to those that have the prob ).
>
> If we were using the *official* PALcode for MIATA, we wouldn't see this, as
> its been fixed. However, MILO's PALcode is *not* the official one.

Huuuummmmm. I always though the PAL was loaded from the srm/arc ( eeprom )
resources AND that is what u used for linux. Looks like I learned something new
about the loading of the PAL code. Can I also presume that the execution of the
PAL is just about the same on all alpha machines that are ported?  how
interesting.

Even though is is only 1024 hz, the interrupt latency, or execution of core from
there is measured  ( for a 500mhz box should be ) in the ns.

Uncle George

>

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1997-09-14 20:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-14 20:00 DEC PWS 433a(Miata) clock problem Uncle George
     [not found] <341C4242.4A0D3B8F@voicenet.com>
1997-09-14 17:12 ` jestabro
  -- strict thread matches above, loose matches on Subject: below --
1997-09-13 15:37 Jay A Estabrook
1997-09-13 14:20 Uncle George
     [not found] <19970912112706.00476@vision.aart.ch>
1997-09-12 11:20 ` Tom Browder
     [not found] <199709120452.NAA00520@hk.in.3ware.co.jp>
1997-09-12  9:27 ` Andreas U. Trottmann
1997-09-12  9:12 Uncle George
     [not found] <3419077B.16832DB4@voicenet.com>
1997-09-12  5:20 ` jestabro
1997-09-12  4:52 Koichi Kawabata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox