[ntp:questions] Is the message Interrupted system call mean a problem in NTP setup

Rejean rsenecal at oerlikon.ca
Tue Jul 17 11:23:18 UTC 2007


I started ntp in my linux box like this:  ntpd -D99

I want to syncronize with a GPS only connected to the serial port
My ntp.conf file is:
fudge 127.127.20.0 nopeer calibrate monitor ntp stats
server 127.127.20.0 mode 1 version 4 prefer
driftfile /etc/ntp.drift
logfile /var/log/ntp
logconfig =all


Output from ntpd is shown below. In the standard output i'm getting
the error "addto_syslog: select(): nfound=-1, error: Interrupted
system call". What doest it mean. Should I worry about this error. For
a c++ programmer like me, an error on select(), mean a server
disconnect from a tcp connection !!! Is that true ?


-------------------------------------------------------------------------------------------------------------------------------------
getrecvbufs returning 1 buffers
refclock_gtlin: fd 9 time 3393658142.241836
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call

getrecvbufs called, no action here
getrecvbufs called, no action here
addto_syslog: input_handler: Processed a gob of fd's in 0.021000 msec

getrecvbufs returning 2 buffers
refclock_gtlin: fd 9 time 3393658143.001926 timecode 72 $GPRMC,
104903,A,4517.065
5,N,07316.2283,W,000.0,137.7,170707,015.5,W,D*1D
nmea: gpsread 72 $GPRMC,104903,A,4517.0655,N,07316.2283,W,
000.0,137.7,170707,015
.5,W,D*1D
nmea: timecode 72 $GPRMC,104903,A,4517.0655,N,07316.2283,W,
000.0,137.7,170707,01
5.5,W,D*1D
refclock_gtlin: fd 9 time 3393658143.001926
getrecvbufs called, no action here
addto_syslog: input_handler: Processed a gob of fd's in 0.020000 msec

getrecvbufs returning 2 buffers
refclock_gtlin: fd 9 time 3393658143.141940 timecode 67 $GPGGA,
104903,4517.0655,
N,07316.2283,W,2,05,5.5,45.9,M,-32.4,M,,*40
nmea: gpsread 67 $GPGGA,104903,4517.0655,N,07316.2283,W,
2,05,5.5,45.9,M,-32.4,M,
,*40
refclock_gtlin: fd 9 time 3393658143.141940
getrecvbufs called, no action here
addto_syslog: input_handler: Processed a gob of fd's in 0.018000 msec

getrecvbufs returning 2 buffers
refclock_gtlin: fd 9 time 3393658143.241950 timecode 45 $GPGLL,
4517.0655,N,07316
.2283,W,104903,A,D*56
nmea: gpsread 45 $GPGLL,4517.0655,N,07316.2283,W,104903,A,D*56
refclock_gtlin: fd 9 time 3393658143.241950
getrecvbufs called, no action here
addto_syslog: select(): nfound=-1, error: Interrupted system call




More information about the questions mailing list