[ntp:questions] Re: Windows Refclock Driver

Danny Mayer mayer at gis.net
Thu Oct 30 22:15:07 UTC 2003


kplus13 at yahoo.com (David Kuechenmeister) wrote in message news:<95565f3a.0310300804.39007d68 at posting.google.com>...
> mayer at gis.net (Danny Mayer) wrote in message 
> [my earlier posts deleted]
> > Why not post the results you are seeing?
> > 
> > Danny
> 
> I guess it's a question of how much or how little to post. I hate to
> innundate the newsgroup with irrelevant stuff.
> 
> Here are two different parts of what I'm seeing. The first is the
> debug output. Following that, is the output from ntpq.
> 
> Thanks for any insight on problems with my driver.
> 
> David Kuechenmeister
> 
> 
> 
> Debug1: 2 -> 2 = 2
> addto_syslog: logging to file \winnt\system32\drivers\etc\ntp.log
> ntpd 4.2.0 Thu Oct 30 15:20:25 2003 (20)
> Debug1: 2 -> 2 = 2
> addto_syslog: logging to file \winnt\system32\drivers\etc\ntp.log
> 
> addto_syslog: ntpd 4.2.0 Thu Oct 30 15:20:25 2003 (20)
> 
> addto_syslog: Initial Clock increment 10014.0 us
> 
> addto_syslog: Adjustment rate 9.986 ppm/s
> 
> addto_syslog: set_process_priority: Leave priority alone:
> priority_done is <2>
> 
> addto_syslog: System AffinityMask = 1
> 
> addto_syslog: ProcessorAffinity Mask: 1
> 
> addto_syslog: precision = 7.000 usec
> 
> create_sockets(123)
> bind() fd 80, family 2, port 123, addr 0.0.0.0, flags=8
> bind() fd 92, family 2, port 123, addr 127.0.0.1, flags=8
> bind() fd 104, family 2, port 123, addr 172.30.59.233, flags=8
> create_sockets: ninterfaces=3
> interface 0:  fd=80,  bfd=-1,  name=wildcard,  flags=0x8
>               sin=0.0.0.0  bcast=0.0.0.0,  mask=255.255.255.255
> interface 1:  fd=92,  bfd=-1,  name=Loopback,  flags=0xd
>               sin=127.0.0.1  bcast=255.255.255.255,  mask=255.0.0.0
> interface 2:  fd=104,  bfd=-1,  name=TCP/IP I,  flags=0x9
>               sin=172.30.59.233  bcast=255.255.255.255, 
> mask=255.255.0.0
> init_io: maxactivefd 0
> local_clock: at 0 state 0
> Debug2: 2 -> 2 = 2
> addto_syslog: frequency initialized 498.094 PPM from
> C:\WINNT\system32\drivers\e
> tc\ntp.drift
> 
> local_clock: at 0 state 1
> addto_syslog: Cannot open log file
> %windir%\system32\drivers\etc\ntp.log
> 
> getnetnum given 127.127.45.0, got 127.127.45.0
> key_expire: at 0
> peer_clear: at 0 assoc ID 58604 refid INIT
> newpeer: 127.0.0.1->127.127.45.0 mode 3 vers 4 poll 6 6 flags 0x2a1
> 0x1 ttl 0 ke
> y 00000000
> report_event: system event 'event_restart' (0x01) status 'sync_alarm,
> sync_unspe
> c, 1 event, event_unspec' (0xc010)
> SetSystemTimeAdjustment( 50) + (100144)
> refclock_transmit: at 1 127.127.45.0
> pp: 303 15:46:22.001000 1
> refclock_receive: at 1 127.127.45.0
> peer SYNCCLOCK16(0) event 'event_reach' (0x84) status 'unreach, conf,
> 1 event, e
> vent_reach' (0x8014)
> refclock_sample: n 1 offset -0.040922 disp 0.000000 jitter 0.000000
> clock_filter: n 1 off -0.040922 del 0.000000 dsp 7.937992 jit
> 0.000008, age 1
> poll_update: at 1 127.127.45.0 flags 02a1 poll 6 burst 0 last 1 next
> 67
> auth_agekeys: at 1 keys 1 expired 0
> timer: refresh ts 0
> SetSystemTimeAdjustment( 49) + (100144)
> SetSystemTimeAdjustment( 50) + (100144)
> SetSystemTimeAdjustment( 49) + (100144)
> SetSystemTimeAdjustment( 50) + (100144)
> SetSystemTimeAdjustment( 49) + (100144)
> SetSystemTimeAdjustment( 50) + (100144)
> receive: at 22 127.0.0.1<-127.0.0.1 restrict 000
> sendpkt(fd=92 dst=127.0.0.1, src=127.0.0.1, ttl=-6, len=16)
> receive: at 22 127.0.0.1<-127.0.0.1 restrict 000
> sendpkt(fd=92 dst=127.0.0.1, src=127.0.0.1, ttl=-6, len=476)
> sendpkt(fd=92 dst=127.0.0.1, src=127.0.0.1, ttl=-6, len=148)

Ignoring everything else you posted, you are sending packets to the loopback
address from the loopback address: 127.0.0.1 -> 127.0.0.1
which is really useless. I don't know what else is wrong but this
certainly is.

Danny



More information about the questions mailing list