From: Mike Galbraith <efault@gmx.de>
To: john stultz <johnstul@us.ibm.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.18-rt7] BUG: time warp detected!
Date: Fri, 27 Oct 2006 08:04:53 +0000 [thread overview]
Message-ID: <1161936293.6249.8.camel@Homer.simpson.net> (raw)
In-Reply-To: <1161929321.6102.2.camel@Homer.simpson.net>
On Fri, 2006-10-27 at 06:08 +0000, Mike Galbraith wrote:
> On Fri, 2006-10-27 at 05:45 +0000, Mike Galbraith wrote:
> > On Thu, 2006-10-26 at 14:25 -0700, john stultz wrote:
> > > On Thu, 2006-10-26 at 07:20 +0000, Mike Galbraith wrote:
> > > > $subject happened on my single P4/HT box sometime after resume from
> > > > disk. Hohum activity: I had just read lkml and was retrieving latest
> > > > glibc snapshot when I noticed the trace. I also noticed that the kernel
> > > > decided to use pit instead of tsc.
> > >
> > > Huh. Was the PIT selected before or after the resume from disk?
> >
> > Both. If I don't specify tsc, it chooses pit. I just removed freshly
> > added clocksource=tsc, rebooted, and I'm back on pit again.
>
> (hm. virgin 2.6.18 selects tsc properly... will rummage through rt7)
#include <naughty_language.h>
#ifndef CONFIG_HIGH_RES_TIMERS
/* lower the rating if we already know its unstable: */
if (check_tsc_unstable())
clocksource_tsc.rating = 50;
#else
/*
* Mark TSC unsuitable for high resolution timers. TSC has so
* many pitfalls: frequency changes, stop in idle ... When we
* switch to high resolution mode we can not longer detect a
* firmware caused frequency change, as the emulated tick uses
* TSC as reference. This results in a circular dependency.
* Switch only to high resolution mode, if pm_timer or such
* is available.
*/
clocksource_tsc.rating = 50;
clocksource_tsc.is_continuous = 0;
#endif
next prev parent reply other threads:[~2006-10-27 7:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-26 7:20 [2.6.18-rt7] BUG: time warp detected! Mike Galbraith
2006-10-26 21:25 ` john stultz
2006-10-27 5:45 ` Mike Galbraith
2006-10-27 6:08 ` Mike Galbraith
2006-10-27 8:04 ` Mike Galbraith [this message]
2006-10-26 22:07 ` Rafael J. Wysocki
2006-10-27 5:40 ` Mike Galbraith
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=1161936293.6249.8.camel@Homer.simpson.net \
--to=efault@gmx.de \
--cc=johnstul@us.ibm.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.