[lkml]   [2007]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Clock running at half speed in 2.6.20?
On Fri, 16 Feb 2007 08:24:54 -0800, Daniel Walker wrote:
>On Fri, 2007-02-16 at 22:28 +0800, Adam J. Richter wrote:
>> My system clock runs at approximately half speed in
>> linux-2.6.20, 2.6.20-git10 and 2.6.20-git11.

>cat /sys/devices/system/clocksource/clocksource0/current_clocksource


>cat /sys/devices/system/clocksource/clocksource0/available_clocksource

acpi_pm jiffies tsc

When I rebooted with "max_cpus=1", available_clocksource included a
fourth option "pit".

I have some bad news. The problem is sporadic. Here are the
logs of the tests that I have made, in the order in which I recall
making them:

2.6.20-git11 problem occurred
2.6.20-git10 problem occurred
2.6.20 problem occurred no problem
[At this point, I made my original posting.]

2.6.20-git11 maxcpus=1 no problem
...checked current_clocksource, was tsc no problem
...checked current_clocksource, was tsc

2.6.20-git11 no problem (this is bad!)
checked current_clocksource, was tsc
set clocksource=acpi_pm, still no problem
set clocksource=jiffies, still no problem

power cycled computer, unplugging power supply and powered down monitor

2.6.20-git11 no problem (this is bad!)
checked current_clocksource, was tsc

At first, I was very happy to see the problem disappear after
rebooting 2.6.20-git11 with "max_cpus=1", as this would tend to
indicate some mistake related to hyperthreading, but, after that I
have been unable to reproduce the problem, so I really don't know that
booting with maxcpus=1 fixed it. Perhaps the previous boot to did.

I should also mention, that around the time that I first
noticed the problem, I observed audio stuttering under 2.6.20-git11
regularly, in intervals of perhaps 300 milliseconds, which I suspect
is a symptom of the slow system clock causing the audio driver not to
fill output buffers in time. Now, when I cannot reproduce the clock
slowdown problem, audio is playing fine under the same 2.6.20-git11

I have observed the audio stuttering a few times in the past
week or so. The next time it happens, I'll see if the clock slowdown
has returned and I'll record and experiment with the other clock

I'll let you know when I have more useful information or mske
other progress related to this problem.

Thank you for your help!

Adam Richter
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-02-16 19:27    [W:0.028 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site