Fixing clock drift on a debian VMware guest

Been having some weird problems on a debian guest running on VMware server. The clock was losing about 12-13 seconds every minute. After some research we found some kernel options that drastically reduced the drift to such an extent that we can use an hourly ntpdate command to keep the clock in sync.

We edited the /boot/grub/menu.lst file and modified the "kernel" line from this:

kernel          /boot/vmlinuz-2.6.18-4-686 root=/dev/sda1 ro

to this:

kernel          /boot/vmlinuz-2.6.18-4-686 root=/dev/sda1 ro nosmp noapic nolapic clocksource=pit

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s