From owner-freebsd-amd64@FreeBSD.ORG Thu Nov 17 16:26:16 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A086416A41F for ; Thu, 17 Nov 2005 16:26:16 +0000 (GMT) (envelope-from loox@e-shell.net) Received: from sophia3.e-shell.net (sophia3.e-shell.net [64.246.46.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 627A343D49 for ; Thu, 17 Nov 2005 16:26:16 +0000 (GMT) (envelope-from loox@e-shell.net) Received: from dsl-200-95-47-79.prod-infinitum.com.mx (dsl-200-95-47-79.prod-infinitum.com.mx [200.95.47.79]) by sophia3.e-shell.net (Postfix) with ESMTP id B8EA4656826 for ; Thu, 17 Nov 2005 10:26:15 -0600 (CST) From: Axel Gonzalez To: freebsd-amd64@freebsd.org Date: Thu, 17 Nov 2005 10:26:07 -0600 User-Agent: KMail/1.8.3 References: <28edec3c0511170534n14586426vd7cee0115e45b58c@mail.gmail.com> In-Reply-To: <28edec3c0511170534n14586426vd7cee0115e45b58c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511171026.08194.loox@e-shell.net> Subject: Re: nasty amd64 date bug? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 16:26:16 -0000 $ date -r 190300000000 Sun May 14 01:06:40 CST 8000 This is probably a bios error, that can't handle dates so much in the future This happens only on amd64, because it uses 64 bits utimes. On i386, with 32 bits utimes, the maximun date is about 2032, so the bios shouldn't have problems with that date (remember the *nix version of the y2k problem ??) So this is not really a bug, is a feature ;) On Thursday 17 November 2005 07:34, Mars G. Miro wrote: > Hiya list! > > Earlier today, one of my cow-orkers inadvertently did a: > # date 190000000000 > and his FreeBSD/amd64 box hung and dead on the water :-( > > I tried to reproduce it and can confirm that it only happens on > FreeBSD/amd64, on 5.4R and in 6.0RC1 (6.0R might be affected). In i386 > it just gives an 'incorrect date' message or something if you type in > something not w/in 190300000000->203800000000 range. Also this > requires root privs so not really something to panic. > Any case, I wanted to break to debugger but ran out of time (mebe > tomorrow when I'm back at work), or perhaps somebody else here who can > risk crash-testing their amd64 boxen can try it. > > Thanks and FYI. > > cheers > mars > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"