[LinuxPPS] NTPD crash with nmea patch
William S. Brasher
billb958 at door.net
Thu Dec 18 15:18:31 CET 2008
On Thu, 18 Dec 2008, Udo van den Heuvel wrote:
> Daniel Havey wrote:
> > and now it just segfaults.
>
> Hmm.
> On 4.2.4p4 it just works on my VIA.
> Did the patch apply cleanly?
> Anyone?
>
>
> _______________________________________________
> LinuxPPS mailing list
> LinuxPPS at ml.enneenne.com
> http://ml.enneenne.com/cgi-bin/mailman/listinfo/linuxpps
> Wiki: http://wiki.enneenne.com/index.php/LinuxPPS_support
>
>
I've found NTPD to be rather fragile, and have used strace to chase down
problems getting it to run.
For example, on my box, /dev/gps0 is a symlink to /dev/ttyS0. If ttyS0
does not exit then ntpd will segfault on startup. Running
"strace /usr/sbin/ntpd -gn" then ends with:
readlink("/dev/gps0", "ttyS0", 80) = 5
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 19407 detached
More information about the LinuxPPS
mailing list