Re: time stops under VMWare VM

2013-06-23 Thread Rodolfo Gouveia
On Fri, Jun 21, 2013 at 08:00:38PM -0500, Josh Hoppes wrote:
 I've run into this issue as well in past versions. Set this in 
 /etc/sysctl.conf
 kern.timecounter.hardware=acpitimer0

Thanks Josh!
That solved the problem. I was able to set the time correctly with
ntpd just after setting that sysctl.

cheers,
--rodolfo



Re: time stops under VMWare VM

2013-06-22 Thread André Stöbe
Josh Hoppes wrote:
 I've run into this issue as well in past versions. Set this in 
 /etc/sysctl.conf
 kern.timecounter.hardware=acpitimer0

Yes, that's the sysctl I've adjusted, too.
The one I mentioned earlier is not correct. I think I only used it to get valid
values to set for kern.timecounter.hardware. Sorry for the confusion.

Regards
André



time stops under VMWare VM

2013-06-21 Thread Rodolfo Gouveia
Hi all,
I have had this issue that time stops under my 5.3 AMD64 VM
running on top of VMware ESXi 5.
The VM gets in this strange behaviour that time just stops:
 $ date
 Fri Jun 21 18:19:55 WEST 2013
 $ sudo date 198506131627
 Thu Jun 13 16:27:00 WEST 1985
after a few minutes
 $ date 
 Thu Jun 13 16:27:00 WEST 1985
Also I get the dmesg full of these messages:
 vmware: sending length failed, eax=, ecx=
 vmt0: failed to send TCLO outgoing ping

Another behaviour is that if I make a new tmux server, I can't
type inside it, like there is no feedback.

I've noticed this happens after I hit swap, output from top:
Memory: Real: 68M/336M act/tot Free: 646M Cache: 193M Swap: 21M/2050M

The only way I've found to resolve is to reboot the machine.

Any ideas?

OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1072627712 (1022MB)
avail mem = 1021636608 (974MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (268 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 01/07/2011
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) 
S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) 
Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) 
Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) 
Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P1(S3) S1F0(S3) S2F0(S3) 
S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) 
Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) 
Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) Z016(S3) 
Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P2(S3) S1F0(S3) 
S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) 
Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) Z00V(S3) Z00W(S3) Z00X(S3) 
Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) Z013(S3) Z014(S3) Z015(S3) 
Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) Z01B(S3) Z01C(S3) P2P3(S3) 
S1F0(S3) S2F0(S3) S3F0(S3) S4F0(S3) S5F0(S3) S6F0!
 (S3) S7F0(S3) S8F0(S3) S9F0(S3) Z00Q(S3) Z00R(S3) Z00S(S3) Z00T(S3) Z00U(S3) 
Z00V(S3) Z00W(S3) Z00X(S3) Z00Y(S3) Z00Z(S3) Z010(S3) Z011(S3) Z012(S3) 
Z013(S3) Z014(S3) Z015(S3) Z016(S3) Z017(S3) Z018(S3) Z019(S3) Z01A(S3) 
Z01B(S3) Z01C(S3) PE40(S3) S1F0(S3) PE50(S3) S1F0(S3) PE60(S3) S1F0(S3) 
PE70(S3) S1F0(S3) PE80(S3) S1F0(S3) PE90(S3) S1F0(S3) PEA0(S3) S1F0(S3) 
PEB0(S3) S1F0(S3) PEC0(S3) S1F0(S3) PED0(S3) S1F0(S3) PEE0(S3) S1F0(S3) 
PE41(S3) S1F0(S3) PE42(S3) S1F0(S3) PE43(S3) S1F0(S3) PE44(S3) S1F0(S3) 
PE45(S3) S1F0(S3) PE46(S3) S1F0(S3) PE47(S3) S1F0(S3) PE51(S3) S1F0(S3) 
PE52(S3) S1F0(S3) PE53(S3) S1F0(S3) PE54(S3) S1F0(S3) PE55(S3) S1F0(S3) 
PE56(S3) S1F0(S3) PE57(S3) S1F0(S3) PE61(S3) S1F0(S3) PE62(S3) S1F0(S3) 
PE63(S3) S1F0(S3) PE64(S3) S1F0(S3) PE65(S3) S1F0(S3) PE66(S3) S1F0(S3) 
PE67(S3) S1F0(S3) PE71(S3) S1F0(S3) PE72(S3) S1F0(S3) PE73(S3) S1F0(S3) 
PE74(S3) S1F0(S3) PE75(S3) S1F0(S3) PE76(S3) S1F0(S3) PE77(S3) S1F0(S3) 
PE81(S3) S1F0(S3) PE82(S3) S1F0(S3) PE83(S3) S1!
 F0(S3) PE84(S3) S1F0(S3) PE85(S3) S1F0(S3) PE86(S3) S1F0(S3) PE87(S3) S1F0(S3) 
PE91(S3) S1F0(S3) PE92(S3) S1F0(S3) PE93(S3) S1F0(S3) PE94(S3) S1F0(S3) 
PE95(S3) S1F0(S3) PE96(S3) S1F0(S3) PE97(S3) S1F0(S3) PEA1(S3) S1F0(S3) 
PEA2(S3) S1F0(S3) PEA3(S3) S1F0(S3) PEA4(S3) S1F0(S3) PEA5(S3) S1F0(S3) 
PEA6(S3) S1F0(S3) PEA7(S3) S1F0(S3) PEB1(S3) S1F0(S3) PEB2(S3) S1F0(S3) 
PEB3(S3) S1F0(S3) PEB4(S3) S1F0(S3) PEB5(S3) S1F0(S3) PEB6(S3) S1F0(S3) 
PEB7(S3) S1F0(S3) SLPB(S4) LID_(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.45 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 65MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2227.87 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
vmt0 at mainbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 

Re: time stops under VMWare VM

2013-06-21 Thread André Stöbe
Rodolfo Gouveia wrote:
 I have had this issue that time stops under my 5.3 AMD64 VM
 running on top of VMware ESXi 5.

I had similar issues some time ago.

After running into this two or three times I found some hints on the
FreeBSD forums, where several people were looking for answers to the
same behaviour: http://forums.freebsd.org/showthread.php?t=31929

I ended up adjusting the kern.timecounter.choice sysctl, which
worked for me.

There's now also a ESXi patch available from VMware. See KB2021185.

Regards
André



Re: time stops under VMWare VM

2013-06-21 Thread Josh Hoppes
I've run into this issue as well in past versions. Set this in /etc/sysctl.conf
kern.timecounter.hardware=acpitimer0

On Fri, Jun 21, 2013 at 3:25 PM, André Stöbe andresto...@gmail.com wrote:
 Rodolfo Gouveia wrote:
 I have had this issue that time stops under my 5.3 AMD64 VM
 running on top of VMware ESXi 5.

 I had similar issues some time ago.

 After running into this two or three times I found some hints on the
 FreeBSD forums, where several people were looking for answers to the
 same behaviour: http://forums.freebsd.org/showthread.php?t=31929

 I ended up adjusting the kern.timecounter.choice sysctl, which
 worked for me.

 There's now also a ESXi patch available from VMware. See KB2021185.

 Regards
 André