CMOS clock being set incorrectly
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, apologies if this has been asked recently, but my email has been up the spout and I have only just got it working again. During boot-up the boot log shows;
Boot logging started on /dev/tty1(/dev/console) at Mon Dec 1 19:36:03 2003
Later in the same log it says;
Setting up the CMOS clock done Setting up timezone data done
and later still it says...;
Running /etc/init.d/boot.local done Boot logging started on /dev/tty1(/dev/console) at Sat May 11 03:26:17 2002
Note the discrepancy in time and date. Whenever I reboot the machine the time and date, correct initially, are then incorrectly set. What boot-script can I look at ( assuming that is the problem) to fix this? All help gratefully accepted. Cheers Al - -- Public Key to be found at www.keyserver.net. Search for tag@ukfsn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iQCVAwUBP8uk2yPPRZ4cr7uiAQLQFAQAgRK0QM+AGHERVF/bbmU7rrbB3PZdhOjL 5TLbgVbofpV810llL19OvgiYB2BlavNWMYlBvUyCFQW1dk3fgkJvLEMTMouAYTV3 nIDwGGgIu/fBSKtNAmFqZXk5eS6TiEgppIBdnAdTD+iRoBDO6TKXYEGAxm8Xkw1a BVM11WFTIp8= =/p5m -----END PGP SIGNATURE-----
The Monday 2003-12-01 at 20:30 -0000, Tag wrote:
Hi all,
apologies if this has been asked recently, but my email has been up the spout and I have only just got it working again. During boot-up the boot log shows;
Yes... X-Message-Number-for-archive: 168643 So, mailto "suse-linux-e-get.168643@..." and get it.
Note the discrepancy in time and date. Whenever I reboot the machine the time and date, correct initially, are then incorrectly set. What boot-script can I look at ( assuming that is the problem) to fix this? All help gratefully accepted.
Short answer: - Delete /etc/adjtime - Adjust timezone correctly (yast). - Setup system clock (as root, from a console - not kde!) - Check that time is correct and timezone correct - again, in the console. - Setup CMOS clock: "hwclock --systohc" - Delete /etc/adjtime - yes, again. Long answer: read the mentioned email above. -- Cheers, Carlos Robinson
On 12/02/2003 04:30 AM, Tag wrote:
What boot-script can I look at ( assuming that is the problem) to fix this?
Try deleting /etc/adjtime. Then reboot. It will be recreated, and hopefully will be correctly setup. It probably adjusted to big drifts in your clock, and is now the reason for the problem instead of the cure. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
participants (3)
-
Carlos E. R.
-
Joe Morris (NTM)
-
Tag