From nobody@FreeBSD.org  Mon Jan 23 20:14:11 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0C8D5106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Jan 2012 20:14:11 +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 EFAB98FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Jan 2012 20:14:10 +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 q0NKEAW1071890
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Jan 2012 20:14:10 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0NKEACP071871;
	Mon, 23 Jan 2012 20:14:10 GMT
	(envelope-from nobody)
Message-Id: <201201232014.q0NKEACP071871@red.freebsd.org>
Date: Mon, 23 Jan 2012 20:14:10 GMT
From: Robert Lampe <rlampe@tqhosting.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 9.0-RELEASE clock stops in Xen 3.2.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164419
>Category:       kern
>Synopsis:       [xen] 9.0-RELEASE clock stops in Xen 3.2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-xen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 20:20:07 UTC 2012
>Closed-Date:    Wed Jan 25 06:59:28 UTC 2012
>Last-Modified:  Wed Jan 25 06:59:28 UTC 2012
>Originator:     Robert Lampe
>Release:        9.0-RELEASE
>Organization:
RootBSD
>Environment:
# uname -a
9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
After following the freebsd-update instructions (http://www.freebsd.org/releases/9.0R/installation.html) to upgrade to 9.0-RELEASE, we have found that VMs running in HVM mode in Xen 3.2.1 have an issue where the clock stops working after about 3 minutes:


# date
Mon Jan 23 20:06:21 UTC 2012
# date
Mon Jan 23 20:09:48 UTC 2012

Any other call of date after this outputs the same result.

New processes cannot be started and the machine is essentially frozen.
>How-To-Repeat:
Create a Xen 3.2.1 HVM virtual machine running FreeBSD 9.0.
>Fix:


>Release-Note:
>Audit-Trail:

From: Bruce Cran <bruce@cran.org.uk>
To: Robert Lampe <rlampe@tqhosting.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/164419: 9.0-RELEASE clock stops in Xen 3.2.1
Date: Mon, 23 Jan 2012 20:31:13 +0000

 On 23/01/2012 20:14, Robert Lampe wrote:
 > After following the freebsd-update instructions 
 > (http://www.freebsd.org/releases/9.0R/installation.html) to upgrade to 
 > 9.0-RELEASE, we have found that VMs running in HVM mode in Xen 3.2.1 
 > have an issue where the clock stops working after about 3 minutes: # 
 > date Mon Jan 23 20:06:21 UTC 2012 # date Mon Jan 23 20:09:48 UTC 2012 
 > Any other call of date after this outputs the same result. New 
 > processes cannot be started and the machine is essentially frozen.
 
 The timecounter code was overhauled for 9.0, making progress towards a 
 'tickless' kernel. As a quick workaround you should be able to set 
 kern.eventtimer.periodic=1 to get ticks going again. You might want to 
 add it to /etc/sysctl.conf to make it permanent until a proper fix can 
 be made.
 
 -- 
 Bruce Cran

From: Rob Lampe <rlampe@tqhosting.com>
To: Bruce Cran <bruce@cran.org.uk>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/164419: 9.0-RELEASE clock stops in Xen 3.2.1
Date: Mon, 23 Jan 2012 15:55:40 -0500

 --14dae9340fcbce831b04b7384056
 Content-Type: text/plain; charset=ISO-8859-1
 
 Thanks for the info. It seems to be running well now.
 
 On Mon, Jan 23, 2012 at 3:31 PM, Bruce Cran <bruce@cran.org.uk> wrote:
 
 > On 23/01/2012 20:14, Robert Lampe wrote:
 >
 >> After following the freebsd-update instructions (http://www.freebsd.org/*
 >> *releases/9.0R/installation.**html<http://www.freebsd.org/releases/9.0R/installation.html>)
 >> to upgrade to 9.0-RELEASE, we have found that VMs running in HVM mode in
 >> Xen 3.2.1 have an issue where the clock stops working after about 3
 >> minutes: # date Mon Jan 23 20:06:21 UTC 2012 # date Mon Jan 23 20:09:48 UTC
 >> 2012 Any other call of date after this outputs the same result. New
 >> processes cannot be started and the machine is essentially frozen.
 >>
 >
 > The timecounter code was overhauled for 9.0, making progress towards a
 > 'tickless' kernel. As a quick workaround you should be able to set
 > kern.eventtimer.periodic=1 to get ticks going again. You might want to add
 > it to /etc/sysctl.conf to make it permanent until a proper fix can be made.
 >
 > --
 > Bruce Cran
 >
 
 
 
 -- 
 Rob Lampe
 Tranquil Hosting / RootBSD
 www.tqhosting.com
 www.rootbsd.net
 
 --14dae9340fcbce831b04b7384056--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Jan 25 06:58:42 UTC 2012 
State-Changed-Why:  
Apparently the problem has been fixed via a configuration change. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-xen 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jan 25 06:58:42 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=164419 
>Unformatted:
