Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 16:04:09 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "James R. Van Artsdalen" <james-freebsd-current@jrv.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: ts_to_ct messages; ntp: time correction of -1200 seconds exceeds sanity limit
Message-ID:  <20101206140409.GC2417@deviant.kiev.zoral.com.ua>
In-Reply-To: <4CFC4AB3.4090604@jrv.org>
References:  <4CFC4AB3.4090604@jrv.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--O3RTKUHj+75w1tg5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@gohorns.x:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
> 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>
=20
-#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 !=3D 0 */
=20

--O3RTKUHj+75w1tg5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAkz87VkACgkQC3+MBN1Mb4hjfQCgksji9kx/DjkXqPdE7kVrwzgn
VmIAn2DOzIzB+Yoco2+eCY1oxm/Tz07I
=vC8b
-----END PGP SIGNATURE-----

--O3RTKUHj+75w1tg5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101206140409.GC2417>