NetBSD Problem Report #15073

Received: (qmail 1042 invoked from network); 28 Dec 2001 07:54:13 -0000
Message-Id: <200112280754.fBS7sC015849@costello.cnf.cornell.edu>
Date: Fri, 28 Dec 2001 02:54:12 -0500 (EST)
From: Michael Wolfson <mw@costello.cnf.cornell.edu>
Reply-To: mw34@cornell.edu
To: gnats-bugs@gnats.netbsd.org
Subject: incorrect date prevents network from working
X-Send-Pr-Version: 3.95

>Number:         15073
>Category:       port-macppc
>Synopsis:       incorrect date prevents network from working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-macppc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 28 07:55:00 +0000 2001
>Closed-Date:    Wed Jun 13 00:59:53 +0000 2018
>Last-Modified:  Wed Jun 13 00:59:53 +0000 2018
>Originator:     Michael Wolfson
>Release:        NetBSD-1.5.2
>Organization:

>Environment:
PowerMacintosh 7300, NetBSD 1.5.2 release

System: NetBSD costello 1.5.2 NetBSD 1.5.2 (COSTELLO) #1: Sat Dec 15 20:00:44 EST 2001 mw@costello:/usr/nosrc/sys/arch/hp300/compile/COSTELLO hp300


>Description:
If date is set too old, then network doesn't work.  No errors, it just 
doesn't transmit or receive packets.  
% ping 10.0.1.1
PING 10.0.1.1 (10.0.1.1): 56 data bytes
^C
----10.0.1.2 PING Statistics----
0 packets transmitted, 0 packets received,

Several users have reported this on different platforms (PowerBook G3, 
PowerMacintosh 7300).

This situation might arise if a user "zaps PRAM" on their mac, which will 
clear out the current date/time.  Also, when motherboard batteries die, 
the date is reset to either 1901 or 1956 (depending on model).

>How-To-Repeat:
date 190101010101
ping 10.0.1.1

>Fix:
Prevent bogus dates?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mrg 
State-Changed-When: Fri Apr 2 14:19:24 UTC 2004 
State-Changed-Why:  
michael, does this problem still occur? 

From: Michael Wolfson <michael@nosflow.com>
To: gnats-bugs@gnats.netbsd.org
Cc: port-macppc-maintainer@netbsd.org, mrg@netbsd.org
Subject: Re: port-macppc/15073
Date: Wed, 9 Jun 2004 23:10:38 -0700

 On Apr 2, 2004, at 6:19 AM, mrg@netbsd.org wrote:

 > Synopsis: incorrect date prevents network from working

 > michael, does this problem still occur?

 Sorry it took so long to test.  Yes, the problem is still there.  I  
 netbooted a PowerMac 8500 with current date.  No problems.

 Set date to 1904, can still contact my home server (NFS, DNS, etc), but  
 nothing else.
 Set date to today, everything works fine.

 NetBSD  2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Wed Jun  9 16:15:51 UTC  
 2004  aut
 obuild@tgm.netbsd.org:/autobuild/netbsd-2-0/macppc/OBJ/autobuild/ 
 netbsd-2-0/src/
 sys/arch/macppc/compile/GENERIC macppc

    -- MW

State-Changed-From-To: feedback->open 
State-Changed-By: mbw 
State-Changed-When: Mon Jul 5 07:15:30 UTC 2004 
State-Changed-Why:  
Feedback has been provided (e.g. problem still present). 
State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Wed, 13 Jun 2018 00:59:53 +0000
State-Changed-Why:
Tested the issue on a G4 iBook running 8.0_RC1 & Pismo PowerBook G4 running 8.99.14, unable to reproduce.
PRAM battery on G3 Pismo was dead & upon boot system used the date from filesystem, I had to manually force 190101 before attempting to SSH, FTP & Telnet.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.