NetBSD Problem Report #48795

From  Fri May  9 09:28:50 2014
Return-Path: <>
Received: from ( [])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id D2F6BA584C
	for <>; Fri,  9 May 2014 09:28:49 +0000 (UTC)
Subject: msiiep_timer.c calibration broken?
X-Send-Pr-Version: 3.95

>Number:         48795
>Category:       port-sparc
>Synopsis:       msiiep_timer.c calibration broken?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 09 09:30:00 +0000 2014
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.41
The NetBSD Foundation, Inc.
System: NetBSD 6.99.41 NetBSD 6.99.41 (MP3) #1: Fri May 9 09:44:23 CEST 2014 sparc
Architecture: sparc
Machine: sparc

My Krups has big trouble keeping its time, despite nptd:

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================    2 u   29   64  377   43.498  -5528.5 852.789

This was after about 20 minutes, after runing ntpdate and starting ntpd
fresh w/o drift file.

Other sparc (Sparc LX and SS20) machines can sync closely to the same
ntpd server.

I wonder if it is related to timer delay miscalculation:

cpu0 at mainbus0: MB86904 @ 100  MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
msiiep0 at mainbus0 addr 0x300c0000
timer0 at msiiep0: delay constant 47


Boot a krups and watch the clock wander off.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.