public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Claudio Scordino <cloud.of.andor@gmail.com>
To: john stultz <johnstul@us.ibm.com>
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: Bug: timer going backward on a dual core
Date: Fri, 28 Oct 2005 23:39:14 +0200	[thread overview]
Message-ID: <200510282339.16196.cloud.of.andor@gmail.com> (raw)
In-Reply-To: <1130532212.27168.417.camel@cog.beaverton.ibm.com>

On Friday 28 October 2005 22:43, john stultz wrote:
> On Fri, 2005-10-28 at 22:27 +0200, Claudio Scordino wrote:
> > > > We have a dual-core AMD64 with the new kernel 2.6.14 and the
> > > > timer goes backward...
> > > >
> > > >
> > > > CONFIGURATION:
> > > >
> > > > Kernel: 2.6.14
> > > > Distribution: Gentoo Linux 2005.0
> > > > Processor: Athlon 64 x2 4200+ (dual core)
> > > > Motherboard: Abit KN8
> > > > Memory: 1GB PC3200
> > > >
> > > >
> > > > PROBLEM:
> > > >
> > > > gettimeofday goes backward and returns values that are not monotonic,
> > > > giving values that are smaller than values returned before.
> > > >
> > > > The system has been tested with timer as PIT, PIT/TSC and PM and the
> > > > problem occurs with all the configurations.
> > > >
> > > > Here is the config file that we used for the PM configuration.
> > > >
> > > > Any suggestion ?
> > >
> > > Booting w/ idle=poll tends to work around this issue. You might check
> > > with your motherboard vendor for an updated BIOS that supports HPET or
> > > the ACPI PM timer.
> >
> > We already updated the BIOS with the latest version.
> >
> > Also the booting command idle=poll doesn't work.
>
> Hmm. Not sure then. Is this a new regression on the same hardware?

Yes, we tried with idle=poll and the problem occurred again.

>
> Also, how are you measuring time going backwards?

With a simple C program that calls gettimeofday and sees if the new value is 
less than the old one.

>
> Would you mind filing a bug (http://bugzilla.kernel.org )on this and
> attaching your config and dmesg there?

Sure.

Thanks,

          Claudio

  reply	other threads:[~2005-10-28 21:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28 19:09 Bug: timer going backward on a dual core Claudio Scordino
2005-10-28 19:30 ` john stultz
2005-10-28 20:27   ` Claudio Scordino
2005-10-28 20:43     ` john stultz
2005-10-28 21:39       ` Claudio Scordino [this message]
2005-10-28 21:44         ` john stultz
2005-10-30 22:13           ` Claudio Scordino
2005-10-28 21:50         ` Vladimir Lazarenko

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=200510282339.16196.cloud.of.andor@gmail.com \
    --to=cloud.of.andor@gmail.com \
    --cc=johnstul@us.ibm.com \
    --cc=kernelnewbies@nl.linux.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