public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] System Clock Problems
@ 2006-02-12 20:10 Drew Tomlinson
  2006-02-13  4:01 ` [gentoo-user] " Harry Putnam
  2006-02-13 21:11 ` [gentoo-user] " Nick Rout
  0 siblings, 2 replies; 11+ messages in thread
From: Drew Tomlinson @ 2006-02-12 20:10 UTC (permalink / raw
  To: Gentoo User

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-02-14 20:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-12 20:10 [gentoo-user] System Clock Problems Drew Tomlinson
2006-02-13  4:01 ` [gentoo-user] " Harry Putnam
2006-02-13 17:43   ` Drew Tomlinson
2006-02-13 20:22     ` Mark Knecht
2006-02-13 20:30       ` Jeff
2006-02-13 22:19         ` Mark Knecht
2006-02-14  3:21       ` Drew Tomlinson
2006-02-13 21:11 ` [gentoo-user] " Nick Rout
2006-02-14  3:25   ` Drew Tomlinson
2006-02-14 14:32     ` Benno Schulenberg
2006-02-14 20:05       ` Drew Tomlinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox