View previous topic :: View next topic |
Author |
Message |
Zee Apprentice
Joined: 10 Jan 2004 Posts: 213 Location: Podgrad, Slovenia
|
Posted: Fri Nov 18, 2005 11:09 am Post subject: Strange clock troubles [SOLVED] |
|
|
Hi.
Recently I've received a AMD X2 4200+ machine. The installaton of Gentoo went through with no problems, but now I'm stuck some minor annoyances.
When the system is booting and comes to the stage where it is supposed the synchronise the system clock to the hardware clock, it fails:
* Setting system clock to hardware clock [Local Time] ...
* Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
* Failed to set system clock to hardware clock [ !! ]
If I run hwclock --debug:
hwclock from util-linux-2.12r
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.
Enhanced Real Time Clock is enabled as a module. Generic /dev/rtc emulation is disabled because it fails to load as module. Should I enable compile it into the kernel? I also have Pentium-M clock where all the above settings are disabled yet the everything is working.
SOLUTION: I removed the nvnet driver from nvidia and used the forcedeth driver and now everything works. |
|
Back to top |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Sun Dec 25, 2005 6:39 pm Post subject: |
|
|
yeah I'm getting the same error message, but I don't have RTC enabled in the kernel. Is this something I need to do, and/or what else do I need to do? |
|
Back to top |
|
|
mmbrothers Apprentice
Joined: 24 Dec 2005 Posts: 224 Location: Boston
|
Posted: Mon Dec 26, 2005 7:40 pm Post subject: |
|
|
weaksauce wrote: | yeah I'm getting the same error message, but I don't have RTC enabled in the kernel. Is this something I need to do, and/or what else do I need to do? |
Yes, You should enable RTC support (built-in will give you the least headaches) in the kernel and hwclock will be able to sync correctly. |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Tue Dec 27, 2005 1:00 am Post subject: |
|
|
Put the rtc module in /etc/modules.autoload.d/kernel-2.6. If that fails you probably don't have rtc in your kernel (built in or module) so specify and recompile it. |
|
Back to top |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Tue Dec 27, 2005 11:07 am Post subject: |
|
|
thanks alot, that worked. |
|
Back to top |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1626 Location: indiana
|
Posted: Sat Dec 31, 2005 2:41 am Post subject: |
|
|
weaksauce wrote: | thanks alot, that worked. |
not for me, i got RTC as module in my kernel, but at boot i can see its not getting loaded.. what can be the reason ?
i just put RTC into modules.autoload because of an ati-radeon hardware opengl HOWTO, my ati card is working pretty well but what can be the reason that the module cant be loaded ?
with friendly regards _________________ I do not have a Superman complex, for I am God not Superman
Ryzen9 7950x (powersave governor) ; Geforce 3050 (70w) ; kernel 6.10.6 ; XFCE |
|
Back to top |
|
|
whig l33t
Joined: 27 Nov 2004 Posts: 973 Location: New Zealand
|
Posted: Sat Dec 31, 2005 3:25 am Post subject: |
|
|
Try a manual load:
and then see it has loaded with
Another possibility is that udev is not creating the rtc device node:
Code: | crw-rw-r-- 1 root root 10, 135 Jan 1 2006 rtc |
|
|
Back to top |
|
|
|