View previous topic :: View next topic |
Author |
Message |
LiKao n00b
Joined: 27 Feb 2012 Posts: 4
|
Posted: Tue Mar 06, 2012 9:17 pm Post subject: RTC not enabled for genkernel? |
|
|
Hi,
I am currently trying out gentoo. I have not build my own kernel, but I rather used the genkernel script to build it for me. Now on my machine my clock is always off by exactely 1 hour.
My hardware clock is using UTC, whereas I am at UTC+1 currently, so it is quite clear where the one hour difference comes from. I enabled rc logging and I found the following message in my rc.log:
Code: | * Setting system clock using the hardware clock [UTC] ...
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
* Failed to set the system clock
[ !! ]
|
If I do a hwclock --debug it complains that it could not find /dev/rtc.
I looked around online and some postings said RTC had to be enabled in the kernel. However looking at my .config in the kernel directory I get:
Code: | zion linux # cat /usr/src/linux/.config | grep -i RTC
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_RTC_CLASS is not set |
Does this mean that RTC support is not correctly in the kernel I configured using genkernel? Is this a bug in the genkernel?
Or is there some other reason for my clock problems, that I can fix without building my own kernel? |
|
Back to top |
|
|
ianw1974 Guru
Joined: 18 Oct 2006 Posts: 387 Location: UK and Poland
|
Posted: Thu Mar 08, 2012 10:03 pm Post subject: |
|
|
Hi, it used to be, but then when it became kernel 3.x it was disabled. Now I use:
Code: | genkernel --menuconfig all |
and enable the RTC stuff that I used to have in my previous 2.6.39-x kernel. _________________ Ian Walker
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Linux Systems Limited | Masternode Monitoring |
|
Back to top |
|
|
|
|
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
|
|