Date: Mon, 7 Mar 2011 16:51:08 GMT From: Oliver Schonefeld <oliver.schonefeld@xconcur.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/155353: [xen] [patch] put "nudging TOD" message under boot_verbose Message-ID: <201103071651.p27Gp8YE018340@red.freebsd.org> Resent-Message-ID: <201103071700.p27H0GM3034481@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103071651.p27Gp8YE018340>
