View previous topic :: View next topic |
Author |
Message |
NTICompass Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7095650075229e910b8f0d.png)
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Sat Jun 05, 2010 9:54 pm Post subject: [SOLVED] VMware Player Real Time Clock |
|
|
When I try to run an OS on Vmware Player 3.1, I get the following error:
"The host high-resolution timer device (/dev/rtc) is not available (Inappropriate ioctl for device). Without this device, the guest operating system can fail to keep time correctly. For more information, see http://www.vmware.com/info?id=34."
In /var/log/messages, I get this:
Jun 5 17:33:17 Hypercube kernel: /dev/vmmon[6268]: /dev/rtc enable interrupt failed: -25
What is wrong? I am running VMware player on Gentoo 64-bit, 2.6.32 kernel.
Last edited by NTICompass on Fri Jun 11, 2010 9:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BradN Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_observer.gif)
Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Tue Jun 08, 2010 9:09 pm Post subject: |
|
|
Probably what you need to do is alter your host kernel config to enable high resolution timer support (I think they use HPET as an acronym, high precision event timer) - I'm not at a machine with kernel sources available at the moment so I can't help you more specifically, but probably someone reading this can post where the relevant settings are. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NTICompass Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7095650075229e910b8f0d.png)
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Fri Jun 11, 2010 5:33 pm Post subject: |
|
|
I am running kernel version 2.6.32-gentoo-r7 (64-bit). I have these settings in my kernel config set:
Code: |
Processor type and features->
[*] Tickless System (Dynamic Ticks)
[*] High Resolution Timer Support
Timer frequency (250Hz) <- I have a quad core system (250Hz * 4 = 1000Hz)
Device drivers ->
Character devices ->
<*> Enhanced Real Time Clock Support (legacy PC RTC driver)
[*] HPET - High Precision Event Timer
[*] Allow mmap of HPET
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Jun 11, 2010 8:02 pm Post subject: |
|
|
can you post:
Code: |
zgrep RTC /proc/config.gz
|
from your host OS
mainly curious about the state of:
Code: |
CONFIG_RTC_DRV_CMOS
|
_________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NTICompass Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7095650075229e910b8f0d.png)
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Fri Jun 11, 2010 8:14 pm Post subject: |
|
|
Code: |
nticompass@Hypercube ~ % zgrep RTC /proc/config.gz
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_RTC_CLASS is not set
|
Hmmmm, CONFIG_RTC_DRV_CMOS isn't there. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Jun 11, 2010 8:25 pm Post subject: |
|
|
let me look on a newer kernel, that was 2.6.29 (sorry about that)
hold...will edit this post in a tick...
edit 1 -
see if you have these ticked beneath Device Driver=>Real Time Clock
Code: |
[*] /sys/class/rtc/rtcN (sysfs)
[*] /proc/driver/rtc (procfs for rtc0)
-*- /dev/rtcN (character devices)
|
edit 2 -
mine:
Code: |
# zgrep ^CONFIG.*RTC /proc/config.gz
CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_CMOS=y
|
edit 3 -
I think this is the one we're missing
Code: |
CONFIG_RTC_INTF_DEV:
│ Say yes here if you want to use your RTCs using the /dev
│ interfaces, which "udev" sets up as /dev/rtc0 through
│ /dev/rtcN.
│
│ You may want to set up a symbolic link so one of these
│ can be accessed as /dev/rtc, which is a name
│ expected by "hwclock" and some other programs. Recent
│ versions of "udev" are known to set up the symlink for you.
│
│ If unsure, say Y.
|
the second part is especially relevant. This option should be enabled, and if using udev, /dev/rtc should exist.
(NOTE: after comparing the two, this setting was identical for 2.6.29 and 2.6.32 - so I suspect I have these options available because of what I have ticked in edit #1) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NTICompass Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7095650075229e910b8f0d.png)
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Fri Jun 11, 2010 8:37 pm Post subject: |
|
|
Device Driver=>Real Time Clock wasn't checked... odd. I checked it, and am currently recompiling the kernel (with all those options selected). Let's see what happens. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NTICompass Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/7095650075229e910b8f0d.png)
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Fri Jun 11, 2010 9:10 pm Post subject: |
|
|
Thanks, cach0rr0. It's working correctly now! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri Jun 11, 2010 9:34 pm Post subject: |
|
|
no prob. I only get things right 1 out of 10 times, so I'm always quite glad to hear when I do! ![Laughing :lol:](images/smiles/icon_lol.gif) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|