From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 14 19:31:54 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C4E616A4C8 for ; Thu, 14 Dec 2006 19:31:54 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC14E43DAD for ; Thu, 14 Dec 2006 19:28:55 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBEJUChM018698 for ; Thu, 14 Dec 2006 19:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBEJUCE2018696; Thu, 14 Dec 2006 19:30:12 GMT (envelope-from gnats) Resent-Date: Thu, 14 Dec 2006 19:30:12 GMT Resent-Message-Id: <200612141930.kBEJUCE2018696@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, Judah Levine Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B26716A40F for ; Thu, 14 Dec 2006 19:25:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B8D43CAE for ; Thu, 14 Dec 2006 19:21:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBEJNSMG009546 for ; Thu, 14 Dec 2006 19:23:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kBEJNSXf009545; Thu, 14 Dec 2006 19:23:28 GMT (envelope-from nobody) Message-Id: <200612141923.kBEJNSXf009545@www.freebsd.org> Date: Thu, 14 Dec 2006 19:23:28 GMT From: Judah Levine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/106726: ntp functions return wrong values 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: Thu, 14 Dec 2006 19:31:54 -0000 >Number: 106726 >Category: kern >Synopsis: ntp functions return wrong values >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 14 19:30:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Judah Levine >Release: 6.1 >Organization: NIST/University of Colorado >Environment: FreeBSD lap.colorado.edu 6.1-RELEASE /usr/src/sys/i386/compile/LAP The system is a standard Dell system with full 6.1 installation from the CDs. >Description: The system calls ntp_gettime() and ntp_adjtime() return incorrect values. This problem is new to 6.1 -- the same subroutines called from the identical user program worked correctly in 5.1, the previous version that I was using. I reported this problem directly to poul-henning kamp some time ago, but I have not had a reply. I am prepared to try and fix the problem myself, but I think the problem is in ntp_gettime(), which I think is in libc. I have all of the CDs but I can't find the source code for libc. Can you tell me where this code is located? >How-To-Repeat: A call to ntp_gettime will return the status of the call rather than the status of the clock, which is how it is supposed to work. the return status is -1 with an errno of 55. >Fix: ? >Release-Note: >Audit-Trail: >Unformatted: