Gentoo Archives: gentoo-user

From: Abhay Kedia <abhay.ilugd@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.
Date: Fri, 27 Jan 2006 15:41:16
Message-Id: 200601272059.10498.abhay.ilugd@gmail.com
Hello Everyone,

I am facing a very annoying problem with my system clock. Here is what is 
happening.

I manually set correct time using sites like worldtimezone.com. Then, I 
shutdown the system and boot after a few hours. What I see is that Gentoo 
sets the system time to the same one at which I halted it. For example if I 
shutdown 4 hours ago at 14:00 hrs and boot at 18:00 hrs, it will still set 
the time to 14:00 hrs instead of the correct time.

The CMOS battery is fine. I can say this because if I enter the BIOS (after 4 
hours reboot) it shows the correct time. I start a Live CD, it shows the 
correct time as well, but when I start Gentoo it sets the wrong system time 
or as mentioned in example: "4 hours back". It writes the time it was 
shutdown on, over the BIOS Clock instead of reading from it. How can I solve 
it? How can I force Gentoo to read from the BIOS Clock at the time of boot, 
instead of writing it. If it helps, here is my /etc/conf.d/clock.

---------------------------------
# /etc/conf.d/clock
CLOCK="local"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no" (have tried both yes and no)
SRM="no"
ARC="no"
---------------------------------

I am not using ntp or any other such softwares because I don't have an all 
time working Internet Connection.

I would be greatful if someone could help me solve this weird problem.

-- 
Regards,
Abhay

Replies

Subject Author
Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem. "Michael A. Smith" <michael@××××××××.com>
Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem. Uwe Thiem <uwix@××××.na>
Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem. Benno Schulenberg <benno.schulenberg@×××××.com>