[LinuxPPS] ntpd and getaddrinfo errors

raffaele messuti raffaele at atomotic.com
Thu Sep 21 15:40:11 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello, i'm experiencing troubles managing my first
linuxpps + ntpd install

<disclaimer> i'm compiling on a uclibc environment

i patched and recompiled a kernel 2.6.17.11
(here  .config http://atomotic.com/linux-2.6.17.11-pps)
with built-in pps and 8250 serial support

so dmesg say:
drivers/pps/procfs.c: procfs enabled
drivers/pps/pps.c: LinuxPPS API ver. 2 registered
drivers/pps/pps.c: Software ver. 2.1.0 - Copyright 2005-2006 Rodolfo  
Giometti <giometti at linux.it>

this is
% cat /proc/pps/sources
id      mode    echo    name                    path
- ----    ------  ----    ----------------        ----------------
00      1133    no      pps_8250_0              /dev/ttyS0
01      1133    no      pps_8250_1              /dev/ttyS1
02      1133    no      pps_8250_2              /dev/ttyS2
03      1133    no      pps_8250_3              /dev/ttyS3

% cat /proc/pps/01/assert
	1158849077.181063000 #3

minicom on /dev/ttyS1 (4800-8N1) display NMEA stream
$GPGGA,101940.959,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,,,,0000*06
$GPVTG,,T,,M,,N,,K*4E

so, it seems working! but..
isc  ntp-4.2.2p3 patched with http://time.qnan.org/linux2.6-pps/ntpd- 
nmea.patch
and this ntp.conf
	server 127.127.20.0 prefer minpoll 4
	fudge 127.127.20.0 flag3 1 flag2 0 time1 0.0

report following errors:

Sep 21 14:39:37 opg daemon.err ntpd[1470]: getaddrinfo:  
"127.127.20.0" invalid host address, ignored
Sep 21 14:39:37 opg user.debug syslog: signal_no_reset: signal 17 had  
flags 4000000
Sep 21 14:39:39 opg daemon.err ntpd_initres[1473]: getaddrinfo  
failed: Input/output error

what i missed?
greets


- --
<raffaele at atomotic.com> [0x39C336BC]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFEpY/NEBieznDNrwRAhJUAKCKrSpa9FkZMYU3zq2WBhpRqUTCGwCeKoPU
pigTWcxz1tnh4ANNqdkbI1g=
=jtHP
-----END PGP SIGNATURE-----



More information about the LinuxPPS mailing list