Date: Sun, 22 Aug 2004 17:15:49 +0900 From: Andy Taki <andy@pob.jp> To: cy@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: ntp-4.2.0_1 Message-ID: <200408220815.i7M8Fl4r025774@pc98.taki>
next in thread | raw e-mail | index | archive | help
'Tristate Ltd. JJY receiver' dose not work? My configure; - FreeBSD 4.10-RELEASE - My kernel was compiled with 'options PPS_SYNC'. - 'JJY receiver' test cu -l /dev/jjy1 Connected. 2004/08/22 SUN 16:27:09 ~[mypc]. - ntp.conf cat /etc/ntp.conf server 127.127.40.1 prefer mode 1 driftfile /var/ntpd/drift statsdir /var/ntpd/stats/ logfile /var/ntpd/log pidfile /var/ntpd/pid filegen peerstats file peerstats type day enable filegen loopstats file loopstats type day enable filegen clockstats file clockstats type day enable - directories ls -lRa /var/ntpd total 12 drwxr-xr-x 3 root wheel 512 Aug 22 04:11 . drwxr-xr-x 21 root wheel 512 Aug 22 04:10 .. -rw-r--r-- 1 root wheel 2079 Aug 22 06:54 log -rw-r--r-- 1 root wheel 5 Aug 22 06:54 pid drwxr-xr-x 2 root wheel 512 Aug 22 04:10 stats /var/ntpd/stats: total 4 drwxr-xr-x 2 root wheel 512 Aug 22 04:10 . drwxr-xr-x 3 root wheel 512 Aug 22 04:11 .. When I start the ntpd, I got the following messages and the ntpd dose not work. ----- /usr/local/bin/ntpd -d -D3 Debug1: 3 -> 3 = 3 ntpd 4.2.0@1.1161-r Sun Aug 22 06:17:30 JST 2004 (1) Debug1: 3 -> 3 = 3 addto_syslog: ntpd 4.2.0@1.1161-r Sun Aug 22 06:17:30 JST 2004 (1) addto_syslog: set_process_priority: Leave priority alone: priority_done is <2> addto_syslog: precision = 7.542 usec create_sockets(123) address_okay: listen Virtual: 1, IF name: fxp0, Up Flag: 1 address_okay: listen Virtual: 1, IF name: fxp0, Up Flag: 1 address_okay: listen Virtual: 1, IF name: lo0, Up Flag: 1 address_okay: listen Virtual: 1, IF name: lo0, Up Flag: 1 address_okay: listen Virtual: 1, IF name: lo0, Up Flag: 1 bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8 flags for fd 4: 06 bind() fd 5, family 28, port 123, addr ::, flags=0 flags for fd 5: 06 bind() fd 6, family 2, port 123, addr 192.168.0.25, flags=8 flags for fd 6: 06 bind() fd 7, family 28, port 123, addr fe80:1::2e0:18ff:fe80:4dd3, flags=0 flags for fd 7: 06 bind() fd 8, family 28, port 123, addr ::1, flags=0 flags for fd 8: 06 bind() fd 9, family 28, port 123, addr fe80:3::1, flags=0 flags for fd 9: 06 bind() fd 10, family 2, port 123, addr 127.0.0.1, flags=0 flags for fd 10: 06 create_sockets: ninterfaces=7 interface 0: fd=4, bfd=-1, name=wildcard, flags=0x8 sin=0.0.0.0 bcast=0.0.0.0, mask=255.255.255.255 interface 1: fd=5, bfd=-1, name=wildcard, flags=0x0 sin=:: mask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff interface 2: fd=6, bfd=-1, name=fxp0, flags=0x9 sin=192.168.0.25 bcast=192.168.0.255, mask=255.255.255.0 interface 3: fd=7, bfd=-1, name=fxp0, flags=0x1 sin=fe80:1::2e0:18ff:fe80:4dd3 mask=ffff:ffff:ffff:ffff:: interface 4: fd=8, bfd=-1, name=lo0, flags=0x5 sin=::1 mask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff interface 5: fd=9, bfd=-1, name=lo0, flags=0x5 sin=fe80:3::1 mask=ffff:ffff:ffff:ffff:: interface 6: fd=10, bfd=-1, name=lo0, flags=0x5 sin=127.0.0.1 mask=255.0.0.0 init_io: maxactivefd 10 local_clock: at 0 state 0 Debug2: 3 -> 3 = 3 getnetnum given 127.127.40.1, got 127.127.40.1 key_expire: at 0 peer_clear: at 0 assoc ID 44700 refid INIT jjy_start (refclock_jjy.c) : 127.127.40.1 mode=1 /dev/jjy1 refclock_open: fd 12 modem status 0x127 refclock_ioctl: fd 12 flags 0x1 newpeer: 127.0.0.1->127.127.40.1 mode 3 vers 4 poll 6 6 flags 0xa1 0x1 ttl 1 key 00000000 configuring filegen: prefix: /var/ntpd/stats/ basename: peerstats -> peerstats type: 2 -> 2 flag: 1 -> 81 configuring filegen: prefix: /var/ntpd/stats/ basename: loopstats -> loopstats type: 2 -> 2 flag: 1 -> 81 configuring filegen: prefix: /var/ntpd/stats/ basename: clockstats -> clockstats type: 2 -> 2 flag: 1 -> 81 authtrust: keyid 0000ffff life 1 report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010) addto_syslog: select(): nfound=-1, error: Interrupted system call jjy_poll (refclock_jjy.c) : 0 poll_update: at 1 127.127.40.1 flags 00a1 poll 6 burst 0 last 0 next 64 auth_agekeys: at 1 keys 1 expired 0 timer: refresh ts 0 refclock_gtlin: fd 12 time 3302114047.698195 timecode 14 2004/08/22 SUN refclock_gtlin: fd 12 time 3302114047.698195 addto_syslog: select(): nfound=-1, error: Interrupted system call ----- When I start the ntpd with configured refer other NTP server, It become a NTP server such as 'stratum 2' normaly. I am not sure where this problem come from. Andy Taki andy@pob.jp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408220815.i7M8Fl4r025774>