Date: Thu, 14 Dec 2006 19:23:28 GMT From: Judah Levine<jlevine@boulder.nist.gov> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/106726: ntp functions return wrong values Message-ID: <200612141923.kBEJNSXf009545@www.freebsd.org> Resent-Message-ID: <200612141930.kBEJUCE2018696@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612141923.kBEJNSXf009545>