Jump to content

Y2k for the Linux world is the year 2038

ahhming

Year_2038_problem.gif

This will only affect 32-bit Linux systems, as all 32-bit kernels store the time and date as a signed 32-bit number that counts up, from 00:00:00 on 1 January 1970. When these systems reach January 2038, they will go back to the date that they started counting from, as there is not enough space in a 32-bit integer to count any further.
 

A lot of so-called embedded systems use 32-bit Linux and these would all be affected. There is also no universal solution for the Year 2038 problem, but the good news is that the problem is being worked on, and several Linux developers and engineers are trying to encourage others to at least think about the problem.

 

 

Long-time Linux kernel chronicler Jon Corbet has said, “The simple fact of the matter is that systems are being built and deployed now that will still be in service 23 years from now, Linux-based systems are being put into cars, into building control systems, into power plants, and into who-knows-how-many other places where they will just simply sit there and do their job until time_t runs out of bits. And then they won’t work anymore.”
With embedded systems in use in so many critical situations and with them almost never being replaced once installed, this is a problem that needs to be dealt with years before it actually rears its head, otherwise it will be too late and it could even cost lives. Each year that developers produce software and devices that don’t take the 2038 bug into account, the worse the problem will be. “If we continue to distribute software that has this problem in it, we are setting up problems for the future, and we don’t want to do that,” Corbet said. “The time to fix it is now.”

 

 

 

source:

http://www.kitguru.net/gaming/operating-systems/brendan-morgan/y2k-for-the-linux-world-is-the-year-2038/

Link to comment
Share on other sites

Link to post
Share on other sites

by that time I would hope we have moved on to 256 or 512 bit. if not 1024

Thats that. If you need to get in touch chances are you can find someone that knows me that can get in touch.

Link to comment
Share on other sites

Link to post
Share on other sites

by that time I would hope we have moved on to 256 or 512 bit. if not 1024

Why would you want that ????

  ﷲ   Muslim Member  ﷲ

KennyS and ScreaM are my role models in CSGO.

CPU: i3-4130 Motherboard: Gigabyte H81M-S2PH RAM: 8GB Kingston hyperx fury HDD: WD caviar black 1TB GPU: MSI 750TI twin frozr II Case: Aerocool Xpredator X3 PSU: Corsair RM650

Link to comment
Share on other sites

Link to post
Share on other sites

Why would you want that ????

It's a bigger number. Bigger = better :)

Edit: Apparently a smiley face isn't obvious enough so here,

/s

My posts are in a constant state of editing :)

CPU: i7-4790k @ 4.7Ghz MOBO: ASUS ROG Maximums VII Hero  GPU: Asus GTX 780ti Directcu ii SLI RAM: 16GB Corsair Vengeance PSU: Corsair AX860 Case: Corsair 450D Storage: Samsung 840 EVO 250 GB, WD Black 1TB Cooling: Corsair H100i with Noctua fans Monitor: ASUS ROG Swift

laptop

Some ASUS model. Has a GT 550M, i7-2630QM, 4GB or ram and a WD Black SSD/HDD drive. MacBook Pro 13" base model
Apple stuff from over the years
iPhone 5 64GB, iPad air 128GB, iPod Touch 32GB 3rd Gen and an iPod nano 4GB 3rd Gen. Both the touch and nano are working perfectly as far as I can tell :)
Link to comment
Share on other sites

Link to post
Share on other sites

It's a bigger number. Bigger = better :)

Kappa

Fixed.

  ﷲ   Muslim Member  ﷲ

KennyS and ScreaM are my role models in CSGO.

CPU: i3-4130 Motherboard: Gigabyte H81M-S2PH RAM: 8GB Kingston hyperx fury HDD: WD caviar black 1TB GPU: MSI 750TI twin frozr II Case: Aerocool Xpredator X3 PSU: Corsair RM650

Link to comment
Share on other sites

Link to post
Share on other sites

It's a bigger number. Bigger = better :)

meaning a waste of space, there is a reason why in code we dont throw 64 bit is everything. programs would get bogged down majorly.

