NetBSD-Bugs archive

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

port-sparc/48795: msiiep_timer.c calibration broken?

>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.


Home | Main Index | Thread Index | Old Index