[LinuxPPS] Occasionally ntpd stops receiving NMEA data

Rodolfo Giometti giometti at linux.it
Mon Jun 5 09:32:32 CEST 2006


On Mon, Jun 05, 2006 at 12:35:06AM -0500, Philip M. White wrote:
> 
> Here's a log of `dmesg':
> 
> vers/pps/pps.c: New message from PID 21711 (flags 0)
> drivers/pps/pps.c: PPS_FETCH: source 0
> drivers/pps/kapi.c: capture assert seq #132 for source 0
> drivers/serial/8250.c: serial8250: PPS assert event at 36061905
> drivers/pps/kapi.c: capture clear seq #131 for source 0
> drivers/serial/8250.c: serial8250: PPS clear event at 36062005
> drivers/pps/kapi.c: capture assert seq #133 for source 0
> drivers/serial/8250.c: serial8250: PPS assert event at 36062905
> drivers/pps/kapi.c: capture clear seq #132 for source 0
> drivers/serial/8250.c: serial8250: PPS clear event at 36063005
> drivers/pps/pps.c: New message from PID 21711 (flags 0)
> drivers/pps/pps.c: PPS_FETCH: source 0
> drivers/pps/kapi.c: capture assert seq #134 for source 0
> drivers/serial/8250.c: serial8250: PPS assert event at 36063905
> drivers/pps/kapi.c: capture clear seq #133 for source 0
> drivers/serial/8250.c: serial8250: PPS clear event at 36064005
> drivers/pps/kapi.c: capture assert seq #135 for source 0
> drivers/serial/8250.c: serial8250: PPS assert event at 36064905
> drivers/pps/kapi.c: capture clear seq #134 for source 0
> drivers/serial/8250.c: serial8250: PPS clear event at 36065006
> drivers/pps/pps.c: New message from PID 21711 (flags 0)
> drivers/pps/pps.c: PPS_FETCH: source 0
> [it stops here]

Does it stop each time in that position?

> When I Ctrl-C the ntpd process (which is running in the foreground with
> the -d switch), it takes a while for the process to die, like it's stuck
> waiting for something.

Try using the "strace" command in order to know where it happens.

> Once I restart ntpd, for a little while everything's fine again -- it
> can see NMEA data.

And then it restarts working good? Or after a while it stops again?

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060605/16ed1ec8/attachment.pgp


More information about the LinuxPPS mailing list