From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F8Ngq-0003dc-Bv for garchives@archives.gentoo.org; Sun, 12 Feb 2006 20:19:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1CKHGcj019663; Sun, 12 Feb 2006 20:17:16 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1CKANM6003906 for ; Sun, 12 Feb 2006 20:10:23 GMT Received: from relay01.roc.ny.frontiernet.net ([66.133.182.164]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1F8NY7-0007Pk-39 for gentoo-user@lists.gentoo.org; Sun, 12 Feb 2006 20:10:23 +0000 Received: from blacklamb.mykitchentable.net (70-97-209-135.dsl2.elk.ca.frontiernet.net [70.97.209.135]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id 1FCA63641EB for ; Sun, 12 Feb 2006 20:10:21 +0000 (UTC) Received: from [192.168.1.3] (unknown [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 6D07216493E for ; Sun, 12 Feb 2006 12:10:21 -0800 (PST) Message-ID: <43EF962C.6030507@mykitchentable.net> Date: Sun, 12 Feb 2006 12:10:20 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: Gentoo User Subject: [gentoo-user] System Clock Problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter10.roc.ny.frontiernet.net X-Archives-Salt: 35573e93-08b5-451e-bf28-2f4678c3eaf1 X-Archives-Hash: 6fc3cf48830aa5de6fe26f11561c2a88 I have Gentoo 2.6.13-r5 kernel running and have used ntpd in broadcastclient mode to keep its time in sync on my home network. The other day, the system suffered and abrupt shutdown due to a power outage. Ever since then, the system clock gains about 10 seconds every 5 minutes. Also, I can't get ntpd to sync the clock. My command line is "ntpd -A -b -g -u ntp:ntp". I've included some output running the command with the debug switch below. I've also tried to gain more info with the ntpdc utility although I don't really know what I'm doing. However it appears that ntpd does see my FreeBSD time server even though it's not synced: ntpdc> peers remote local st poll reach delay offset disp ======================================================================= =192.168.1.2 0.0.0.0 2 64 7 0.00038 -9.600170 1.98438 The time server is a FreeBSD 6.0 box on my network. My other FreeBSD box and two Windows boxes get time from it just fine. Even the Gentoo box will set its clock with "ntpd -gq". I am currently using this brute force method via a cron job as a temporary workaround. Any ideas on what might have caused this recent change in behavior? Thanks for your help, Drew --- Begin debug output --- ntpd 4.2.0a@1.1191-r Sat Feb 11 19:19:56 PST 2006 (1) addto_syslog: ntpd 4.2.0a@1.1191-r Sat Feb 11 19:19:56 PST 2006 (1) addto_syslog: precision = 3.000 usec create_sockets(123) addto_syslog: no IPv6 interfaces found bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8 addto_syslog: Listening on interface wildcard, 0.0.0.0#123 bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0 addto_syslog: Listening on interface lo, 127.0.0.1#123 bind() fd 6, family 2, port 123, addr 192.168.1.6, flags=8 addto_syslog: Listening on interface eth1, 192.168.1.6#123 init_io: maxactivefd 6 local_clock: time 0 clock 0.000000 offset 0.000000 freq 0.000 state 0 bind() fd 8, family 2, port 123, addr 192.168.1.255, flags=8 io_setbclient: Opened broadcast client on interface 2, socket: 8 io_setbclient: Opened broadcast clients addto_syslog: frequency initialized -36.958 PPM from /etc/ntp/ntp.drift local_clock: time 0 clock 0.000000 offset 0.000000 freq -36.958 state 1 report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010) auth_agekeys: at 1 keys 1 expired 0 timer: refresh ts 0 receive: at 15 192.168.1.6<-192.168.1.2 mode 5 code 5 Finding addr 192.168.1.2 in list of addresses key_expire: at 15 peer_clear: at 15 assoc ID 33252 refid INIT newpeer: 192.168.1.6->192.168.1.2 mode 3 vers 4 poll 6 10 flags 0x210 0x20 ttl 0 key 00000000 receive: at 15 0.0.0.0<-192.168.1.2 mode 5 code 6 peer 192.168.1.2 event 'event_reach' (0x84) status 'unreach, 1 event, event_reach' (0x14) auth_agekeys: at 60 keys 1 expired 0 transmit: at 79 0.0.0.0->192.168.1.2 mode 3 receive: at 79 192.168.1.6<-192.168.1.2 mode 4 code 1 clock_filter: popcorn 7.896193 0.000960 receive: at 82 192.168.1.6<-192.168.1.2 mode 5 code 6 receive: at 82 0.0.0.0<-192.168.1.2 mode 5 code 6 auth_agekeys: at 120 keys 1 expired 0 transmit: at 143 0.0.0.0->192.168.1.2 mode 3 receive: at 143 192.168.1.6<-192.168.1.2 mode 4 code 1 clock_filter: n 2 off -9.600170 del 0.000386 dsp 3.937744 jit 1.703977, age 64 receive: at 148 192.168.1.6<-192.168.1.2 mode 5 code 6 receive: at 148 0.0.0.0<-192.168.1.2 mode 5 code 6 auth_agekeys: at 180 keys 1 expired 0 transmit: at 206 0.0.0.0->192.168.1.2 mode 3 receive: at 206 192.168.1.6<-192.168.1.2 mode 4 code 1 clock_filter: n 3 off -9.600170 del 0.000386 dsp 1.938216 jit 1.639332, age 127 receive: at 215 192.168.1.6<-192.168.1.2 mode 5 code 6 receive: at 215 0.0.0.0<-192.168.1.2 mode 5 code 6 --- End debug output --- -- gentoo-user@gentoo.org mailing list