cpu: intel i5 4670k @ 4.5ghz Ram: G skill ares 2x4gb 2166mhz cl10 Gpu: GTX 680 liquid cooled cpu cooler: Raijintek ereboss Mobo: gigabyte z87x ud5h psu: cm gx650 bronze Case: Zalman Z9 plus


Listen if you care.

Cpu: intel i7 4770k @ 4.2ghz Ram: G skill  ripjaws 2x4gb Gpu: nvidia gtx 970 cpu cooler: akasa venom voodoo Mobo: G1.Sniper Z6 Psu: XFX proseries 650w Case: Zalman H1

Link to comment
Share on other sites

Link to post
Share on other sites

by that time I would hope we have moved on to 256 or 512 bit. if not 1024

thats not gonna happen friend,the maximum ram for 64 bit is insane not even a whole megaserver's ram added togheter isnt even close to that,and theres no need for 128bit processor either,512 bit/1024 is not gonna exist for cpu's the way they are today maybe if they change completely the way they work.

Link to comment
Share on other sites

Link to post
Share on other sites

by that time I would hope we have moved on to 256 or 512 bit. if not 1024

the point is a lot of existing systems will still be running
Link to comment
Share on other sites

Link to post
Share on other sites

by that time I would hope we have moved on to 256 or 512 bit. if not 1024

the "bit" is referred to the memory address bus usually on a processor (usually)

 

so basically you can use ram addresses ( for example 00000001 is RAM 1, 00000010 is RAM 2, 00000011 is RAM 3 and so on) but after a while you are running out of addresses. it is 4 GB at 32 bit. but thanks to how 2 bit systems work, each number worth 2 on the power of +1 as before, thus you dont get 8 GB wit 64 bit, but something ridiculous amount.

 

These "Y2K" bugs are not groundbreaking or something as they can be patched or fixed easily :)

Link to comment
Share on other sites

Link to post
Share on other sites

So only the 32bit version of Linux may experience this issue if you don't update withing 23 years... Doesn't sound too bad tbh.

I cannot be held responsible for any bad advice given.

I've no idea why the world is afraid of 3D-printed guns when clearly 3D-printed crossbows would be more practical for now.

My rig: The StealthRay. Plans for a newer, better version of its mufflers are already being made.

Link to comment
Share on other sites

Link to post
Share on other sites

2147483647 = max cash on RS :ph34r:

                                                                                          »»» Frankz' X99 System «««                                                                                         

CPU: 5820k 4.6Ghz 1.31v, Motherboard: Asus Rampage V Extreme, RAM: G.Skill Ripjaws4 16GB DDR4@3000Mhz, GPU: ASUS GTX780 DirectCUII

         SSD: Samsung 850 EVO 250GB, HDD: WD Blue 1TB, PSU: EVGA SuperNova 850 G2, Cooler: Corsair H105, Case: Corsair Obsidian 750D        

Link to comment
Share on other sites

Link to post
Share on other sites

So only the 32bit version of Linux may experience this issue if you don't update withing 23 years... Doesn't sound too bad tbh.

this is about embedded systems, not home PCs. E.g. In industry people use machinery with microprocessors and OS inside to control some process. These can go a very long time without being upgraded simply because they work so why change....

Another example- in 23 years a car from today may be considered a classic car and still on the road. It will have the same computer inside which is adequate for the functions it performs.

Link to comment
Share on other sites

Link to post
Share on other sites

this is about embedded systems, not home PCs. E.g. In industry people use machinery with microprocessors and OS inside to control some process. These can go a very long time without being upgraded simply because they work so why change....

Another example- in 23 years a car from today may be considered a classic car and still on the road. It will have the same computer inside which is adequate for the functions it performs.

I see. The amount of machines that'll refuse to work because they can't make sense of the date and time though will be small, I think.

I cannot be held responsible for any bad advice given.

I've no idea why the world is afraid of 3D-printed guns when clearly 3D-printed crossbows would be more practical for now.

My rig: The StealthRay. Plans for a newer, better version of its mufflers are already being made.

Link to comment
Share on other sites

Link to post
Share on other sites

