Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2012 14:38:44 +0700
From:      Adam Strohl <adams-freebsd@ateamsystems.com>
To:        FreeBSD-Stable ML <freebsd-stable@freebsd.org>
Subject:   Re: SOLVED: Time Clock Stops in FreeBSD 9.0 guest running under ESXi 5.0
Message-ID:  <501B8004.1000503@ateamsystems.com>
In-Reply-To: <E1SGoVX-000EYm-90@kabab.cs.huji.ac.il>
References:  <1977769407.20120322151934@tkachuk.name> <4F6B4030.5090907@FreeBSD.org> <4F6B4631.8020006@gmail.com> <4F6B4B93.7020309@FreeBSD.org> <4F6B4FAB.1020202@gmail.com> <1332434072.8403.79.camel@revolution.hippie.lan> <E1SGoVX-000EYm-90@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Just a heads up on the original issue, which is FreeBSD's timer/clock 
stopping under ESXi 5.0 and some later versions of VMware Workstation.

I've gotten a few direct messages that this thread ranks high on Google 
but people are missing the solution.  A few months ago I found this 
forum posting (I believe this was linked in this thread already) 
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2012-03/msg00201.html 


The long and short of it is that changing the kern.timecounter sysctl 
value to ACPI-fast or (ACPI-safe if you're not running 9.x yet) fixes 
the hanging issue so far for us.

To temporarily enable it under 9.x:
sysctl kern.timecounter.hardware=ACPI-fast

Pre 9.x (which doesn't have the ACPI-fast mode):
sysctl kern.timecounter.hardware=ACPI-safe

To make this persist across reboots and be enabled by default add this 
line to your /etc/sysctl.conf

Under 9.x:
kern.timecounter.hardware=ACPI-fast

Pre 9.x:
kern.timecounter.hardware=ACPI-safe

Hope this helps anyone running across this issue.

-- 
Adam Strohl
http://www.ateamsystems.com/




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