---
hackpadID: X3iwkpjiePr
hackpadWorkspace: tossug
tags: hackpad-import, tossug
---
# y2038 issue sharing - 7/26 19:40 in TOSSUG
###### tags: `TOSSUG`
時間: 7/26 19:40 in TOSSUG
主因是32 bit OS中的timer value將於 2038 年overflow. 影響層面非常大.
小至filesystem timestamps error, 大至 kernel panic 都有可能發生.
目前32 bit 相關平台將全數受影響
此問題需要kernel/ driver/ libc/ AP 一起修正以避免 y2038 issue.
雖然離 2038 還有一些時間, 但建議現在就要有相關know-how 並開始準備.
~~屆時已經退休的人可以不用參加 XD~~
slide:
*
[](https://szlin.wordpress.com/2016/07/24/y2038-%E5%B0%8D-32-bit-%E6%A9%9F%E5%99%A8%E6%89%80%E9%80%A0%E6%88%90%E7%9A%84%E5%BD%B1%E9%9F%BF%E4%BB%A5%E5%8F%8A%E8%99%95%E7%90%86/)https://szlin.wordpress.com/2016/07/24/y2038-%E5%B0%8D-32-bit-%E6%A9%9F%E5%99%A8%E6%89%80%E9%80%A0%E6%88%90%E7%9A%84%E5%BD%B1%E9%9F%BF%E4%BB%A5%E5%8F%8A%E8%99%95%E7%90%86/
* "long long" implementation on 32-bit machines
[](http://stackoverflow.com/questions/330374/long-long-implementation-in-32-bit-machine)http://stackoverflow.com/questions/330374/long-long-implementation-in-32-bit-machine
* NAND flash wears out:
[](http://searchsolidstatestorage.techtarget.com/definition/NAND-flash-wear-out)http://searchsolidstatestorage.techtarget.com/definition/NAND-flash-wear-out
"... The program/erase process eventually breaks down the oxide layer within the floating-gate transistors of the NAND flash."
--> The voltage level of "0" and "1" changes due to this leakage.
這個是SLC只分成兩階,如果MLC/TLC的話,單一 cell 會切更多階,也就更容易受到影響。