linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Tupshin Harper <tupshin@tupshin.com>
Cc: Valdis.Kletnieks@vt.edu,
	"Ranga Reddy M - CTD ,Chennai." <rangareddym@ctd.hcltech.com>,
	linux-kernel@vger.kernel.org
Subject: Re: setting year to 2094 casuing Error.
Date: Tue, 15 Jul 2003 15:35:29 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.53.0307151523530.20747@chaos> (raw)
In-Reply-To: <3F144D88.8000401@tupshin.com>

On Tue, 15 Jul 2003, Tupshin Harper wrote:

> Valdis.Kletnieks@vt.edu wrote:
>
> >On Mon, 14 Jul 2003 23:35:35 PDT, Tupshin Harper said:
> >
> >
> >>Ranga Reddy M - CTD ,Chennai. wrote:
> >>
> >>
> >>>I have set the system time from BIOS to 17/03/2094.After setting this
> >>>,booted with linux O.S.
> >>>
> >>>Now its showing system date as year=1994.I did not get how this happend.
> >>>
> >>>
> >
> >
> >
> >>http://www.howstuffworks.com/question75.htm
> >>
> >>
> >
> >Yes, but if it was a 2038 problem, you'd expect a date in 2094 to roll
> > over to 2026 (as
> >2094 is 56 years past 2038, and 2026 is 56 past 1970).
> >
> >I suspect he has a crippled clock chip that only keeps 2 digits of year.
> >
> >
> Agreed...I didn't do the math to verify that was his only problem, but
> he seemed unaware that there are *any* known problems with dates in the
> future, and the URL i sent was merely designed to point out that such
> dates are unsupported for now.
>
> -Tupshin
>

It's hardly a "crippled" clock chip. It's just the way it was
designed.  Crippled implies that it was previously better.
The year goes from 00 to 99 in BCD (currently) although, if you
muck up everything you can set it to 0 to 255 in binary
but you have to rewrite the BIOS <grin>...

Also, the century byte is in BCD too. That makes the end of
the world as we know it on 9999 some 7,996 years from now.
Before then, the MC146818A chip emulation will be replaced
with a 16,384-bit virtual device so don't worry.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


      reply	other threads:[~2003-07-15 19:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15  5:55 setting year to 2094 casuing Error Ranga Reddy M - CTD ,Chennai.
2003-07-15  6:35 ` Tupshin Harper
2003-07-15  7:24   ` Joel Jaeggli
2003-07-15 14:17   ` Valdis.Kletnieks
2003-07-15 18:52     ` Tupshin Harper
2003-07-15 19:35       ` Richard B. Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.53.0307151523530.20747@chaos \
    --to=root@chaos.analogic.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rangareddym@ctd.hcltech.com \
    --cc=tupshin@tupshin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).