:( My Dell uses 32-bit Xubuntu.

 

Oddly enough, my Windows 98 laptop doesn't care what year it is. It will keep on trucking. :P

Main rig on profile

VAULT - File Server

Spoiler

Intel Core i5 11400 w/ Shadow Rock LP, 2x16GB SP GAMING 3200MHz CL16, ASUS PRIME Z590-A, 2x LSI 9211-8i, Fractal Define 7, 256GB Team MP33, 3x 6TB WD Red Pro (general storage), 3x 1TB Seagate Barracuda (dumping ground), 3x 8TB WD White-Label (Plex) (all 3 arrays in their respective Windows Parity storage spaces), Corsair RM750x, Windows 11 Education

Sleeper HP Pavilion A6137C

Spoiler

Intel Core i7 6700K @ 4.4GHz, 4x8GB G.SKILL Ares 1800MHz CL10, ASUS Z170M-E D3, 128GB Team MP33, 1TB Seagate Barracuda, 320GB Samsung Spinpoint (for video capture), MSI GTX 970 100ME, EVGA 650G1, Windows 10 Pro

Mac Mini (Late 2020)

Spoiler

Apple M1, 8GB RAM, 256GB, macOS Sonoma

Consoles: Softmodded 1.4 Xbox w/ 500GB HDD, Xbox 360 Elite 120GB Falcon, XB1X w/2TB MX500, Xbox Series X, PS1 1001, PS2 Slim 70000 w/ FreeMcBoot, PS4 Pro 7015B 1TB (retired), PS5 Digital, Nintendo Switch OLED, Nintendo Wii RVL-001 (black)

Link to comment
Share on other sites

Link to post
Share on other sites

Why don't the people making the embedded systems for the future start using 64 bit instead?

Why would they ??? 

  ﷲ   Muslim Member  ﷲ

KennyS and ScreaM are my role models in CSGO.

CPU: i3-4130 Motherboard: Gigabyte H81M-S2PH RAM: 8GB Kingston hyperx fury HDD: WD caviar black 1TB GPU: MSI 750TI twin frozr II Case: Aerocool Xpredator X3 PSU: Corsair RM650

Link to comment
Share on other sites

Link to post
Share on other sites

So only the 32bit version of Linux may experience this issue if you don't update withing 23 years... Doesn't sound too bad tbh.

The issue is enormous, we're talking of 100's of millions of machines, some which control nuclear power plants, GPS, earthquake detection machines, healthcare systems, car emergency control systems such as ABS, flight control systems, stock exchanges and so on, and if we don't do anything now we'll be up shit creek without the paddle, however having said that, because we're talking about it now we'll end up with the same situation as the Y2K bug (not really a bug, but ya know) where everyone was expecting mayhem and because we'd dealt with it ahead of time, almost nothing actually happened.

 

I see. The amount of machines that'll refuse to work because they can't make sense of the date and time though will be small, I think.

Again, the issue isn't limited to a handful of machines, we're talking many millions upon millions of machines, some of which are absolutely critical to life and absolutely must be 100% reliable, and having the time reset could cause all sorts of havoc.

So just imagine a weapons defence system running linux with this issue and the time resets and no protections against problems are put in place (not an impossible scenario) the weapons in the defence system could all be launched due to the computer thinking that an attack has taken place, and you can imagine what happens next, and that's just one thing that could happen because of this issue.

 

Why don't the people making the embedded systems for the future start using 64 bit instead?

Unfortunately we're not talking about future built machines, we're talking about machines that are currently in use, and in most cases we simply can't just replace them, so it's not that easy, we're talking about machines that many of us will never see, but without them society could very easily collapse so we need to approach this very carefully. But again, this could very well turn out to be just like Y2K, where nothing happened because everyone had already taken precations to protect against it.

CPU: Core i5 2500K @ 4.5GHz | MB: Gigabyte Z68XP-UD3P | RAM: 16GB Kingston HyperX @ 1866MHz | GPU: XFX DD R9 390 | Case: Fractal Design Define S | Storage: 500GB Samsung 850 EVO + WD Caviar Blue 500GB | PSU: Corsair RM650x | Soundcard: Creative Soundblaster X-Fi Titanium
Click here to help feed our lasses Pokemon

Link to comment
Share on other sites

Link to post
Share on other sites

is it just me, but as soon as I hear talk about 32-bit time running out, the standard answer that I get seemed to be "They'll fixed the issue by them" or something among those lines

Link to comment
Share on other sites

Link to post
Share on other sites

is it just me, but as soon as I hear talk about 32-bit time running out, the standard answer that I get seemed to be "They'll fixed the issue by them" or something among those lines

It's partly because of mans confidence/arrogance and partly because so far we've managed to avoid major disaster because of prevention, so the standard response is simply "Oh we fixed it before, we'll do it again".

But if we don't fix it then all hell will break loose, see my post above for a possible scenario that could very well happen if we don't protect against it.

One fix we can do is push an update that resets to the 32bit integer to start from a much later time, so instead of resetting to 1/1/1901 it could set it to 2001 and count up from there while keeping the current date, and that would give us roughly another 100 years or so to completely replace every machine this affects. If you're a bit confused by my poor explanation it's basically this.

Currently the 32bit integer starts at 10000000 00000000 00000000 00000000 which to the computer equates to 1/1/1901 and would count up to 31/12/2038 and then reset to 1/1/1901, if we set that same binary number to equal 1/1/2001, and leave it to continue counting with the current date it wouldn't reset until around 31/12/3038, but that might not work for all systems and could break the software being run. (I hope you get it, I know what I mean, but I don't know if I explained it correctly)

 

