Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: chronyd troubleshooting
Date: Tue, 02 Jun 2009 05:55:31
Message-Id: 200906020655.15145.michaelkintzios@gmail.com
In Reply to: [gentoo-user] chronyd troubleshooting by Mick
1 On Tuesday 19 May 2009, Mick wrote:
2 > A couple of days ago chronyd stopped functioning.
3 >
4 > This is all that the logs tell me but I don't know what I can do to fix it:
5 > =================================================================
6 > May 19 06:25:13 lappy chronyd[6756]: chronyd version 1.23 starting
7 > May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC
8 > = -306.664140
9 > May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC
10 > = -306.664140
11 > May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0
12 > (0.00000000) txc.offset=0 => hz=100 shift_hz=7
13 > May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0
14 > (0.00000000) txc.offset=0 => hz=100 shift_hz=7
15 > May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7
16 > basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833
17 > max_tick_bias=1000
18 > May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7
19 > basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833
20 > max_tick_bias=1000
21 > May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
22 > May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
23 > May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439
24 > freq_scale=0.99902439
25 > May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439
26 > freq_scale=0.99902439
27 > May 19 06:30:20 lappy chronyd[6756]: Could not start measurement :
28 > Inappropriate ioctl for device
29 > May 19 06:30:20 lappy chronyd[6756]: Could not read flags /dev/rtc :
30 > Input/output error
31 > May 19 06:30:20 lappy chronyd[6756]: Could not stop measurement :
32 > Inappropriate ioctl for device
33 > =================================================================
34 >
35 > # ls -al /dev/rtc
36 > crw-r--r-- 1 root root 10, 135 May 19 06:24 /dev/rtc
37 >
38 > When I try to check /dev/rtc I get:
39 >
40 > # cat /dev/rtc
41 > cat: /dev/rtc: Input/output error
42 >
43 > I should be getting resource busy instead.
44 >
45 > I suspect that this problem started when I changed my kernel to 2.6.28-r5.
46 > I noticed it comes up with a APIC error on booting, could this be related?
47
48 Yep, it was related to the kernel, or to be more precise it was related to
49 HPET being enabled in the kernel. For some reason it clashed ...
50
51 How can I tell if my CPU/MoBo supports HPET?
52 --
53 Regards,
54 Mick

Attachments

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