public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] chronyd troubleshooting
@ 2009-05-19  6:08 Mick
  2009-06-02  5:54 ` [gentoo-user] " Mick
  0 siblings, 1 reply; 2+ messages in thread
From: Mick @ 2009-05-19  6:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]

A couple of days ago chronyd stopped functioning.

This is all that the logs tell me but I don't know what I can do to fix it:
=================================================================
May 19 06:25:13 lappy chronyd[6756]: chronyd version 1.23 starting
May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC 
= -306.664140
May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC 
= -306.664140
May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0 
(0.00000000) txc.offset=0 => hz=100 shift_hz=7
May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0 
(0.00000000) txc.offset=0 => hz=100 shift_hz=7
May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7 
basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833 
max_tick_bias=1000
May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7 
basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833 
max_tick_bias=1000
May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439 
freq_scale=0.99902439
May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439 
freq_scale=0.99902439
May 19 06:30:20 lappy chronyd[6756]: Could not start measurement : 
Inappropriate ioctl for device
May 19 06:30:20 lappy chronyd[6756]: Could not read flags /dev/rtc : 
Input/output error
May 19 06:30:20 lappy chronyd[6756]: Could not stop measurement : 
Inappropriate ioctl for device
=================================================================

# ls -al /dev/rtc 
crw-r--r-- 1 root root 10, 135 May 19 06:24 /dev/rtc

When I try to check /dev/rtc I get:

# cat /dev/rtc 
cat: /dev/rtc: Input/output error

I should be getting resource busy instead.

I suspect that this problem started when I changed my kernel to 2.6.28-r5.  I 
noticed it comes up with a APIC error on booting, could this be related?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* [gentoo-user] Re: chronyd troubleshooting
  2009-05-19  6:08 [gentoo-user] chronyd troubleshooting Mick
@ 2009-06-02  5:54 ` Mick
  0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2009-06-02  5:54 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2391 bytes --]

On Tuesday 19 May 2009, Mick wrote:
> A couple of days ago chronyd stopped functioning.
>
> This is all that the logs tell me but I don't know what I can do to fix it:
> =================================================================
> May 19 06:25:13 lappy chronyd[6756]: chronyd version 1.23 starting
> May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC
> = -306.664140
> May 19 06:25:14 lappy chronyd[6756]: Set system time, error in RTC
> = -306.664140
> May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0
> (0.00000000) txc.offset=0 => hz=100 shift_hz=7
> May 19 06:30:20 lappy chronyd[6756]: Initial txc.tick=10000 txc.freq=0
> (0.00000000) txc.offset=0 => hz=100 shift_hz=7
> May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7
> basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833
> max_tick_bias=1000
> May 19 06:30:20 lappy chronyd[6756]: set_config_hz=0 hz=100 shift_hz=7
> basic_freq_scale=1.28000000 nominal_tick=10000 slew_delta_tick=833
> max_tick_bias=1000
> May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
> May 19 06:30:20 lappy chronyd[6756]: Linux kernel major=2 minor=6 patch=28
> May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439
> freq_scale=0.99902439
> May 19 06:30:20 lappy chronyd[6756]: calculated_freq_scale=0.99902439
> freq_scale=0.99902439
> May 19 06:30:20 lappy chronyd[6756]: Could not start measurement :
> Inappropriate ioctl for device
> May 19 06:30:20 lappy chronyd[6756]: Could not read flags /dev/rtc :
> Input/output error
> May 19 06:30:20 lappy chronyd[6756]: Could not stop measurement :
> Inappropriate ioctl for device
> =================================================================
>
> # ls -al /dev/rtc
> crw-r--r-- 1 root root 10, 135 May 19 06:24 /dev/rtc
>
> When I try to check /dev/rtc I get:
>
> # cat /dev/rtc
> cat: /dev/rtc: Input/output error
>
> I should be getting resource busy instead.
>
> I suspect that this problem started when I changed my kernel to 2.6.28-r5. 
> I noticed it comes up with a APIC error on booting, could this be related?

Yep, it was related to the kernel, or to be more precise it was related to 
HPET being enabled in the kernel.  For some reason it clashed ...

How can I tell if my CPU/MoBo supports HPET?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2009-06-02  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  6:08 [gentoo-user] chronyd troubleshooting Mick
2009-06-02  5:54 ` [gentoo-user] " Mick

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