Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Chronyd settimeofday failure
Date: Sat, 03 Mar 2012 18:50:56
Message-Id: 201203031849.46101.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Re: Chronyd settimeofday failure by walt
1 On Saturday 03 Mar 2012 15:55:39 walt wrote:
2 > On 03/03/2012 05:55 AM, Mick wrote:
3 > > I am sure that the CMOS battery is dead in this old box and this may be
4 > > related to it, but the error persists even when I restart chronyd after I
5 > > set the date manually:
6 > >
7 > > chronyd[3105]: Fatal error: settimeofday() failed
8 > > chronyd[3424]: Could not settimeofday
9 > > chronyd[3105]: Fatal error: settimeofday() failed
10 > > chronyd[3424]: Fatal error: settimeofday() failed
11 > >
12 > > This is what syslog shows:
13 > >
14 > > Mar 3 13:47:12 lappy chronyd[3424]: chronyd version 1.26 starting
15 > > Mar 3 13:47:12 lappy chronyd[3424]: Set system time, error in RTC =
16 > > 1169296056129876.500000
17 > > Mar 3 13:47:12 lappy chronyd[3424]: Could not settimeofday
18 > > Mar 3 13:47:12 lappy chronyd[3424]: Linux kernel major=3 minor=2 patch=1
19 > > Mar 3 13:47:12 lappy chronyd[3424]: hz=100 shift_hz=7
20 > > freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833
21 > > max_tick_bias=1000
22 > > Mar 3 13:47:12 lappy chronyd[3424]: Could not open IPv6 NTP socket :
23 > > Address family not supported by protocol
24 > > Mar 3 13:47:12 lappy chronyd[3424]: Could not open IPv6 command socket :
25 > > Address family not supported by protocol
26 > > Mar 3 13:47:12 lappy chronyd[3424]: Frequency -36.574 +- 0.028 ppm read
27 > > from /etc/chrony/chrony.drift
28 > > Mar 3 13:47:21 lappy chronyd[3424]: System trim from RTC =
29 > > 1169296066498122.500000
30 > > Mar 3 13:47:22 lappy chronyd[3424]: System's initial offset :
31 > > 2147481497.991868 seconds fast of true (step)
32 > > Mar 3 13:47:22 lappy chronyd[3424]: Fatal error : settimeofday() failed
33 > >
34 > > Should I worry about this?
35 >
36 > Maybe the hardware clock is too far off? Does hwclock -w change anything?
37
38 Yes it is - but I forgot to say, I usually set the date manually following
39 start up, then I run hwclock --systohc and then I restart chronyd. Lately
40 chronyd has started coming up with this settimeofday error. :-/
41 --
42 Regards,
43 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature