You are not logged in.

#1 2010-02-27 11:20:44

splicer
Member
Registered: 2009-10-30
Posts: 11

Why does Arch rely on timestamps?

My system clock is dead. Not the run-out-of-battery kind of dead, but it simply doesn't move. E.g. at the GRUB menu the 3-second countdown doesn't move at all. However once I've logged into an OS the time moves on as per normal... I guess bc the OS keeps track of it on its own?

The main problem however is that Arch relies on checking the timestamps on bootup to see if the system was shut down correctly, and with my clock broken, this check always turns up an error. However my Fedora and Windows setups don't seem to mind this at all. So...

1) Why does Arch do these checks? What exactly is it checking for when it says that the 'last mount time is in the future'?
2) Why doesn't Fedora have this problem?
3) Most importantly, is it safe to comment out this check and just make sure my system is shut down properly every time?

From what I gather, fixing my clock would mean replacing the whole motherboard, and I don't really think it's worth the cost.

Offline

#2 2010-02-27 11:26:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Why does Arch rely on timestamps?

Not Arch.  e2fsprogs which does the file system check...   Have you tried changing your HARDWARECLOCK setting in /etc/rc.conf ("UTC" or "localtime")

Offline

#3 2010-02-27 11:28:59

splicer
Member
Registered: 2009-10-30
Posts: 11

Re: Why does Arch rely on timestamps?

It's currently set as 'localtime'. 'UTC' gave me problems (even when my clock was working) as I'm on a multiple-boot system.

Offline

#4 2010-02-27 11:32:20

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Why does Arch rely on timestamps?

splicer wrote:

fixing my clock would mean replacing the whole motherboard

Have you tried replacing the small battery that should be on the mobo? It's probably the same battery as in a lot of watches.

Surprising issue, anyway.

Offline

#5 2010-02-27 11:48:27

splicer
Member
Registered: 2009-10-30
Posts: 11

Re: Why does Arch rely on timestamps?

Nope, but dead batteries don't usually give such symptoms... in fact if I set the time manually, the computer does remember it till the next boot, so it seems that the memory is getting powered. The time just doesn't get updated. Also, the problem arose after I carried it out in a not-very-well-cushioned bag. Prior to that it had been sitting on my desk for the last couple of months. So I think something might've gotten damaged in the process.

Offline

#6 2010-02-27 12:06:42

kaivalagi
Member
From: Norwich, UK
Registered: 2009-11-05
Posts: 145

Re: Why does Arch rely on timestamps?

If it were me I'd replace the battery just to see, they're cheap after all, maybe the battery keeps the clock going regardless of mains power?


Running Arch 64 (Made the switch to Arch 10/2009)
AUR | BZR

Offline

#7 2010-02-27 12:22:24

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Why does Arch rely on timestamps?

I too would try replacing the battery before tweaking the system to disregard timestamps.

CMOS Battery

Offline

#8 2010-02-27 12:41:18

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Why does Arch rely on timestamps?

now ive seen it all...a stuck RTC!

sorry if im not helpful! sad

Offline

Board footer

Powered by FluxBB