From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 7 17:00:23 2011 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 0D99F1065676 for ; Mon, 7 Mar 2011 17:00:23 +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 EA5AE8FC17 for ; Mon, 7 Mar 2011 17:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p27H0GZV034500 for ; Mon, 7 Mar 2011 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p27H0GM3034481; Mon, 7 Mar 2011 17:00:16 GMT (envelope-from gnats) Resent-Date: Mon, 7 Mar 2011 17:00:16 GMT Resent-Message-Id: <201103071700.p27H0GM3034481@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, Oliver Schonefeld Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6653A1065674 for ; Mon, 7 Mar 2011 16:51:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5614E8FC19 for ; Mon, 7 Mar 2011 16:51:09 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p27Gp8f8018341 for ; Mon, 7 Mar 2011 16:51:08 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p27Gp8YE018340; Mon, 7 Mar 2011 16:51:08 GMT (envelope-from nobody) Message-Id: <201103071651.p27Gp8YE018340@red.freebsd.org> Date: Mon, 7 Mar 2011 16:51:08 GMT From: Oliver Schonefeld To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/155353: [xen] [patch] put "nudging TOD" message under boot_verbose 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: Mon, 07 Mar 2011 17:00:23 -0000 >Number: 155353 >Category: kern >Synopsis: [xen] [patch] put "nudging TOD" message under boot_verbose >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 07 17:00:16 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oliver Schonefeld >Release: FreeBSD 8-Stable i386/XEN >Organization: >Environment: FreeBSD xxx 8.2-STABLE FreeBSD 8.2-STABLE #3: Mon Mar 7 10:42:48 CET 2011 xxx@xxx:/export/obj/export/sources/stable/src/sys/CAPRICA_XEN i386 >Description: Every minute the following message printed to the dmesg kernel buffer: [XEN] hypervisor wallclock nudged; nudging TOD. The attached patch puts this message unter boot_verbose. >How-To-Repeat: Install FreeBSD 8 Stable i386/xen and boot. >Fix: Apply the attached patch. Patch attached with submission follows: --- sys/i386/xen/clock.c 2010-12-20 21:39:49.000000000 +0100 +++ sys/i386/xen/clock.c.patched 2011-03-07 17:36:46.000000000 +0100 @@ -342,7 +342,8 @@ if (shadow_tv_version != HYPERVISOR_shared_info->wc_version && !independent_wallclock) { - printf("[XEN] hypervisor wallclock nudged; nudging TOD.\n"); + if (bootverbose) + printf("[XEN] hypervisor wallclock nudged; nudging TOD.\n"); update_wallclock(); add_uptime_to_wallclock(); tc_setclock(&shadow_tv); >Release-Note: >Audit-Trail: >Unformatted: