Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!ra!fwp1 From: fwp1@CC.MsState.Edu (Frank Peters) Newsgroups: comp.protocols.time.ntp Subject: problem running ntp 3.4 on a Sun 4/390 running SunOS 4.0.3 Keywords: resettodr syslog ntp Message-ID: Date: 20 Jul 90 00:50:51 GMT Sender: fwp1@ra.MsState.Edu Distribution: comp Lines: 54 Hello, As part of my plan to begin synchronizing all of our UNIX systems with ntp I recently installed it on a Sun 4/390 running SunOS 4.0.3. I've had it running on our 4/490 running SunOS 4.1 without any problems. When I run it on the 390 however I get the following messages logged every few minutes: Jul 19 19:35:57 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:35:57 Jul 19 19:35:57 walt vmunix: resettodr: TOD chip was 08-20-22 00:35:57 Jul 19 19:37:29 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:37:29 Jul 19 19:37:29 walt vmunix: resettodr: TOD chip was 08-20-22 00:37:29 Jul 19 19:41:01 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:41:01 Jul 19 19:41:01 walt vmunix: resettodr: TOD chip was 08-20-22 00:41:00 Jul 19 19:44:29 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:44:29 Jul 19 19:44:29 walt vmunix: resettodr: TOD chip was 08-20-22 00:44:29 Jul 19 19:46:50 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:46:50 Jul 19 19:46:50 walt vmunix: resettodr: TOD chip was 08-20-22 00:46:50 Jul 19 19:50:21 walt vmunix: resettodr: setting TOD chip to 08-20-22 00:50:21 Jul 19 19:50:21 walt vmunix: resettodr: TOD chip was 08-20-22 00:50:20 No such messages are logged on the 490. Is this some bug associated with 4.0.3 or the 390 that is not present in the 4.1/490 combination? The same code was compiled on both systems with the same Makefile. Here are some of the obvious things I've looked at: - I've tried it with and without tickadj set to 5. If I put tickadj 5 in the ntp.conf file or don't do it at all I see the errors as above. If I change the value of tickadj in the kernel and memory I get the above messages every few seconds instead of every minutes. I'm assuming from this that the tickadj in the ntp.conf file is ignored...but modifying the kernel seems to make the situation worse. The software was compiled with SETTICKADJ defined. - I've tried it with dosynctodr set to both 0 and 1. This seems to have no effect on the messages. - I've tried running the ntpd executable from the 390 on the 490 and didn't see the problem. The executable compiled on the 490 under 4.1 won't run on the 390 under 4.0.3. An executable compiled on a Sun 4/280 exhibits the same behavior on the 390 though it runs without a problem on the 4/280 (the 4/280 is running 4.0.3). Does anybody have any suggestions? Thanks --Frank -- Frank W. Peters Systems Programmer Computing Center & Services fwp1@CC.MsState.Edu Peters@MsState.Bitnet (601)325-2942 "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