VMware Communities
tacchino
Contributor
Contributor

Ubuntu 9.04 jaunty like host: (/dev/rtc) is not available (Permission denied)

Hi, after I've updeted to ubuntu 9.04 and upgraded vmware to the last workstation version: "6.5.3 build-185404".

Now I've two new probles:

when I start a VM I get the message: "The host high-resolution timer device (/dev/rtc) is not available (Permission denied). Without this device, the guest operating system can fail to keep time correctly. For more information, see http://vmware.com/info?id=34.";

but my kernel is: "2.6.28-15".

The second problem is "network bridge is down because ..." and I can resolve (temporary) ths problem running "sudo vmware-netcfg" and then press "Save" button (without any options change).

Any idea?

Tanks

0 Kudos
4 Replies
dtracey
Expert
Expert

Hi mate,

There are a few posts on this known issue already:

http://communities.vmware.com/thread/202770?start=15&tstart=0

Hope that helps.

Dan

0 Kudos
claudiot
Enthusiast
Enthusiast

Hi, I had the same problem (Ubuntu 9.04, 2.6.27-14-server). After reading http://communities.vmware.com/thread/202770?start=15&tstart=0 i tried

cat /proc/sys/dev/hpet/max-user-freq

and got 64!! So i set it to 1024, but the error was still there.

After some more searching, i found some references to /sys/class/rtc/rtc0, so tried

cat /sys/class/rtc/rtc0/max-user-freq

and it was still 64!

after setting that value to 1024, the problem with VMware seems to be solved,and the guest seems to be much faster. However, I'm wondering:

- why both values were set that low (I hope I didn't misconfigure anything relevant)

- what's the difference between hpet and rtc (I thought one replaced the other)

0 Kudos
claudiot
Enthusiast
Enthusiast

No, the problem is still there...

0 Kudos
pmorch
Enthusiast
Enthusiast

Ah, YES! This fixed it for me:

$ sudo bash -c 'echo 1024 > /sys/class/rtc/rtc0/max_user_freq'

Note how it is max_user_freq, not max-user-freq

Also, http://communities.vmware.com/thread/202770?start=15&tstart=0 mentions:

$ sudo bash -c 'echo 1024 > /proc/sys/dev/hpet/max-user-freq'

But that didn't do anything for me.

I've been annoyed by this /dev/rtc business for bloody YEARS in one incarnation or another. (Along with danish keyboard issues in many different incarnations too). This fixed the /dev/rtc problem on my Ubuntu workstation!

0 Kudos