Your message dated Sun, 27 Apr 2008 02:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#474294: fixed in chrony 1.23-3
has caused the Debian Bug report #474294,
regarding Goes into endless loop
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
474294: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474294
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: chrony
Version: 1.21z-5
Severity: grave
Hi,
sometimes when I start chrony it goes into an endless loop. It uses
100% cpu but according to starce it does no system calls. gdb shows
the following:
#0 UTI_NormaliseTimeval (x=0x62a060) at util.c:91
#1 0x0000000000401e4e in UTI_AdjustTimeval (old_tv=0x62a060,
when=<value optimized out>, new_tv=0x62a060, dfreq=-0,
doffset=0.0011572581504409466) at util.c:305
#2 0x0000000000407348 in slew_sources (raw=<value optimized out>,
cooked=0x7fff58f89830, dfreq=0, afreq=<value optimized out>,
doffset=0.0011572581504409466, is_step_change=0, anything=0x0)
at ntp_sources.c:302
#3 0x0000000000403de1 in LCL_AccumulateOffset (offset=0.0011572581504409466)
at local.c:446
#4 0x000000000040a3e4 in REF_SetReference (stratum=<value optimized out>,
leap=<value optimized out>, ref_id=<value optimized out>,
ref_time=0x7fff58f89930, offset=<value optimized out>,
frequency=0.035666054729876183, skew=2.8672211700493531,
root_delay=<value optimized out>, root_dispersion=<value optimized out>)
at reference.c:408
#5 0x0000000000407dd0 in SRC_SelectSource (match_addr=2168783257)
at sources.c:693
#6 0x000000000040637f in receive_packet (message=0x7fff58f89ba0,
now=<value optimized out>, inst=0x627190, do_auth=0) at ntp_core.c:1048
#7 0x000000000040706e in NSR_ProcessReceive (message=0x7fff58f89ba0,
now=0x7fff58f89db0, remote_addr=0x7fff58f89da0) at ntp_sources.c:258
#8 0x0000000000404da3 in read_from_socket (anything=<value optimized out>)
at ntp_io.c:215
#9 0x00000000004026fb in SCH_MainLoop () at sched.c:470
#10 0x000000000040461a in main (argc=<value optimized out>,
argv=<value optimized out>) at main.c:304
And syslog shows this:
Apr 4 21:35:58 frosties chronyd[6108]: chronyd version 1.21 starting
Apr 4 21:35:58 frosties chronyd[6108]: Initial txc.tick=10002
txc.freq=-3250288 (-49.59545898) txc.offset=0 => hz=100 shift_hz=7
Apr 4 21:35:58 frosties chronyd[6108]: set_config_hz=0 hz=100 shift_hz=7
basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833
max_tick_bias=1000
Apr 4 21:35:58 frosties chronyd[6108]: Linux kernel major=2 minor=6 patch=22
Apr 4 21:35:58 frosties chronyd[6108]: calculated_freq_scale=0.99902439
freq_scale=0.99902439
Apr 4 21:35:58 frosties chronyd[6108]: Could not open /dev/rtc, No such file
or directory
Apr 4 21:35:58 frosties chronyd[6108]: Real time clock not supported on this
operating system
Apr 4 21:35:59 frosties chronyd[6108]: System's initial offset : 0.000126
seconds fast of true (slew)
Apr 4 21:35:59 frosties chronyd[6108]: Selected source 129.69.1.153
Removing /var/lib/chrony does does not help. As soon as chrony picks a
source it loops.
MfG
Goswin
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22.2-mrvn
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages chrony depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii ucf 3.005 Update Configuration File: preserv
chrony recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: chrony
Source-Version: 1.23-3
We believe that the bug you reported is fixed in the latest version of
chrony, which is due to be installed in the Debian FTP archive:
chrony_1.23-3.diff.gz
to pool/main/c/chrony/chrony_1.23-3.diff.gz
chrony_1.23-3.dsc
to pool/main/c/chrony/chrony_1.23-3.dsc
chrony_1.23-3_i386.deb
to pool/main/c/chrony/chrony_1.23-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
John Hasler <[EMAIL PROTECTED]> (supplier of updated chrony package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 26 Apr 2008 11:47:44 -0500
Source: chrony
Binary: chrony
Architecture: source i386
Version: 1.23-3
Distribution: unstable
Urgency: high
Maintainer: John Hasler <[EMAIL PROTECTED]>
Changed-By: John Hasler <[EMAIL PROTECTED]>
Description:
chrony - Sets your computer's clock from time servers on the Net
Closes: 434483 447011 474294
Changes:
chrony (1.23-3) unstable; urgency=high
.
* Rewrote UTI_NormaliseTimeval()in util.c to use divide/remainder
instead of loops at the suggestion of Gabor Gombas. This prevents the
problem of the loop running until the sun goes out when the function
is called with a very large value for tv_usec on 64-bit architectures.
Also fixed some other spots where the same loop was being used.
.
Closes: #474294 Goes into endless loop
Closes: #447011 chronyd stalls with 100% CPU usage
.
I still don't know why the function is being called with such a
large value, however.
.
* Changed default servers in chrony,conf to Debian servers.
.
Closes: #434483: chrony: Should use NTP servers in Debian pool
Files:
6d8544cc90542d2cac6ee47e79e1c3e7 723 admin extra chrony_1.23-3.dsc
3553b826eed0cd269f077ccbffd40fbc 156904 admin extra chrony_1.23-3.diff.gz
c961455b8706e32969dc4a60d384ed63 324114 admin extra chrony_1.23-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQCVAwUBSBPCVPc1CeQKxb5hAQL66AP8CyfgJ4HZmI3JmKzw2yMBA9V4j8k0tu/e
4VnSjw76TP1JYWR/eUMtAixgLpjiRE4hYvqTU4VHbsLwqMJryHgD2QQNrH+ej6yg
Z+wLZ9Q1Y4jTLgVTQIFOnO5dKy3NVwmDpGJq4kGacFBS6yW4GWwdctGwUH7Ys9hL
/F9QgEZGTlY=
=0Wtx
-----END PGP SIGNATURE-----
--- End Message ---