From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman)
Subject: Re: VAXstation Hardware and Y2K
Date: 1998/07/10 [thread overview]
Message-ID: <6o5uv0$skn@usenet.pa.dec.com> (raw)
In-Reply-To: 6o2m9r$9rj$1@nntpd.lkg.dec.com
In article <35A4AD5F.65AF16EF@__m-net.arbornet.org__>, Jerry <__jerome__@__m-net.arbornet.org__> writes:
:I understand the VMS and VMS applications are ready for the
:year 2000 (for the most part), however what about older
:_hardware_? For example, I run VMS on a VAXstation 3100/M76
:and VAXstation 3100/M38.
Please see the corporate web site for the official hardware and
software product Y2K ("Year 2000") status information and evaluation
status.
I have expunged a discussion of the DS1287A (MC146818) chip that
was included in the posting cited above. The posting specifically
referenced a two-digit BCD mode used for the storage of the year
within this chip, and the use of a socket for this particular chip.
(I have not verified either of these...)
Since the original poster has instigated a discussion of arcane and
obscure features, I feel safe replying in similar detail :-) -- here
is a description of how OpenVMS maintains system time on a VAX:
VAX systems maintain an interval clock, and a hardware clock.
The VAX hardware clock is called the TOY ("Time Of Year") clock. The
register associated with the clock is called the TODR ("Time Of Day
Register").
The TOY clock -- as used -- stores time relative to January first of the
current year, starting at at 00:00:00.00. It is a 100 Hz, 32-bit counter,
incremented every 10ms, and thus has a capacity of circa 497 days.
OpenVMS (on the VAX platform) stores system date information -- and in
particular, the current year -- in the system image, SYS$SYSTEM:SYS.EXE.
The TOY is used, in conjunction with the base date that is stored and
retrieved from the system image, to initialize the interval clock value
that is stored in EXE$GQ_SYSTIME.
Once the interval clock is loaded, the system does not typically reference
the TOY again, unless a SET TIME (with no parameters) is issued. The
interval clock value is updated by a periodic IPL22 or IPL24 (depending
on the specific VAX) interrupt. (When these interrupts are blocked as
a result of the activity of higher-IPL code -- such as extensive driver
interrupt activity or a hardware error -- the clock will "loose" time,
and the time value reported to the user with appear to have slowed down.)
Because the TOY has a resolution of 497 days, you need to issue a "SET
TIME" (with no parameters) at least once between January 1st and about
April 11th of each year. The SET TIME is issued during various OpenVMS
procedures such as SHUTDOWN, and can be issued directly. Issuing SET
TIME resets the value stored in the TOY, and updates the current year
saved in the system image.
This usage is the reason that OpenVMS installation kits explicitly prompt
for the time during bootstrap, and why the time value can "get weird" if
the system crashes outside the 497 day window (if no SET TIME was issued
to update the saved values), and why the time value can "get weird" if a
different SYS$SYSTEM:SYS.EXE is used (alternate system disk, standalone
BACKUP, etc).
If you are intent on proving that hardware or software does (or does not)
have a Y2K problem -- and the testing of applications and system hardware
is something that OpenVMS recommends be performed -- then by all means
please perform some local testing. As has been mentioned elsewhere and
as should be clear from this discussion, it is possible to build a non-Y2K
system out of entirely Y2K-compliant products, and it is also possible to
build a Y2K system out of non-Y2K-compliant products. If you are betting
your business, then seriously consider performing at least some simple
Y2K testing...
And I expect the socketing of the DS1287A was a result of the expected
need to occasionally replace the lithium battery -- TOY clock problems
in VAX systems do regularly get tracked back to a failed nicad or lithium
battery pack. (Things with rechargable batteries often have a plug or a
socket that allows the battery to be changed -- well, those things that
were designed with the expectation of out-living the battery, that is. :-)
For pointers to information on OpenVMS Y2K ("Year 2000") information and
for a whole host of other useful information on other topics, please see
the OpenVMS Frequently Asked Questions (FAQ):
http://ftp.digital.com/pub/Digital/dec-faq/vms
The direct pointer is:
http://www.openvms.digital.com/openvms/products/year-2000/
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com
note to those folks not contributing spam -- there is no ZZ in my address
next prev parent reply other threads:[~1998-07-10 4:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-09 4:00 VAXstation Hardware and Y2K Jerry
1998-07-09 4:00 ` Antonio Carlini
1998-07-10 4:00 ` Hoff Hoffman [this message]
1998-07-10 4:00 ` fairfield
1998-07-19 4:00 ` Phillip Helbig
1998-07-20 4:00 ` Jan Vorbrueggen
1998-07-20 4:00 ` Hoff Hoffman
1998-07-20 4:00 ` John Laird
1998-07-09 4:00 ` John Laird
1998-07-09 4:00 ` Tim Shoppa
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