lkml.org 
[lkml]   [2000]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Y2K bug found in Linux kernel (maybe not :)
Date
Hi y'all,

A little while ago I reported an apparent y2k bug in the Linux kernel.
Alan Cox replied, saying that the problem of the year being reported
as 1910 couldn't possibly be due to the kernel, and that perhaps some
buggy application was setting the system date, causing it to propagate
outwards from there (i.e., bad values from time() and gettimeofday()).

I thought about it a few minutes ago realized that I might have used the
'nist' command (which querys the National Institute of Standards and
Technology's atomic clock over the Internet) to set the date on both of
those systems. And so I ran nist, and guess what it reported?

[jayts jay]$ nist -d

51589 00-02-15 03:37:22 00 0 0 99.9 UTC(NIST) *
Local time: 10-02-15 03:37:22
New time: Tue Feb 15 03:37:22 1910

So much for the accuracy of atomic clocks and buggy applications! I'm
now assuming that this is what caused the problem.

Thanks Alan, and I guess we can let go of this as a kernel bug.

Cheers,

Jay Ts
jay@jayts.cx
http://jayts.cx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.047 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site