public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Marc Haber <mh+kvm@zugschlus.de>
Cc: kvm@vger.kernel.org
Subject: Re: KVM host freezing
Date: Thu, 02 Jun 2011 16:41:30 +0300	[thread overview]
Message-ID: <4DE7930A.3060704@redhat.com> (raw)
In-Reply-To: <20110602082512.GF14747@torres.zugschlus.de>

On 06/02/2011 11:25 AM, Marc Haber wrote:
> Hi,
>
> I have just started deploying a host doing virtualization with KVM.
> The box has an Athlon 64 X2, 4 GB RAM and is running Debian squeeze
> with a locally built 2.6,39 kernel and backported versions of qemu-kvm
> (0.14.0) and libvirt (0.9.0) from Debian sid. The box is currently
> hosting five VMs, all of them Debian systems as well and rather
> unloaded. The only time when there is significant load is when all VMs
> are simultaneously starting up their cron jobs.
>
> When the host starts up, it immediately spews the following lines to
> the console:
>
> kvm: 2865: cpu0 unhandled rdmsr: 0xc0010048
> kvm: 2865: cpu0 unhandled wrmsr: 0xc0010048 data 2100000401
> kvm: 2865: cpu0 unhandled rdmsr: 0xc0010001
> kvm: 2849: cpu0 unhandled rdmsr: 0xc0010048
> kvm: 2849: cpu0 unhandled wrmsr: 0xc0010048 data c0579f7cc0010448
> kvm: 2849: cpu0 unhandled rdmsr: 0xc0010001
> kvm: 2950: cpu0 unhandled rdmsr: 0xc0010048
> kvm: 2950: cpu0 unhandled wrmsr: 0xc0010048 data c0579f7cc0010448
> kvm: 2849: cpu1 unhandled rdmsr: 0xc0010048
> kvm: 2963: cpu0 unhandled rdmsr: 0xc0010112
> kvm: 2963: cpu0 unhandled rdmsr: 0xc0010048
> kvm: 2963: cpu0 unhandled wrmsr: 0xc0010048 data 2100000401
> kvm: 2963: cpu0 unhandled rdmsr: 0xc0010001
> kvm: 2963: cpu1 unhandled rdmsr: 0xc0010048
> kvm: 2963: cpu1 unhandled wrmsr: 0xc0010048 data 2100000401
>
> Every few days, the system stops dead in its tracks and needs a hard
> reset to be revived. I have a serial console, which unfortunately
> disconnects me after a few minutes of inactivity, and only caches the
> last few lines of activity. Whenever I connect to the serial console
> of the frozen system, I have a few lines of the same "unhandled
> (rd|wr)msr" messages.
>
> The syslog doesn't show anything strange. The system just stops dead
> in its tracks.
>
> Is there any possibility that the freezes have to do with the
> "unhandles (rd|wr)msr" messages?

Very unlikely.

> When else could be the cause?
>
> In the mean time, I have taken the box offline and am running memtest.
> Up to now, everything seems to be fine.
>
> Any hints will be appreciated.

You might try setting up netconsole to get reliable logging.

Do you have NMIs?  'grep NMI /proc/interrupts'.

Does running 'perf top -F 10000' make the hang come sooner?

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2011-06-02 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  8:25 KVM host freezing Marc Haber
2011-06-02 13:41 ` Avi Kivity [this message]
2011-06-02 20:36   ` Marc Haber
2011-06-06  8:34     ` 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=4DE7930A.3060704@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mh+kvm@zugschlus.de \
    /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