Google
  Web www.spinics.net

Re: hwclock "hanging" for ~24 hours

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


Karel Zak schrieb:

(...)

 The patch is below. It's based on gettimeofday() rather than on
 SIGALRM (alarm(2)). The gettimeofday has some overhead, but it
 shouldn't be a big problem for the synchronization function (... and
 it's fallback for systems without RTC_UIE_ON).

 Please, test & review. I'd like to use the patch in 2.14.1.

It does not "hang" anymore:

# ./hwclock --show
Timed out waiting for time change.


But still, it won't set the hardware clock so it can start ticking:

# date
Tue Aug 12 13:13:59 UTC 2008
# ./hwclock --systohc
Timed out waiting for time change.



--
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Site Home]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux