Bug#474294: Goes into endless loop
I am packaging 1.23, which claims to fix problems with 64-bit systems and to support x86_64. -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#474294: Goes into endless loop
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 0x00401e4e in UTI_AdjustTimeval (old_tv=0x62a060, when=, new_tv=0x62a060, dfreq=-0, doffset=0.0011572581504409466) at util.c:305 #2 0x00407348 in slew_sources (raw=, cooked=0x7fff58f89830, dfreq=0, afreq=, doffset=0.0011572581504409466, is_step_change=0, anything=0x0) at ntp_sources.c:302 #3 0x00403de1 in LCL_AccumulateOffset (offset=0.0011572581504409466) at local.c:446 #4 0x0040a3e4 in REF_SetReference (stratum=, leap=, ref_id=, ref_time=0x7fff58f89930, offset=, frequency=0.035666054729876183, skew=2.8672211700493531, root_delay=, root_dispersion=) at reference.c:408 #5 0x00407dd0 in SRC_SelectSource (match_addr=2168783257) at sources.c:693 #6 0x0040637f in receive_packet (message=0x7fff58f89ba0, now=, inst=0x627190, do_auth=0) at ntp_core.c:1048 #7 0x0040706e in NSR_ProcessReceive (message=0x7fff58f89ba0, now=0x7fff58f89db0, remote_addr=0x7fff58f89da0) at ntp_sources.c:258 #8 0x00404da3 in read_from_socket (anything=) at ntp_io.c:215 #9 0x004026fb in SCH_MainLoop () at sched.c:470 #10 0x0040461a in main (argc=, argv=) 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.2800 nominal_tick=1 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#474294: Goes into endless loop
I will contact upstream about this tomorrow. I don't have time to look at it today. -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#474294: Goes into endless loop
Do you have rtcfile uncommented in /etc/chrony/chrony.conf? Did this start with a kernel upgrade? -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#474294: Goes into endless loop
I've forwarded the bug report to the author of Chrony but I intend to continue working on it here. -- John Hasler [EMAIL PROTECTED] Elmwood, WI USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#474294: Goes into endless loop
John Hasler <[EMAIL PROTECTED]> writes: > Do you have rtcfile uncommented in /etc/chrony/chrony.conf? > > Did this start with a kernel upgrade? > -- > John Hasler > [EMAIL PROTECTED] > Elmwood, WI USA # This the default chrony.conf file for the Debian chrony package. It is # suitable for a system with an intermittent dial-up connection. John # Hasler <[EMAIL PROTECTED]> 3 Dec. 1998 # See www.pool.ntp.org for an explanation of these servers. Please # consider joining the project if possible. If you can't or don't want to # use these servers I suggest that you try your ISPs nameservers. We mark # the servers 'offline' so that chronyd won't try to connect when the link # is down. Scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d use chronyc # commands to switch it on when the link comes up and off when it goes # down. If you have an always-on connection such as cable or DSL mark the # servers 'online'. server rustime01.rus.uni-stuttgart.de minpoll 8 server time.fu-berlin.de minpoll 8 server de.pool.ntp.org minpoll 8 server ntp1.ptb.de minpoll 8 # Look here for the admin password needed for chronyc. The initial # password is generated by a random process at install time. You may # change it if you wish. keyfile /etc/chrony/chrony.keys # Set runtime command key. Note that if you change the key (not the # password) to anything other than 1 you will need to edit # /etc/ppp/ip-up.d/chrony, /etc/ppp/ip-down.d/chrony, and # /etc/cron.weekly/chrony as these scripts use it to get the password. commandkey 1 # I moved the driftfile to /var/lib/chrony to comply with the Debian # filesystem standard. driftfile /var/lib/chrony/chrony.drift # Comment this line out to turn off logging. log tracking measurements statistics logdir /var/log/chrony # Stop bad estimates upsetting machine clock. maxupdateskew 100.0 # Dump measurements when daemon exits. dumponexit # Specify directory for dumping measurements. dumpdir /var/lib/chrony # Let computer be a server when it is unsynchronised. local stratum 10 # Allow computers on the unrouted nets 10 and 192.168 to use the server. allow 10 allow 192.168 # This directive forces `chronyd' to send a message to syslog if it # makes a system clock adjustment larger than a threshold value in seconds. logchange 0.5 # This directive defines an email address to which mail should be sent # if chronyd applies a correction exceeding a particular threshold to the # system clock. # mailonchange [EMAIL PROTECTED] 0.5 # Specify the file where real-time clock data is stored. To use this you # must have enhanced real-time clock support compiled into your kernel. # Comment out the next line if you do not. Note: I have seen problems with # the rtc on some motherboards. Please file a bug if this bites you. rtcfile /var/lib/chrony/chrony.rtc # If the last line of this file reads 'rtconutc' chrony will assume that # the CMOS clock is on UTC (GMT). If it reads '# rtconutc' or is absent # chrony will assume local time. The line (if any) was written by the # chrony postinst based on what it found in /etc/default/rcS. You may # change it if necessary. The next line is just a marker for the postinst. # You can delete it if you wish. # POSTINSTMARKER rtconutc initstepslew 60 rustime01.rus.uni-stuttgart.de time.fu-berlin.de de.pool.ntp.org ntp1.ptb.de -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]