qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Kent <mkent@magoazul.com>
To: qemu-devel@nongnu.org
Cc: kvm-devel@lists.sourceforge.net
Subject: [Qemu-devel] linux verify_pmtmr_rate() issue
Date: Tue, 21 Aug 2007 16:30:32 -0700	[thread overview]
Message-ID: <1187739032.2562.85.camel@fuego> (raw)

Issue here that's beyond my skill set to resolve:

I've been starting multiple linux 2.6.23-rc3 x86 guests up in parallel
with qemu/kvm and noticed pm-timer is being disabled in some of them
with

PM-Timer running at invalid rate: 126% of normal - aborting.

in dmesg when I start about 6 at a time. Unfortunately without the timer
a tickless kernel in my guests is disabled. 

I also replicated the issue by starting a single vm when the host system
was busy enough.

After some amateurish debugging added to verify_pmtmr_rate() in the
kernel acpi_pm driver and get_pmtmr() in qemu acpi I can indeed see it
returning just slowly enough to throw off the sanity check. 

[   10.264772] DEBUG: PM-Timer running value1: 2925874 value2: 3058371
expected_rate: 107385 delta: 132497 count: 2269
[   10.270766] PM-Timer running at invalid rate: 123% of normal -
aborting.

For now I've just disabled verify_pmtmr_rate() in the kernel for my
guests and they seem to be keeping time just fine. 

Not sure if a patch for the linux kernel making the sanity check
optional with a kernel parameter would make sense or there's something
else that can be done at the qemu level.

Thanks.
-- 
Matthew Kent <mkent@magoazul.com>
http://magoazul.com

             reply	other threads:[~2007-08-21 23:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 23:30 Matthew Kent [this message]
2007-08-22  4:47 ` [Qemu-devel] Re: [kvm-devel] linux verify_pmtmr_rate() issue Avi Kivity

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=1187739032.2562.85.camel@fuego \
    --to=mkent@magoazul.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).