From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 8 00:00:18 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE5F01065692 for ; Tue, 8 Dec 2009 00:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6428FC1D for ; Tue, 8 Dec 2009 00:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB800ISv038335 for ; Tue, 8 Dec 2009 00:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB800Ijl038334; Tue, 8 Dec 2009 00:00:18 GMT (envelope-from gnats) Resent-Date: Tue, 8 Dec 2009 00:00:18 GMT Resent-Message-Id: <200912080000.nB800Ijl038334@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Pinedo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C315106568F for ; Mon, 7 Dec 2009 23:58:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCDF8FC1B for ; Mon, 7 Dec 2009 23:58:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB7Nw4ZU029254 for ; Mon, 7 Dec 2009 23:58:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB7Nw4tm029253; Mon, 7 Dec 2009 23:58:04 GMT (envelope-from nobody) Message-Id: <200912072358.nB7Nw4tm029253@www.freebsd.org> Date: Mon, 7 Dec 2009 23:58:04 GMT From: Christian Pinedo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/141264: ntpd crashes when tries to use an oncore reference clock X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 00:00:18 -0000 >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@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: