Time Slipping with CentOS VMWARE client

If it doesn't fit in another category, ask it here.
mrcool
Posts: 11
Joined: 2008/05/23 21:39:35
Contact:

Time Slipping with CentOS VMWARE client

Postby mrcool » 2008/05/23 21:48:30

I have read and tried everything I can find in regards to my client OS losing time. I am not a expert user with Linux.


Details:
Host OS: Windows 2003 x64
Vmware Workstation

Client OS: CentOS BlueQuartz


I am willing to pay to have this fixed at this this point. Is there anyone that thinks they may be able to resolve this for me?

User avatar
toracat
Forum Moderator
Posts: 7230
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby toracat » 2008/05/23 22:08:05

mrcool wrote:
I have read and tried everything I can find in regards to my client OS losing time.

It would help if you describe what you have actually tried so far. Have you tried adding 'divider=10' to the kernel boot option to change your guest clock to 100Hz? Did you install vmware tools in your guest and enable time synchronization between your host and the guest? Have you looked at different clocksource options? etc etc.

scottro
Forum Moderator
Posts: 2329
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby scottro » 2008/05/23 23:00:16

Also, there is a special CentOS VMware kernel. This might help as well.
I'm darned if I remember where I got it. A quick google shows a CentOS 4.x vmware kernel, but try doing a search on VMware forums for CentOS. I know it exists because I'm running it at work. (This is a kernel to be used by a CentOS guest.)

User avatar
toracat
Forum Moderator
Posts: 7230
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby toracat » 2008/05/23 23:14:42

scottro wrote:
Also, there is a special CentOS VMware kernel. This might help as well.
I'm darned if I remember where I got it. A quick google shows a CentOS 4.x vmware kernel, but try doing a search on VMware forums for CentOS. I know it exists because I'm running it at work. (This is a kernel to be used by a CentOS guest.)

Yes, it is named kernel-vm. These kernels have a clock rate set to 100Hz. You can find them at:

http://dev.centos.org/centos/5/testing/i386/RPMS/
(substitute the arch as needed)

And if you have hours of time you can afford to spend, you can learn how kernel-vm was born in the CentOS community here:

http://bugs.centos.org/view.php?id=2189

It is also a good read if you are interested in the system timer and that sort of stuff.

mrcool
Posts: 11
Joined: 2008/05/23 21:39:35
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby mrcool » 2008/05/24 02:11:27

I had a friend that knows how to change or re-compile the kernel to the 100Hz.

I have tried the "clock=pit nosmp noapic nolapic" in grub.

The one thing I can't do is install the VMWARE tools into the OS. I just don't have the skills to do it. I am more of a windows guy than a linux guy. I got them copied to the local drive it won't install due to many of dependancys not being installed.

User avatar
toracat
Forum Moderator
Posts: 7230
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby toracat » 2008/05/24 04:07:13

mrcool wrote:

The one thing I can't do is install the VMWARE tools into the OS. I just don't have the skills to do it. I am more of a windows guy than a linux guy. I got them copied to the local drive it won't install due to many of dependancys not being installed.

CentOS developer, Johnny Hughes, offers an rpm package for vmware tools. You can find it here:

http://people.centos.org/hughesjr/open-vm-tools/

What is the output of uname -mr ?

mrcool
Posts: 11
Joined: 2008/05/23 21:39:35
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby mrcool » 2008/05/25 05:10:11

2.6.9-67.0.7.EL i686

mrcool
Posts: 11
Joined: 2008/05/23 21:39:35
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby mrcool » 2008/05/25 05:28:31

So I downloaded kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.EL.i686.rpm and ran it with the following command

rpm -i kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.EL.i686.rpm

error: Failed dependencies:
open-vm-tools-kmod-common >= 0 is needed by kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.EL.i686


Thanks for the help guys.

User avatar
toracat
Forum Moderator
Posts: 7230
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby toracat » 2008/05/25 11:42:49

Try downloading all 3 open-vm-tools-xxx rpms in the same directory and installing them at once.

mrcool
Posts: 11
Joined: 2008/05/23 21:39:35
Contact:

Re: Time Slipping with CentOS VMWARE client

Postby mrcool » 2008/05/26 07:02:10

kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.EL.i686.rpm
kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.ELvm.i686.rpm
kmod-open-vm-tools-0-0.20080502.2.6.9_67.0.7.plus.c4.i686.rpm

I downloaded these three things and don't have a clue how to install them at the same time. I tried intalling them individually and they complain of dependencys missing.