* VAXstation Hardware and Y2K
@ 1998-07-09 4:00 Jerry
1998-07-09 4:00 ` Tim Shoppa
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jerry @ 1998-07-09 4:00 UTC (permalink / raw)
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.
The M76 has a DS1287A clock module which is not year 2000
compliant - it is basically an MC146818 (with a lithium
battery) that stores the year as a two-digit BCD number.
It is, however, in a socket which would seem to imply that
the designers planned for a hardware upgrade (say, the
DS12C887, which is pin-compatible with the DS1287A but is
Y2K compliant). Does VMS (V7.1) correctly handle the DS12C887
in these older workstations? Or maybe I should first ask,
What Y2K-compliant clock module is used in the newer
VAXstations?
The VAXstation 3100/M38 and VAXstation 2000 both use the
MC146818, which is not Y2k compliant.
Does VMS by chance take advantage of the spare RAM in
the MC146818-type parts to handle years greater than "99"
(1999)? It'd be a pretty bad kludge, but could probably
be done.
BTW, Please copy my e-mail address (remove underscores) on
all responses since my usenet feed seems to be rather
unreliable.
Jerry
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: VAXstation Hardware and Y2K 1998-07-09 4:00 VAXstation Hardware and Y2K Jerry @ 1998-07-09 4:00 ` Tim Shoppa 1998-07-09 4:00 ` John Laird 1998-07-09 4:00 ` Antonio Carlini 2 siblings, 0 replies; 10+ messages in thread From: Tim Shoppa @ 1998-07-09 4:00 UTC (permalink / raw) In article <35A4AD5F.65AF16EF@__m-net.arbornet.org__>, Jerry <__jerome__@__m-net.arbornet.org__> wrote: >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. > >The M76 has a DS1287A clock module which is not year 2000 >compliant - it is basically an MC146818 (with a lithium >battery) that stores the year as a two-digit BCD number. You're making the common mistake that "either the hardware is not Y2K compliant, or the software is not Y2K compliant", when in reality what you have to be concerned about is the combination of the two. In the case of VAXstation clocks, VMS has for a long time known how to "roll over" the clock hardware. Testing I did with VMS 5.4 showed that it not only handled the 1999->2000 transition, but it also handled 2099->2100, 2199->2200, and I would guess it would handle future century rollovers without a hitch, though if future transitions are important to you, I'd advise that you do your own testing! The rollover logic isn't that hard to implement; it's clearly outlined in the DS1287A/MC146818 documentation. Tim. (shoppa@triumf.ca) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-09 4:00 VAXstation Hardware and Y2K Jerry 1998-07-09 4:00 ` Tim Shoppa @ 1998-07-09 4:00 ` John Laird 1998-07-09 4:00 ` Antonio Carlini 2 siblings, 0 replies; 10+ messages in thread From: John Laird @ 1998-07-09 4:00 UTC (permalink / raw) 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. > > The M76 has a DS1287A clock module which is not year 2000 > compliant - it is basically an MC146818 (with a lithium > battery) that stores the year as a two-digit BCD number. > It is, however, in a socket which would seem to imply that > the designers planned for a hardware upgrade (say, the > DS12C887, which is pin-compatible with the DS1287A but is > Y2K compliant). Does VMS (V7.1) correctly handle the DS12C887 > in these older workstations? Or maybe I should first ask, > What Y2K-compliant clock module is used in the newer > VAXstations? > > The VAXstation 3100/M38 and VAXstation 2000 both use the > MC146818, which is not Y2k compliant. As far as I know, Digital/Compaq have stated that all Vax hardware has no Y2K problems related to the battery backup clocks. While my Internals and Data Structures manual is a little old, the implication is that the external clock need be little more than an interval timer, with the ability to store a time up to about 15 months from some base. VMS itself stores its current year information on-disk and represents the time-of-year in a 32-bit register to 1ms precision (in addition to the proper 8-byte internal time at 100ns precision). At an individual processor level, reading or writing this register will cause translation to or from the external representation used by the clock chip. I wouldn't be surprised to find that the "time" is transferred to and from the clock in binary format, and not BCD at all. This rather strange design can probably be attributed to the fact that the first Vax was designed in the late 70s, when calendar chips probably didn't exist. If so, then its very basic assumptions have probably resulted in automatic Y2K compliance, in contrast to much more recent PC/BIOS (mis-)implementations. > BTW, Please copy my e-mail address (remove underscores) on > all responses since my usenet feed seems to be rather > unreliable. Ask here, get an answer here. -- John Laird (john@yrl.co.uk) "I have discovered a truly elegant sig, Yezerski Roper Ltd sadly there is no room here to show it." http://www.yrl.co.uk ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-09 4:00 VAXstation Hardware and Y2K Jerry 1998-07-09 4:00 ` Tim Shoppa 1998-07-09 4:00 ` John Laird @ 1998-07-09 4:00 ` Antonio Carlini 1998-07-10 4:00 ` Hoff Hoffman 2 siblings, 1 reply; 10+ messages in thread From: Antonio Carlini @ 1998-07-09 4:00 UTC (permalink / raw) 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. |> |>The M76 has a DS1287A clock module which is not year 2000 |>compliant - it is basically an MC146818 (with a lithium |>battery) that stores the year as a two-digit BCD number. |>It is, however, in a socket which would seem to imply that |>the designers planned for a hardware upgrade (say, the |>DS12C887, which is pin-compatible with the DS1287A but is |>Y2K compliant). |> Does VMS (V7.1) correctly handle the DS12C887 |>in these older workstations? Or maybe I should first ask, |>What Y2K-compliant clock module is used in the newer |>VAXstations? |> During the bootstrap process VMS reads the time of day register (TODR) and validates the result. It also keeps track of the last time a $SETIM was done in the SYS.EXE image. AFAIK, the century contents of any RTC are not used. So there should be no problem. I've certainly performed Y2K testing of various MicroVAXen from the same era without encountering any problems (although I din't actually use any of the VS3100 series in my work). I do not know what RTC is used in the later VAXen, but I don't think it matters for the reasons stated above. As always, these are just my personal opinions and YMMV. Antonio -- Antonio Carlini Mail: carlini@marvin.enet.dec.com DECnet-Plus for OpenVMS Engineering Digital Equipment Corporation Worton Grange, Reading, England (Reply-To: address mangled in header) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-09 4:00 ` Antonio Carlini @ 1998-07-10 4:00 ` Hoff Hoffman 1998-07-10 4:00 ` fairfield 1998-07-19 4:00 ` Phillip Helbig 0 siblings, 2 replies; 10+ messages in thread From: Hoff Hoffman @ 1998-07-10 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-10 4:00 ` Hoff Hoffman @ 1998-07-10 4:00 ` fairfield 1998-07-19 4:00 ` Phillip Helbig 1 sibling, 0 replies; 10+ messages in thread From: fairfield @ 1998-07-10 4:00 UTC (permalink / raw) In article <6o5uv0$skn@usenet.pa.dec.com>, hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) writes: [...lots of good stuff about VAX time keeping elided...] > OpenVMS (on the VAX platform) stores system date information -- and in > particular, the current year -- in the system image, SYS$SYSTEM:SYS.EXE. ^^^^^^^^^^ <SNIP> > 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). A small nit: SYS.EXE will be found in the SYS$SPECIFIC: root of SYS$LOADABLE_IMAGES:, at least as of VMS 6 (don't have access to older version systems). SYS.MAP and SYS.STB remain in SYS$SYSTEM (in the SYS$COMMON root). Just in case anyone wanted to go looking for them... -Ken -- Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX) Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515 ------------------------------------------------------------------------- These opinions are mine, not SLAC's, Stanford's, nor the DOE's... ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-10 4:00 ` Hoff Hoffman 1998-07-10 4:00 ` fairfield @ 1998-07-19 4:00 ` Phillip Helbig 1998-07-20 4:00 ` John Laird 1998-07-20 4:00 ` Jan Vorbrueggen 1 sibling, 2 replies; 10+ messages in thread From: Phillip Helbig @ 1998-07-19 4:00 UTC (permalink / raw) In article <6o5uv0$skn@usenet.pa.dec.com>, hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) writes: > 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. Is there any reason not to issue this command once a day, say in my nightly BACKUP/cleanup batch job? Ideally, the system should continue to stay up forever, with no human intervention. :) -- Phillip Helbig Email ......... p.helbig@jb.man.ac.uk Nuffield Radio Astronomy Laboratories Tel. .... +44 1477 571 321 (ext. 297) Jodrell Bank Fax ................ +44 1477 571 618 Macclesfield Telex ................ 36149 JODREL G UK-Cheshire SK11 9DL Web ... http://www.jb.man.ac.uk/~pjh/ My opinions are not necessarily those of NRAL or the University of Manchester. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-19 4:00 ` Phillip Helbig @ 1998-07-20 4:00 ` John Laird 1998-07-20 4:00 ` Jan Vorbrueggen 1 sibling, 0 replies; 10+ messages in thread From: John Laird @ 1998-07-20 4:00 UTC (permalink / raw) In article <6ottvl$nr2$1@probity.mcc.ac.uk>, helbig@man.ac.uk (Phillip Helbig) writes: > In article <6o5uv0$skn@usenet.pa.dec.com>, > hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) writes: > >> 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. > > Is there any reason not to issue this command once a day, say in my > nightly BACKUP/cleanup batch job? Ideally, the system should continue > to stay up forever, with no human intervention. :) If you are going to do this, use $ SET TIME="''F$TIME()'", which will not noticeably affect your system clock. Using $ SET TIME with no parameters will continually reset the system clock to follow the battery clock. Of course, if you know that to be more accurate from testing, fine. I'm going to take slight issue with Hoff's advice. As I read my (old) copy of the I&DS manual, *any* SET TIME request will update both the TOY clock *and* the base year in SYS.EXE (if necessary), handling the change required in the first 3 months or so of a new year. Without parameters, the time-to-use is first *taken* from the TOY clock. -- John Laird (john@yrl.co.uk) "I have discovered a truly elegant sig, Yezerski Roper Ltd sadly there is no room here to show it." http://www.yrl.co.uk ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-19 4:00 ` Phillip Helbig 1998-07-20 4:00 ` John Laird @ 1998-07-20 4:00 ` Jan Vorbrueggen 1998-07-20 4:00 ` Hoff Hoffman 1 sibling, 1 reply; 10+ messages in thread From: Jan Vorbrueggen @ 1998-07-20 4:00 UTC (permalink / raw) helbig@man.ac.uk (Phillip Helbig) writes: > Is there any reason not to issue this command once a day [...]? I don't think so, but it would be overkill: Once a year is enough, as the main function is to update the current year in the system image. Jan ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: VAXstation Hardware and Y2K 1998-07-20 4:00 ` Jan Vorbrueggen @ 1998-07-20 4:00 ` Hoff Hoffman 0 siblings, 0 replies; 10+ messages in thread From: Hoff Hoffman @ 1998-07-20 4:00 UTC (permalink / raw) In article <y4u34czut2.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>, Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> writes: :helbig@man.ac.uk (Phillip Helbig) writes: : :> Is there any reason not to issue this command once a day [...]? : :I don't think so, but it would be overkill: Once a year is enough, as the main :function is to update the current year in the system image. Once a year (shortly after January 1st) is all that is necessary here. I would definitely not issue the SET TIME command daily. Various sites have set aside sets of BACKUP tapes for daily, weekly, monthly, and yearly BACKUPs on a schedule -- the associated BACKUP command procedures would be an obvious spot for the necessary SET TIME command. -------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1998-07-20 4:00 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-07-09 4:00 VAXstation Hardware and Y2K Jerry 1998-07-09 4:00 ` Tim Shoppa 1998-07-09 4:00 ` John Laird 1998-07-09 4:00 ` Antonio Carlini 1998-07-10 4:00 ` Hoff Hoffman 1998-07-10 4:00 ` fairfield 1998-07-19 4:00 ` Phillip Helbig 1998-07-20 4:00 ` John Laird 1998-07-20 4:00 ` Jan Vorbrueggen 1998-07-20 4:00 ` Hoff Hoffman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox