mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* hware clock left bad after a system failure
@ 2005-11-16 14:04 Eyal Lebedinsky
  2005-11-16 15:52 ` linux-os (Dick Johnson)
  0 siblings, 1 reply; 7+ messages in thread
From: Eyal Lebedinsky @ 2005-11-16 14:04 UTC (permalink / raw)
  To: list linux-kernel

I recently had two cases where my machine locked up and needed
a hard reset. The last time magic SysRq did not respond at all.

In these cases I found that the hware clock was set incorrectly
and the machine comes up with a bad date. It seems that the clock
is ahead by as much as my TZ (+10 in my case). I may be able
to understand if it was set 10h behind (kernel set it to UTC)
but this is the other way. The machine comes up with UTC+20.

Now this is just trouble. The machine comes up and spends 15m
fscking. I then reset the clock and reboot and it does the whole
fsck again because it thinks the fs was not checked for eons. It
does not understand time in the future.

So the points are

- why is the clock mangled in this way?
- should e2fsck not allow future check time (maybe within some
  limits)?

-- 
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
	attach .zip as .dat

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-17 15:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16 14:04 hware clock left bad after a system failure Eyal Lebedinsky
2005-11-16 15:52 ` linux-os (Dick Johnson)
2005-11-16 21:52   ` Eyal Lebedinsky
2005-11-17 13:37     ` linux-os (Dick Johnson)
2005-11-17 14:02       ` Eyal Lebedinsky
2005-11-17 14:37         ` Gene Heskett
2005-11-17 15:36         ` Petri Kaukasoina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®