On Dec 18, 11:47 am, dhavey <[email protected]> wrote: > On Dec 17, 11:03 pm, David Woolley > > <[email protected]> wrote: > > Hal Murray wrote: > > > In article > > > <0ea640c4-6e30-457a-8b80-6274ea367...@k36g2000pri.googlegroups.com>, > > > dhavey <[email protected]> writes: > > >> and it segfaults. Any clues? > > > > Does /dev/gps0 exist? Often, it's a symlink to whatever > > > your OS uses for /dev/tty stuff. > > > What is that OS and what does the debugger say was the location of the > > crash when you run an unstripped version? Can you reproduce with an > > unoptimised full debug build? > > /dev/gps0 -> /dev/pps0 > exists. > dmesg says: > ntpd[11347]: segfault at 0 ip 0000003361a341ca sp 00007fff3b8ca680 > error 4 in libc-2.5.so[3361a00000+14a000] > > Where is the ntp log? > What full debug? > Okay chill, I'm going to read the README ;)
ntp.log 18 Dec 13:11:16 ntpd[11838]: logging to file /var/log/ntpd.log 18 Dec 13:11:16 ntpd[11838]: precision = 1.000 usec 18 Dec 13:11:16 ntpd[11838]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 18 Dec 13:11:16 ntpd[11838]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled 18 Dec 13:11:16 ntpd[11838]: Listening on interface #1 wildcard, ::#123 Disabled 18 Dec 13:11:16 ntpd[11838]: Listening on interface #2 lo, ::1#123 Enabled 18 Dec 13:11:16 ntpd[11838]: Listening on interface #3 eth0, fe80::21d: 9ff:fe18:815#123 Enabled 18 Dec 13:11:16 ntpd[11838]: Listening on interface #4 lo, 127.0.0.1#123 Enabled 18 Dec 13:11:16 ntpd[11838]: Listening on interface #5 eth0, 192.168.0.29#123 Enabled 18 Dec 13:11:16 ntpd[11838]: kernel time sync status 0040 18 Dec 13:11:16 ntpd[11838]: configure: keyword "ning" unknown, line ignored 18 Dec 13:11:16 ntpd[11838]: refclock_setup fd 6 tcgetattr: Inappropriate ioctl for device gdb looks like this: (gdb) run -l /var/log/ntpd.log -c /etc/ntp.gps Starting program: /usr/local/bin/ntpd -l /var/log/ntpd.log -c /etc/ ntp.gps [Detaching after fork from child process 11958. (Try `set detach-on- fork off'.)] Program exited normally. (gdb) I took the -o2 flag out of the Makefile. I don't know what you mean by an "unstripped version". _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
