Subject: setting year to 2094 casuing Error.

Hi,

Iam working on linux system with Redhat -8.0.

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.

Can any one tell me about this???

Thanks in advance

-Ranga


2003-07-15 06:20:53

by Tupshin Harper

[permalink] [raw]
Subject: Re: setting year to 2094 casuing Error.

Ranga Reddy M - CTD ,Chennai. wrote:

>Hi,
>
>Iam working on linux system with Redhat -8.0.
>
>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.
>
>Can any one tell me about this???
>
>Thanks in advance
>
>-Ranga
>
>
http://www.howstuffworks.com/question75.htm

-Tupshin

2003-07-15 07:11:20

by Joel Jaeggli

[permalink] [raw]
Subject: Re: setting year to 2094 casuing Error.

the 32bit epoch ends in 2038...

joelja

On Mon, 14 Jul 2003, Tupshin Harper wrote:

> Ranga Reddy M - CTD ,Chennai. wrote:
>
> >Hi,
> >
> >Iam working on linux system with Redhat -8.0.
> >
> >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.
> >
> >Can any one tell me about this???
> >
> >Thanks in advance
> >
> >-Ranga
> >
> >
> http://www.howstuffworks.com/question75.htm
>
> -Tupshin
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

--
--------------------------------------------------------------------------
Joel Jaeggli Academic User Services [email protected]
-- PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E --
In Dr. Johnson's famous dictionary patriotism is defined as the last
resort of the scoundrel. With all due respect to an enlightened but
inferior lexicographer I beg to submit that it is the first.
-- Ambrose Bierce, "The Devil's Dictionary"


2003-07-15 14:03:12

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: setting year to 2094 casuing Error.

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.


Attachments:
(No filename) (226.00 B)

2003-07-15 18:39:51

by Tupshin Harper

[permalink] [raw]
Subject: Re: setting year to 2094 casuing Error.

[email protected] 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

2003-07-15 19:18:08

by Richard B. Johnson

[permalink] [raw]
Subject: Re: setting year to 2094 casuing Error.

On Tue, 15 Jul 2003, Tupshin Harper wrote:

> [email protected] 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.