Forum     

Go Back   Digit Technology Discussion Forum > News > Technology News
Register FAQ Calendar Mark Forums Read

Technology News News from the world of technology that our members stumble across. NOTE: Sources to be mentioned at the beginning of each post.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 23-12-2007, 12:23 PM   #1 (permalink)
!! RecuZant By Birth !!
 
naveen_reloaded's Avatar
 
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
Red face Linux Is Not Y2K(38) Compliant!?


According to www.y2k38.info, all 32 bit Unix and Linux systems, in their current state, will come to a halt on January 19, 2038 at 3:14:07. This is due to the fact that *nix systems keep track of time in a four byte integer corresponding to the number of seconds after January 1, 1970 12:00:00. The maximum value of a four byte integer is 2,146,483,547 which is equivalent of January 19, 2038 at 3:14:07.


What happens when Linux is set to January 19, 2038 at 3:14am?



Quote:
$ date -s “01/19/2038 03:14:00″
date: invalid date `01/19/2038 03:14:00′
Hrm. Linux won’t let that date be set for obvious reasons. I was able to get the command to take once while running the Linux Mint 4.0 live CD. (don’t ask me how; I am unable to reproduce it).

The train of events from January 19, 2038 at 3:14:00 until January 19, 2038 at 3:14:07:
After executing the date command several times, it was taking at least 10 seconds for one real second to pass in the system. Odd. It seemed to grow longer as each second passed.
Finally, the system time reached January 19, 2038 at 3:14:07, when the state of the OS was discombobulated to say the least. I could not start nor stop any applications. I did get a peek at the year — it was set back at 1901.
Restarted the X server with Ctrl+Alt+Backspace. I was lucky to get a task bar with no buttons.
I was in VMware and the Ctrl+Alt+F# keys were being passed to the host; no alternate tty access.
The only thing left was to power off. No rebooting to see if it would come up since this was experienced from a live CD environment.

I tried my best to get a screen cast — this was a failed attempt. The latest time that the Linux date command will accept is around 01/18/2038 22:00:00. The system seconds were equal to 5 real seconds and seemingly got longer and longer. It may have taken a year to reach 01/19/2038 in Y2K38 bug time. Sorry, no screen cast.

By the way, unlike Y2K, this is acually real.

By 2038 I am quite sure we will not have anything to worry about. Everything will be 64bit or more and will not be affected. If there is, by chance, any 32bit *nix systems left by then I am sure a patch is feasible. Why was the *nix time stamp developed like this? If you have any information about why, leave a comment — we would love to hear it as I am sure it has it’s pros and cons.


http://www.hackosis.com/index.php/20...k38-compliant/
__________________
Know My Thoughts..
Visit my Blog @ www.Urssiva.com
Visit My Tech Blog @ www.CloudTechnica.com
naveen_reloaded is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 23-12-2007, 12:26 PM   #2 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,924
Default Re: Linux Is Not Y2K(38) Compliant!?

thats what we were discussing on IRC....

Any way.... nice finding... Thanks !!
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 23-12-2007, 12:44 PM   #3 (permalink)
In The Zone
 
Join Date: May 2007
Location: Pune
Posts: 247
Default Re: Linux Is Not Y2K(38) Compliant!?

I am really surprised with this.
And this info came into light after all these years after Y2K bug... Strange!!
__________________
Anyone who has never made a mistake has never tried anything new
sandeepk is offline  
Old 23-12-2007, 12:53 PM   #4 (permalink)
Juke Box Hero
 
Join Date: Aug 2007
Posts: 1,204
Default Re: Linux Is Not Y2K(38) Compliant!?

2038., big deal! People are talking about the end of the world in 5 years and these are bothered about computers 30 years into future.

Seriously, it will be fixed by that time, no need to worry.
Hitboxx is offline  
Old 23-12-2007, 12:56 PM   #5 (permalink)
ico
.
 
ico's Avatar
 
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
Default Re: Linux Is Not Y2K(38) Compliant!?

I am too amazed. Thanks for the info.
__________________
.
ico is offline  
Old 23-12-2007, 01:46 PM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Linux Is Not Y2K(38) Compliant!?

isnt this already posted here looong back? afaik even microsoft too got this problem!not a programmer but it has to do with some C function time.h.

There are lot of options to fix this.but the fix wont have any use as by 2038,this gen PC's are may not be there even if 64-bit may be older by that time

Hey!this is not a big deal.
OK.it was posted in 2005 itself!the thread was deleted when upgraded to Vbulletine may be:
Year 2038 problem !!
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 23-12-2007, 06:42 PM   #7 (permalink)
A LOTR fan
 
x3060's Avatar
 
Join Date: Dec 2007
Posts: 1,173
Default Re: Linux Is Not Y2K(38) Compliant!?

first lets survive for another 5 years , then we will see :-P
__________________
How many kilometers are there from washington Dc to Miami beach?????....;)

unban praka123!!!....
x3060 is offline  
Old 25-12-2007, 10:47 AM   #8 (permalink)
!! RecuZant By Birth !!
 
naveen_reloaded's Avatar
 
Join Date: May 2005
Location: In Everyone`s Heart
Posts: 2,985
Default Re: Linux Is Not Y2K(38) Compliant!?

I dont know why everyone is talking about doom's day..here..
__________________
Know My Thoughts..
Visit my Blog @ www.Urssiva.com
Visit My Tech Blog @ www.CloudTechnica.com
naveen_reloaded is offline  
Old 25-12-2007, 01:04 PM   #9 (permalink)
The Smaller Bang
 
MetalheadGautham's Avatar
 
Join Date: Sep 2007
Location: Gautham City
Posts: 7,492
Default Re: Linux Is Not Y2K(38) Compliant!?

linux is !windows. they will fix it much before it has a lasting impact. I suppose ext4 file system may fix some stuff, so that the kernel can be upgraded to a better dating system.
__________________
http://TheSmallerBang.wordpress.com
eMachines E725 - T4400 2.2GHz, 1GB, 160GB
Nokia 5130XM * T-Sonic 610 2GB
Nokia 2323C * Samsung Galaxy Y
Apple iPad 2 16GB WiFi
MetalheadGautham is offline  
Old 25-12-2007, 02:08 PM   #10 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,686
Default Re: Linux Is Not Y2K(38) Compliant!?

Quote:
Originally Posted by naveen_reloaded
I dont know why everyone is talking about doom's day..here..
its not a "hell broke loose" kinda day, say i dont even like to breathe that extra polluted air after after 5 years
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is online now  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIOS not ACPI compliant Kaushal Hiwarkar Hardware Q&A 1 07-05-2007 05:22 AM
BIOS not ACPI compliant Kaushal Hiwarkar Software Q&A 1 06-05-2007 03:10 PM
vista compliant graphic card ranjan2001 Graphic cards 21 19-01-2007 02:01 AM
Just to check if this forum is Unicode Compliant Aijaz Akhtar Open Source 12 26-04-2005 11:32 AM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2