From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: list linux-kernel <linux-kernel@vger.kernel.org>
Subject: hware clock left bad after a system failure
Date: Thu, 17 Nov 2005 01:04:18 +1100 [thread overview]
Message-ID: <437B3C62.2090803@eyal.emu.id.au> (raw)
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
next reply other threads:[~2005-11-16 14:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 14:04 Eyal Lebedinsky [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=437B3C62.2090803@eyal.emu.id.au \
--to=eyal@eyal.emu.id.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®