All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Hetze <s.hetze@linux-ag.com>
To: kvm@vger.kernel.org
Subject: Clocksource tsc unstable (delta = -4398046474878 ns)
Date: Sun, 28 Mar 2010 13:46:35 +0200	[thread overview]
Message-ID: <20100328114635.401C730301D3@mail.linux-ag.de> (raw)

Hi *,

this message appeared in the KVM guest kern.log last night:

Mar 27 22:35:30 guest kernel: [260041.559462] Clocksource tsc unstable (delta = -4398046474878 ns)

The guest is running a 2.6.31-20-generic-pae ubuntu kernel with
hrtimer-tune-hrtimer_interrupt-hang-logic.patch applied.

If I understand things correct, in kernel/time/clocksource.c
clocksource_watchdog() checks all the
/sys/devices/system/clocksource/clocksource0/available_clocksource
every 0.5sec for an delta of more than 0.0625s. So the tsc must have
changed more than one hour within two subsequent calls of
clocksource_watchdog. No event in the host nor anything in the
guest gives reasonable cause for this step.

However, the number 4398046474878 is only 36226 ns away from
4*1024*1024*1024*1024

The guest is an 32 bit system running in a 64 bit host. Is this an
possible cause of this strange message? Any other idea what is going
wrong here? Maybe this is a hardware bug?

Best regards,

  Sebastian

             reply	other threads:[~2010-03-28 11:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-28 11:46 Sebastian Hetze [this message]
2010-03-29 10:31 ` Clocksource tsc unstable (delta = -4398046474878 ns) Athanasius
2010-03-30  8:08   ` Sebastian Hetze
2010-03-30 16:12     ` Athanasius
2010-03-30 17:04     ` Beinicke, Thomas
2010-03-31 19:32       ` Zachary Amsden
2010-03-31 13:09         ` Beinicke, Thomas

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=20100328114635.401C730301D3@mail.linux-ag.de \
    --to=s.hetze@linux-ag.com \
    --cc=kvm@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.