From: Bill Davidsen <davidsen@tmr.com>
To: linux-os@analogic.com
Cc: "Srinivas G." <srinivasg@esntechnologies.co.in>,
linux-kernel-Mailing-list <linux-kernel@vger.kernel.org>
Subject: Re: Y2K-like bug to hit Linux computers! - Info of the day
Date: Fri, 13 May 2005 16:36:23 -0400 [thread overview]
Message-ID: <42850FC7.7010603@tmr.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0505130837390.4781@chaos.analogic.com>
Richard B. Johnson wrote:
>
> It would be good if the doom-sayers actually tried before then lied.....
>
> Just in case anybody wants to try it:
>
> int main()
> {
> int x = 0x7fffff00;
> stime(&x);
> }
>
> Script started on Mon 18 Jan 2038 10:12:32 PM EST
> [root@chaos root]# while true ; do date ; sleep 1 ; done
> Mon Jan 18 22:12:44 EST 2038
> Mon Jan 18 22:12:45 EST 2038
> Mon Jan 18 22:12:46 EST 2038
> Mon Jan 18 22:12:47 EST 2038
> Mon Jan 18 22:12:48 EST 2038
> [SNIPPED...]
> Mon Jan 18 22:14:01 EST 2038
> Mon Jan 18 22:14:02 EST 2038
> Mon Jan 18 22:14:03 EST 2038
> Mon Jan 18 22:14:04 EST 2038
> Mon Jan 18 22:14:05 EST 2038
> Mon Jan 18 22:14:06 EST 2038
> Mon Jan 18 22:14:07 EST 2038
> Fri Dec 13 15:46:09 EST 1901
^^^^^ are UTC and GMT that far apart? Leap seconds? WTF?
> Fri Dec 13 15:46:10 EST 1901
> Fri Dec 13 15:46:11 EST 1901
> Fri Dec 13 15:46:12 EST 1901
> Fri Dec 13 15:46:13 EST 1901
> Fri Dec 13 15:46:14 EST 1901
> Fri Dec 13 15:46:15 EST 1901
> Fri Dec 13 15:46:16 EST 1901
> Fri Dec 13 15:46:17 EST 1901
> Fri Dec 13 15:46:18 EST 1901
> Fri Dec 13 15:46:19 EST 1901
>
> [root@chaos root]# exit
>
> Script done on Fri 13 Dec 1901 03:46:44 PM EST
>
> As you can see, the machine still runs. There was a little
> hickup in the 'sleep 1' it slept more than a second.
>
> Remember to `rdate` your computer before you do any serious
> work. The file-dates correctly show the new, before Unix, time and
> date.
Good point. Given current firewalls, I wouldn't be surprised if rdate
fails and ntpdate is needed, or at least resetting the system clock from HW.
next prev parent reply other threads:[~2005-05-13 20:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-13 11:43 Y2K-like bug to hit Linux computers! - Info of the day Srinivas G.
2005-05-13 11:48 ` Matthias-Christian Ott
2005-05-13 12:17 ` Richard B. Johnson
2005-05-13 16:07 ` Lee Revell
2005-05-13 12:22 ` Denis Vlasenko
2005-05-13 12:27 ` Richard B. Johnson
2005-05-13 12:43 ` Richard B. Johnson
2005-05-13 20:36 ` Bill Davidsen [this message]
2005-05-13 20:47 ` Valdis.Kletnieks
2005-05-13 21:07 ` Chris Friesen
2005-05-13 21:22 ` Valdis.Kletnieks
2005-05-13 23:10 ` David Lang
2005-05-13 21:24 ` Alan Cox
2005-05-14 9:09 ` christos gentsis
2005-05-14 9:46 ` jnf
2005-05-14 10:37 ` christos gentsis
2005-05-14 10:20 ` Willy Tarreau
2005-05-15 20:25 ` Richard B. Johnson
2005-05-13 14:37 ` DervishD
2005-05-13 15:19 ` randy_dunlap
2005-05-13 15:24 ` DervishD
2005-05-13 16:11 ` Alan Cox
2005-05-15 16:20 ` Helge Hafting
2005-05-16 2:09 ` Paul Jakma
-- strict thread matches above, loose matches on Subject: below --
2005-05-14 12:46 Matthew Geier
2005-05-14 20:27 ` christos gentsis
2005-05-14 21:19 ` Valdis.Kletnieks
2005-05-15 1:04 ` Gene Heskett
[not found] <43GQ7-5qy-5@gated-at.bofh.it>
2005-05-14 13:41 ` Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42850FC7.7010603@tmr.com \
--to=davidsen@tmr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
--cc=srinivasg@esntechnologies.co.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.