Hello,
I'm using ubuntu 8.04LTS VM's on ESXi5.0.0, 76811 and the clock of that VM has stopped.
After stopping the clock , almost all processes does not work.
ubuntu804-lts:~# date
Sat Oct 6 18:50:35 JST 2012
ubuntu804-lts:~# date
Sat Oct 6 18:50:35 JST 2012
Seen from KB , I found the similar bug on this when running FreeBSD 8.x and 9.x VM's on ESXi5.
And this bus is fixed on Patch ESXi500-201209401-BG ( Release date: September 27, 2012 )
--
PR887134: Timer stops in FreeBSD 8.x and 9.x as virtual hardware HPET main counter register fails to update due to
comparison failure between signed and unsigned integer values.
--
My ubutntu VM is also using HPET as a clock source.
ubuntu804-lts:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet
So I guess the clock stop issue on Ubuntu has caused by PR887134 bug.
Does anyone know this issue also occurs on Linux VMs which is using HPET as a clock source?
I guess the workarounds are:
- apply the ESXi500-201209401-BG patch on ESXi5.
- change the clock source of the VM from HPET to TSC , ACPI_PM etc ( workaround )
- add "hpet0.present = FALSE" in the VMX file. ( workaround )
[ Ubuntu VM info ]
# of vCPUs : 8
Memory : 2GB
Clock source : HPET
Virtual HW version : 8
ubuntu804-lts:~# egrep processor /proc/cpuinfo | wc -l
8
ubuntu804-lts:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet
CPU ulitization is 9999% ... ![]()

ubuntu804-lts:~# top
top - 18:50:35 up 1 day, 4:16, 5 users, load average: 3.01, 3.05, 3.02
Tasks: 116 total, 4 running, 111 sleeping, 1 stopped, 0 zombie
Cpu0 : 8.3%us, 0.5%sy, 0.0%ni, 89.7%id, 1.5%wa, 0.0%hi, 0.1%si, 0.0%st
Cpu1 : 7.7%us, 2.0%sy, 0.0%ni, 86.4%id, 0.0%wa, 1.3%hi, 2.6%si, 0.0%st
Cpu2 : 81.3%us, 0.1%sy, 0.0%ni, 18.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 90.5%us, 0.1%sy, 0.0%ni, 9.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 78.6%us, 0.1%sy, 0.0%ni, 21.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 16.5%us, 0.1%sy, 0.0%ni, 83.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu6 : 16.4%us, 0.1%sy, 0.0%ni, 83.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 26.5%us, 0.1%sy, 0.0%ni, 73.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2062992k total, 1723768k used, 339224k free, 109052k buffers
Swap: 586332k total, 0k used, 586332k free, 1243640k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6204 root 20 0 16784 1684 1344 R 9999 0.1 6669:34 perl
6470 root 20 0 16784 1684 1344 R 9999 0.1 6667:09 perl
6587 root 20 0 16784 1684 1344 R 9999 0.1 6668:26 perl
1 root 20 0 4084 908 604 S nan 0.0 0:01.43 init
2 root 15 -5 0 0 0 S nan 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S nan 0.0 0:00.23 migration/0
4 root 15 -5 0 0 0 S nan 0.0 0:00.05 ksoftirqd/0
5 root RT -5 0 0 0 S nan 0.0 0:00.11 migration/1
6 root 15 -5 0 0 0 S nan 0.0 0:02.27 ksoftirqd/1
7 root RT -5 0 0 0 S nan 0.0 0:00.14 migration/2
8 root 15 -5 0 0 0 S nan 0.0 0:00.12 ksoftirqd/2
9 root RT -5 0 0 0 S nan 0.0 0:00.10 migration/3
10 root 15 -5 0 0 0 S nan 0.0 0:00.07 ksoftirqd/3
11 root RT -5 0 0 0 S nan 0.0 0:00.10 migration/4
12 root 15 -5 0 0 0 S nan 0.0 0:00.03 ksoftirqd/4
13 root RT -5 0 0 0 S nan 0.0 0:00.15 migration/5