kern/155353: [xen] [patch] put "nudging TOD" message under boot_verbose

Oliver Schonefeld oliver.schonefeld at xconcur.org
Mon Mar 7 17:00:23 UTC 2011


>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 at 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:


More information about the freebsd-bugs mailing list