CPU: Core i5 2500K @ 4.5GHz | MB: Gigabyte Z68XP-UD3P | RAM: 16GB Kingston HyperX @ 1866MHz | GPU: XFX DD R9 390 | Case: Fractal Design Define S | Storage: 500GB Samsung 850 EVO + WD Caviar Blue 500GB | PSU: Corsair RM650x | Soundcard: Creative Soundblaster X-Fi Titanium
Click here to help feed our lasses Pokemon

Link to comment
Share on other sites

Link to post
Share on other sites

meaning a waste of space, there is a reason why in code we don't throw 64 bit is everything. programs would get bogged down majorly.

Clearly this is an instance where it wouldn't be a waste of space :)

My posts are in a constant state of editing :)

CPU: i7-4790k @ 4.7Ghz MOBO: ASUS ROG Maximums VII Hero  GPU: Asus GTX 780ti Directcu ii SLI RAM: 16GB Corsair Vengeance PSU: Corsair AX860 Case: Corsair 450D Storage: Samsung 840 EVO 250 GB, WD Black 1TB Cooling: Corsair H100i with Noctua fans Monitor: ASUS ROG Swift

laptop

Some ASUS model. Has a GT 550M, i7-2630QM, 4GB or ram and a WD Black SSD/HDD drive. MacBook Pro 13" base model
Apple stuff from over the years
iPhone 5 64GB, iPad air 128GB, iPod Touch 32GB 3rd Gen and an iPod nano 4GB 3rd Gen. Both the touch and nano are working perfectly as far as I can tell :)
Link to comment
Share on other sites

Link to post
Share on other sites

why not setting it up that when it reaches the last value, that value becomes the new0 and start counting from it after the reset

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 years later: It's finally coming!!!

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to comment
Share on other sites

Link to post
Share on other sites

Clearly this is an instance where it wouldn't be a waste of space :)

there is no reason any time soon to go over 64 bit, it would be a waste of space and resources.

cpu: intel i5 4670k @ 4.5ghz Ram: G skill ares 2x4gb 2166mhz cl10 Gpu: GTX 680 liquid cooled cpu cooler: Raijintek ereboss Mobo: gigabyte z87x ud5h psu: cm gx650 bronze Case: Zalman Z9 plus


Listen if you care.

Cpu: intel i7 4770k @ 4.2ghz Ram: G skill  ripjaws 2x4gb Gpu: nvidia gtx 970 cpu cooler: akasa venom voodoo Mobo: G1.Sniper Z6 Psu: XFX proseries 650w Case: Zalman H1

Link to comment
Share on other sites

Link to post
Share on other sites

there is no reason any time soon to go over 64 bit, it would be a waste of space and resources.

Except that 32-bit time is running out and at this rate that people are having the mentality that "It'll be fixed by then" I don't know what to expect.

 

I'm in a similar seat with IPv4 vs IPv6. I really hope that a mass-transition to IPv6 happens soon, because IPv4 is running out (Re-using addresses and NAT is only short-term solutions).

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×