Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange clock troubles [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Zee
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 213
Location: Podgrad, Slovenia

PostPosted: Fri Nov 18, 2005 11:09 am    Post subject: Strange clock troubles [SOLVED] Reply with quote

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
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Sun Dec 25, 2005 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
mmbrothers
Apprentice
Apprentice


Joined: 24 Dec 2005
Posts: 224
Location: Boston

PostPosted: Mon Dec 26, 2005 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Tue Dec 27, 2005 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Tue Dec 27, 2005 11:07 am    Post subject: Reply with quote

thanks alot, that worked.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1609
Location: indiana

PostPosted: Sat Dec 31, 2005 2:41 am    Post subject: Reply with quote

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 :D

Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Sat Dec 31, 2005 3:25 am    Post subject: Reply with quote

Try a manual load:

Code:
# modprobe rtc


and then see it has loaded with

Code:
$ lsmod


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum