From: john stultz <johnstul@us.ibm.com>
To: Ian Chard <ian@chard.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: TSC and real-time clock slippage with 2.6.2
Date: Wed, 04 Feb 2004 10:23:05 -0800 [thread overview]
Message-ID: <1075918985.794.4.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <1075901679.5608.13.camel@tanagra>
On Wed, 2004-02-04 at 05:34, Ian Chard wrote:
> Ever since I upgraded from 2.4.20 to the 2.6 tree, I've had a problem
> with real-time clock slippage and hard hangs on my Athlon XP 2500+
> (1830MHz according to /proc/cpuinfo). I've kept an eye on the list and
> have applied new patches as the problem seems to be known about, but as
> the problem's still there with 2.6.2 I thought it was about time I
> reared my ugly head.
>
> At or shortly after boot time, I get the "Losing too many ticks!"
> message (this seems to be related to how hard the system is working --
> if it runs an fsck, the message appears immediately). Then, while the
> system is running, the real-time clock will lose time: the more jobs use
> the CPU, the more time I lose. Occasionally, the system will oops or
> hard-hang altogether (which could be an unrelated driver issue; it is
> pretty unusual).
>
> I'm willing to test any patches you clever folk want to throw at me, or
> alternatively if there's an easy solution I'll try anything.
Are you using the amd76x_pm module?
Also, does time still drift backward with the following patch?
Could you also send me your dmesg and ntp drift file for both with and
without this patch?
thanks
-john
===== arch/i386/kernel/timers/timer_tsc.c 1.35 vs edited =====
--- 1.35/arch/i386/kernel/timers/timer_tsc.c Wed Jan 7 00:31:11 2004
+++ edited/arch/i386/kernel/timers/timer_tsc.c Tue Jan 20 13:22:54 2004
@@ -226,7 +226,7 @@
delta += delay_at_last_interrupt;
lost = delta/(1000000/HZ);
delay = delta%(1000000/HZ);
- if (lost >= 2) {
+ if (0 && (lost >= 2)) {
jiffies_64 += lost-1;
/* sanity check to ensure we're not always losing ticks */
prev parent reply other threads:[~2004-02-04 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 13:34 Ian Chard
2004-02-04 18:23 ` john stultz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1075918985.794.4.camel@cog.beaverton.ibm.com \
--to=johnstul@us.ibm.com \
--cc=ian@chard.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®