linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* setting year to 2094 casuing Error.
@ 2003-07-15  5:55 Ranga Reddy M - CTD ,Chennai.
  2003-07-15  6:35 ` Tupshin Harper
  0 siblings, 1 reply; 6+ messages in thread
From: Ranga Reddy M - CTD ,Chennai. @ 2003-07-15  5:55 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setting year to 2094 casuing Error.
  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
  0 siblings, 2 replies; 6+ messages in thread
From: Tupshin Harper @ 2003-07-15  6:35 UTC (permalink / raw)
  To: Ranga Reddy M - CTD ,Chennai.; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setting year to 2094 casuing Error.
  2003-07-15  6:35 ` Tupshin Harper
@ 2003-07-15  7:24   ` Joel Jaeggli
  2003-07-15 14:17   ` Valdis.Kletnieks
  1 sibling, 0 replies; 6+ messages in thread
From: Joel Jaeggli @ 2003-07-15  7:24 UTC (permalink / raw)
  To: Tupshin Harper; +Cc: Ranga Reddy M - CTD ,Chennai., linux-kernel

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 majordomo@vger.kernel.org
> 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   joelja@darkwing.uoregon.edu    
--    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"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setting year to 2094 casuing Error.
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Valdis.Kletnieks @ 2003-07-15 14:17 UTC (permalink / raw)
  To: Tupshin Harper; +Cc: Ranga Reddy M - CTD ,Chennai., linux-kernel

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setting year to 2094 casuing Error.
  2003-07-15 14:17   ` Valdis.Kletnieks
@ 2003-07-15 18:52     ` Tupshin Harper
  2003-07-15 19:35       ` Richard B. Johnson
  0 siblings, 1 reply; 6+ messages in thread
From: Tupshin Harper @ 2003-07-15 18:52 UTC (permalink / raw)
  To: Valdis.Kletnieks; +Cc: Ranga Reddy M - CTD ,Chennai., linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setting year to 2094 casuing Error.
  2003-07-15 18:52     ` Tupshin Harper
@ 2003-07-15 19:35       ` Richard B. Johnson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard B. Johnson @ 2003-07-15 19:35 UTC (permalink / raw)
  To: Tupshin Harper
  Cc: Valdis.Kletnieks, Ranga Reddy M - CTD ,Chennai., linux-kernel

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-15 19:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).