Opened 14 years ago
Closed 14 years ago
#9325 closed defect (worksforme)
RTC device not detected in Linux guest
Reported by: | Nathan Malinoski | Owned by: | |
---|---|---|---|
Component: | VMM | Version: | VirtualBox 4.0.12 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
Host: Windows 7 Enterprise x64 Guest: Gentoo Linux 2.6.39-r3 x86_64
Using Device Drivers -> Real Time Clock -> PC-style 'CMOS' in the kernel config, no RTC devices are found on boot, causing hwclock to produce a "Cannot access the Hardware Clock via any known method." error on boot, and "hwclock: Open of /dev/rtc failed, errno=2: No such file or directory" and "No usable clock interface found." errors when 'hwclock --debug' is run as root.
However, disabling Device Drivers -> Real Time Clock and using Device Drivers -> Character Devices -> Enhanced Real Time Clock Support (legacy PC RTC driver) instead, no error is produced on boot, and hwclock behaves properly.
So if the first option does not work then enabling the PC-style RTC is probably not enough. You can be assured that the VBox RTC device behaves correctly as many legacy guest operating systems detect it. And Linux detects it as well, just choose the correct kernel configuration.