misc/141264: ntpd crashes when tries to use an oncore reference clock

Christian Pinedo chr.pinedo at gmail.com
Tue Dec 8 00:00:18 UTC 2009


>Number:         141264
>Category:       misc
>Synopsis:       ntpd crashes when tries to use an oncore reference clock
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 08 00:00:18 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Christian Pinedo
>Release:        8.0p1
>Organization:
>Environment:
$ uname -a
FreeBSD xxx.yyy.zz 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec  6 11:59:43 CET 2009     root at xxx.yyy.zz:/usr/obj/usr/src/sys/PPS-GENERIC  i386
$ cat /sys/i386/conf/PPS-GENERIC
#
# Kernel configuration for NTPD Server
#
include GENERIC
ident 	PPS-GENERIC
options	PPS_SYNC

>Description:
When I try to use the Oncore Reference clock with NTPD, daemon crashes. This is the output in /var/log/messages:

Dec  8 00:19:15 xxx ntpd[978]: stack overflow detected; terminated



The configuration file:

xxx# cat /etc/ntp.conf
enable kernel
#pps /dev/pps0 assert hardpss
pps /dev/oncore.pps.0 assert hardpss
server 127.127.30.0 prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10 	

restrict 127.0.0.1
restrict -6 ::1
restrict default limited kod nomodify notrap nopeer noquery
restrict -6 default limited kod nomodify notrap nopeer noquery

discard average 5 minimum 2 monitor 1
	
driftfile /var/db/ntpd.drift
logfile  /var/log/ntpd
statsdir /var/log/ntpstats/
statistics clockstats cryptostats loopstats sysstats
filegen clockstats file clockstats type day enable
filegen cryptostats file cryptostats type day enable
filegen loopstats file loopstats type day enable
filegen sysstats file sysstats type day enable

>How-To-Repeat:

>Fix:
The problem seems to be discovered previously and a patch has been suggested that i haven't tested yet: http://groups.google.com/group/mailing.freebsd.current/browse_thread/thread/ed5a85934d33e305

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list