[ntp:questions] Problems syncing to a reference clock

The Doctor doctor at doctor.nl2k.ab.ca
Tue Sep 23 20:47:55 UTC 2008


In article <C584C892-6D07-4EF8-A6E1-E7EB8961B85D at madhaus.cns.utoronto.ca>,
Sutherland Russell <russ at madhaus.cns.utoronto.ca> wrote:
>I have an older PC running BSDI 3.01 which has an internal ISA based  
>GPS TrueTime clock:
>
># uname -a
>BSD/OS tickhaus.utoronto.ca 3.1 BSDI BSD/OS 3.1 Kernel #2: Sun Aug  8  
>19:31:21 CDT 1999 etc.
># dmesg | grep -i true
>gpspc0 at isa0 iobase 0x320: TrueTime Model 560-5500 GPS-PC Card
>
>I am running xntpd version 3-5 and there seems to be a problem syncing  
>to the
>reference clock. The daemon can sync to other time servers.
>
># xntpdc -c peers
>      remote           local      st poll reach  delay   offset    disp
>=======================================================================
>=128.100.aaa.bbb 128.100.ccc.ddd  1   64    1 0.00879  0.103917 15.8750
>=GPS_PC(0)       5.0.0.0          0   64    0 0.00000  0.000000 16.0000
>
>Here is what ntp.conf looks like:
>
>
># cat /etc/ntp.conf
>
>server 128.100.aaa.bbb
>server 127.127.27.0
>
>driftfile  /etc/ntp.drift
>
>restrict default ignore
>restrict 127.0.0.1
>restrict 127.127.27.0
>restrict 128.100.aaa.bbb
>
>
>
>The GPS part seems fine:
>
># gpstest
>*** GPSPCSTATUS ***
>Hardware register = 0xFFFC
>Antenna OK
>Error register = 0x00
>Configuration register = 0x1107
>Sync-Gen Mode
>Sync to GPS
>Local Offset is: 00:00
>DST start day is: 00-00
>DST stop day is: 00-00
>Sync-gen Offset (prop delay) is: 0 microsecs
>Output code is: IRIG-B
>Rate output is: 1 pps
>*** GPSPCREADTIME ***
>2028:129:15:59:20.370261 Locked to GPS
>*** GPSPCSIGLEVEL ***
>SAT03 = 11.45
>SAT23 =  9.83
>SAT16 = 11.93
>SAT06 =  9.00
>SAT19 =  4.68
>SAT13 =  7.46
>*** GPSPCPOSITION ***
>Latitude:   xx degrees 9 minutes 40.0 seconds N
>Longitude:  yy degrees 23 minutes 53.7 seconds W
>Altitude: +00zz.1 meters
>
>
>Here is some debugging output:
>
># xntpdc -c "clkbug 127.127.27.0"
>clock address:        127.127.27.0
>values: 8
>            0         129          16          10
>           47           0  3408134400           0
>times: 3
>          0.000000 00:000:00:00:00.0003431088647.018523  
>08:265:16:10:47.018
>          0.000000
>
># xntpdc -c "clockstats 127.127.27.0"
>***Command `clockstats' unknown
>bash# xntpdc -c "clockstat 127.127.27.0"
>clock address:        127.127.27.0
>clock type:           TrueTime GPS-PC Interface (27)
>last event:           6
>current status:       6
>number of polls:      3
>no response to poll:  0
>bad format responses: 0
>bad data responses:   3
>running time:         176
>fudge time 1:         0.000000
>fudge time 2:         0.000000
>stratum:              0
>reference ID:         GPS
>fudge flags:          0x0
>
>
>Any ideas?
>
>
>---
>Russell P. Sutherland        Email:    russ @ madhaus.cns.utoronto.ca
>4 Bancroft Ave., Rm. 102  Voice:    +1.416.978.0470
>University of Toronto         Fax:      +1.416.978.6620
>Toronto, ON  M5S 1C1       WWW:   http://madhaus.cns.utoronto.ca/~russ
>CANADA

Can you update this to the lastest version of ntpd?

I still used 4.3.1 and no problems.
-- 
Member - Liberal International	
This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! Canada vote anything but 
Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .




More information about the questions mailing list