NetBSD Problem Report #56383

From www@netbsd.org  Tue Aug 31 02:58:09 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 7093E1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 31 Aug 2021 02:58:09 +0000 (UTC)
Message-Id: <20210831025807.BB9CC1A923A@mollari.NetBSD.org>
Date: Tue, 31 Aug 2021 02:58:07 +0000 (UTC)
From: JMoyer@NODOMAIN.NET
Reply-To: JMoyer@NODOMAIN.NET
To: gnats-bugs@NetBSD.org
Subject: KA630 slow clock drift
X-Send-Pr-Version: www-1.0

>Number:         56383
>Category:       port-vax
>Synopsis:       KA630 slow clock drift
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 31 03:00:00 +0000 2021
>Last-Modified:  Tue Oct 26 14:10:01 +0000 2021
>Originator:     Josh Moyer
>Release:        9.1 and 9.2
>Organization:
NODOMAIN.NET
>Environment:
Um, some NetBSD/vax 9.x string (GENERIC (9.2) and custom (9.1))
>Description:
Clock drift (on the slow side) is a problem on the KA630 and possibly other 78032 based CPUs.  It's worse in 9.2, as compared to 9.1.  Some sample output from 9.2:

rasterloop# date
Tue Aug 17 14:30:55 PDT 2021
rasterloop# ntpdate joy
17 Aug 19:37:05 ntpdate[6160]: step time server 10.9.10.78 offset 18300.064971 sec
rasterloop# date ; ntpdate joy
Thu Aug 19 06:05:37 PDT 2021
19 Aug 19:10:32 ntpdate[1218]: step time server 10.9.10.78 offset 47071.899450 sec
rasterloop# date ; ntpdate joy
Fri Aug 20 06:43:32 PDT 2021
20 Aug 11:01:41 ntpdate[9574]: step time server 10.9.10.78 offset 15466.390841 sec
rasterloop# date ; ntpdate joy
Sun Aug 22 04:49:54 PDT 2021
22 Aug 20:22:36 ntpdate[9954]: step time server 10.9.10.78 offset 55939.545922 sec
rasterloop# date ; ntpdate joy
Mon Aug 23 05:55:50 PDT 2021
23 Aug 09:29:14 ntpdate[17750]: step time server 10.9.10.78 offset 12778.557073 sec
rasterloop# date ; ntpdate joy
Thu Aug 26 07:23:11 PDT 2021
27 Aug 09:25:17 ntpdate[28412]: step time server 10.9.10.78 offset 93682.988441 sec
rasterloop# date ; ntpdate joy
Sun Aug 29 05:57:44 PDT 2021
29 Aug 22:25:48 ntpdate[10621]: step time server 10.9.10.78 offset 59237.084772 sec
rasterloop#
>How-To-Repeat:
Run NetBSD/vax 9.2 on a KA630.  Maybe with dual qe*'s or something...
>Fix:
I don't have bandwidth to investigate at the moment.

>Audit-Trail:
From: "Maciej W. Rozycki" <macro@orcam.me.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-vax/56383
Date: Tue, 26 Oct 2021 16:05:47 +0200 (CEST)

 It might be the same with the KA46 aka VAXstation 4000/60.  I used this 
 system for GCC verification and originally thought it was due to the high 
 load resulting, but now the system has been sitting idle for a long time 
 and yet it's the same (though the influence of some cron job cannot be 
 ruled out):

 ntpq> pe
      remote           refid      st t when poll reach   delay   offset  jitter
 ==============================================================================
  160.ip-54-37-23 129.6.15.29      2 u  532 1024  377   11.826  -618315 1838.42
  time.taken.pl   194.29.130.252   2 u  829 1024  377   11.897  -618686 2243.73
  ntp.tktelekom.p 80.50.231.226    2 u  476 1024  377   43.066  -618355 1809.39
  time.cloudflare 10.73.8.82       3 u  238 1024  377   30.522  -618980 2259.98
 ntpq>

 # uname -mrsv
 NetBSD 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/vax/compile/GENERIC vax
 # uptime
  4:04PM  up 23 days, 22:23, 1 user, load averages: 0.00, 0.02, 0.01
 # 

 Further system information, as reported by the firmware:

 KA46-A V1.2-343-V4.0
 08-00-2B-2D-73-5A
 104MB

 and NetBSD:

 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020
  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/vax/compile/GENERIC
 VAXstation 4000/60
 total memory = 103 MB
 avail memory = 98164 KB
 mainbus0 (root)
 cpu0 at mainbus0: KA46, Mariah, 2KB L1 cache, 256KB L2 cache

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.