[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resetting Time from Network.



    Date: Wed, 7 Mar 90 12:48 PST
    From: snicoud@atc.boeing.com (Stephen Nicoud)

    When I reboot, Genera comes up with the wrong time (it's off by about 10
    minutes).  I can reset the time using the 'Set Time' command.  If I then
    do '(time:initialize-timebase)' it goes out to the network and resets
    the clock to a bogus time.  Repeated calls to (time:initialize-timebase)
    varies the time +- 7 minutes or so on each attempt.

    How can I identify the culprit(s)?  Is there a way to restrict time
    requests to specified "time servers"?  I removed the TIME service from
    all but a couple of hosts and I made sure those hosts had the correct
    time.  That didn't yield any results.

It's using a broadcast, so the TIME service doesn't matter.  All Lispms
respond to TIME queries, regardless of what's in their namespace
entries.

You can use (apply #'net:print-host-times (net:get-local-lispms)) to
find out what each Lispm thinks the time is.  First put the "TIME CHAOS
TIME-SIMPLE" and/or "TIME UDP TIME-SIMPLE-MSB" back in all their
namespace entries, or you'll get errors for all the Lispms without TIME
entries.

                                                barmar