Re: hwclock can cause system lockup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First of all, thanks for all the replies. Some useful suggestions in there which I'll be trying this morning.

2008/10/17 Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx>
runs "/sbin/hwclock --utc --hctosys" to sync the hardware clock to
the system clock.

But this is syncing the system clock to the hardware clock, not the
hardware clock to the system clock. This has me confused as to what

Sorry, my mistake. I meant to say "to sync the system clock to the hardware clock". As Todd Denniston pointed out, the hardware clock can be significantly more accurate than the system clock. Our application requires accurate time but some users are not net-connected so can't use NTP. If NTP is in use we sync the hardware clock to the system clock once per hour. If NTP is NOT in use, we sync the system clock to the hardware clock once per hour.

The reason to sync the hardware clock to the system clock when using NTP is to ensure that the difference never gets too great, so if there is a power outage or unclean shutdown, the hardware clock is reasonably accurate when it comes back up.

We always used to do this on our old RedHat 7.3 based systems without problem. We recently updated to F9 and this issue appeared so maybe some kernel changes have brought the issue to light.

I've checked /var/log/messages and root mail but there's nothing of any interest in there.

I just tried running the script at runlevel 3 with the sync occurring every 1 second. It failed after 461 syncs but there was no output of any interest, just a hung screen.

I'll try some of the other suggestions a bit later.

Thanks again...
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux