ts_to_ct messages; ntp: time correction of -1200 seconds exceeds sanity limit

Kostik Belousov kostikbel at gmail.com
Mon Dec 6 14:04:14 UTC 2010


On Sun, Dec 05, 2010 at 08:30:11PM -0600, James R. Van Artsdalen wrote:
> FreeBSD gohorns.x 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r216088: Thu Dec  2
> 23:20:14 CST 2010     root at gohorns.x:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> I have been getting a lot of ts_to_ct for months: are we supposed to
> look for something or report anything about these?
They should be silenced. I have this local change for too long, will
commit it shortly unless somebody objects:

diff --git a/sys/kern/subr_clock.c b/sys/kern/subr_clock.c
index 4e7bcd0..c04b5ac 100644
--- a/sys/kern/subr_clock.c
+++ b/sys/kern/subr_clock.c
@@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/timetc.h>
 
-#define ct_debug bootverbose
+static int ct_debug;
 static int adjkerntz;		/* local offset from UTC in seconds */
 static int wall_cmos_clock;	/* wall CMOS clock assumed if != 0 */
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101206/edc6a6ca/attachment.pgp


More information about the freebsd-current mailing list