[SunHELP] problems with ntpd 4 and DCF77 receiver

Frank-Christian Kruegel fchk at istda.com
Wed Jun 12 04:42:49 CDT 2002


Hi!

I've got problems to get a serial dcf77 time code receiver work on Solaris 8
64
bit kernel. This receiver worked fine on an Sparcstation 10 with Solaris 2.6

My /etc/ntp.conf
----
server 127.127.8.3 prefer mode 16
server 127.127.1.0
fudge 127.127.1.0 stratum 10
logfile /var/log/ntp
logconfig =syncall +clockall
driftfile /etc/ntp.drift
----

The new machine is an Ultra AXe board (300 MHz UltraSparc IIe). This machine
has
got no Sun keyboard/mouse port and two addiional serial ports instead, and I
tried the clock on /dev/term/a (su driver for the pc style serial port, which
is
used for the Sun mouse/keyboard on other models) and on /dev/term/d (se
driver
for the zilog serial chip normally found ).

The refclock device nodes are:

bash-2.03# ls -l /dev/refclock*
lrwxrwxrwx   1 root     root          52 Jun 12 09:15 /dev/refclock-0 ->
../../devices/pci at 1f,0/pci at 1,1/ebus at 1/su at 14,3803f8:a
lrwxrwxrwx   1 root     root          52 Jun 12 09:15 /dev/refclock-1 ->
../../devices/pci at 1f,0/pci at 1,1/ebus at 1/su at 14,3602f8:b
lrwxrwxrwx   1 root     root          52 Jun 12 09:15 /dev/refclock-2 ->
../../devices/pci at 1f,0/pci at 1,1/ebus at 1/se at 14,400000:a
lrwxrwxrwx   1 root     root          52 Jun 12 09:15 /dev/refclock-3 ->
../../devices/pci at 1f,0/pci at 1,1/ebus at 1/se at 14,400000:b


The logfile says ...

12 Jun 11:38:10 ntpd[2811]: PARSE receiver #3: interval for following error
message class is at least 01:00:00
12 Jun 11:38:10 ntpd[2811]: PARSE receiver #3: no data from device within
poll
interval (check receiver / cableling)

... but the receiver's led is blinking so it definitely has reception.

One problem may be the kernel streams module. I do have the Sun compiler, but
I
don't know exacly how to compile the whole thing so it runs properly with a
64
bit kernel.

Does anybody have a working setup with a parse clock he's willing to share
with
me?


Mit freundlichen Gren

Dipl.-Ing. Frank-Christian Krgel
IstDa Kommunikationssysteme



More information about the SunHELP mailing list