From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,86d6343cf4b1bc56 X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) Subject: Re: Y2k compliance for MV3400 h/w Date: 1998/08/03 Message-ID: <6q4v3f$fqp@usenet.pa.dec.com> X-Deja-AN: 377563231 Distribution: world References: <6q038t$168$1@osprey.global.co.za> Organization: Compaq Computer Corporation Reply-To: hoffman@xdelta.zko.dec.nospam Newsgroups: comp.sys.dec In article <6q038t$168$1@osprey.global.co.za>, "Hansell Williams" writes: :Ive been unable to (easily) find info on the web about h/w compliance of :onboard TOY clock. If the MicroVAX 3400 system is itself listed as Y2K evaluated in the Y2K hardware list, then the TOY clock for that system is compliant. The TOY clock doesn't store years. Only days. (See a *long* discussion on the TOY clock that I posted recently in comp.os.vms and comp.sys.dec, and various other discussions I've posted. The discussions are all easily accessable via the http://www.dejanews.com/ search engine and associated newsgroup archives -- I have attached one discussion below.) The most recent edition of the OpenVMS Frequently Asked Questions (FAQ) has a new section on Y2K, with pointers and basic information. (As Y2K questions get more and more common, we are working to to make the Y2K answers more readily available, and available via paths.) -------------------------- 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 -- Subject: Re: VAXstation Hardware and Y2K From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) Date: 1998/07/10 Message-ID: <6o5uv0$skn@usenet.pa.dec.com> Newsgroups: comp.sys.dec,comp.os.vms [More Headers] [Subscribe to comp.sys.dec] 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