My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.

Showing posts with label host clock rate change. Show all posts
Showing posts with label host clock rate change. Show all posts

Sunday, March 29, 2009

host clock rate changes again

Updated April 16, 2009: And the answer is running 'vmware-config.pl', which I did recently after a kernel update, causes the 'host.useFastClock = FALSE' line to disappear from /etc/vmware/config.

Original post follows...

Argh, once again my syslog on my VMWare server was getting filled up with host clock rate change messages:
# tail /var/log/syslog
Mar 29 08:31:46 casey kernel: [1894820.064260] [925]: host clock rate change request 54 -> 58
Mar 29 08:31:57 casey kernel: [1894831.040153] [925]: host clock rate change request 58 -> 24
Mar 29 08:31:57 casey kernel: [1894831.040272] [925]: host clock rate change request 24 -> 54
Mar 29 08:31:59 casey kernel: [1894832.676158] [925]: host clock rate change request 54 -> 58
Once again "host.useFastClock = FALSE" was missing from /etc/vmware/config

Once again, I added it and restarted vmware (/etc/init.d/vmware restart).

Once again, this cleared up the problem.

I decided to add a daily check for this line to try and figure out why it disappears:
# vi check-vmware-config
# cat /etc/cron.daily/check-vmware-config
#!/bin/sh
grep "useFastClock" /etc/vmware/config > /dev/null
if test $? -ne 0 ; then
echo "WARNING: useFastClock line not found in /etc/vmware/config"
fi
# chmod +x /etc/cron.daily/check-vmware-config
Nothing to do now but sit back and wait....