public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Leonard Norrgård" <vinsci-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: frequent guest lockup (and mouse/keyboard problems)
Date: Sun, 04 Feb 2007 01:37:58 +0200	[thread overview]
Message-ID: <E1HDUSE-0002lY-KL@teori.refactor.fi> (raw)

The guest OS is 32-bit Debian Etch (KDE), the host AMD64 X2 5200+.
Kvm runs in SDL, command line: kvm -m 80 -hda disk.qcow

All of this happens with kvm trunk.

Quite often, once or more per hour, the guest hangs/freezes, consuming
nearly 100% kernel cpu (user cpu usage is 0,00%) on the host. I use
the guest for browsing the net and irc, so it is used many hours/day
for real work.

The qemu monitor in the guest still works nicely, thoughm such as
stopping and starting the cpu, inspecting registers etc. Looking at
guest $eip, it seems to be in a loop at about 0xc011ac70 - 0xc011b508.
One can also release the mouse grab and enter the grab again. I
haven't found a way to make the guest exit the cpu loop.

Output from kvm_stat when the guest freezes is:

kvm statistics

 exits               0       0
 halt_exits   20050310       0
 invlpg              0       0
 io_exits    170429877       0
 irq_exits           0       0
 irq_window          0       0
 mmio_exits    9859649       0
 pf_fixed    285553491       0
 pf_guest     14202518       0
 request_irq    489317       0
 signal_exit   3584242     249
 tlb_flush    22082315       0


The keyboard/mouse problems occure much more often in full screen mode.

Very often (nearly every minute), the guest mouse will do something
random without warning, like:

- move instantly to some other location on the screen

- click a mouse button (any of the three buttons). (If mouse happens
  to be over a web browser window and button 2 is pressed, firefox
  will try to treat the clipboard text as an url and go to that page,
  so this sometimes manifests itself in the web browser doing
  seemingly random stuff).

Current keyboard problems are:

- keys sometimes repeat on a normal keypress and don't stop until
  another key is pressed (nearly every minute, sometimes more often)

- any of the Ctrl, Shift and Alt seem to get automagically pressed and
  stuck (several times per hour)


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

             reply	other threads:[~2007-02-03 23:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-03 23:37 Leonard Norrgård [this message]
     [not found] ` <E1HDUSE-0002lY-KL-sfresiwXcWESpHg0/dG8a/UpdFzICT1y@public.gmane.org>
2007-02-04 17:24   ` frequent guest lockup (and mouse/keyboard problems) Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160A3F2CF1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-05  9:26       ` Leonard Norrgard
     [not found]         ` <45C6F832.2010709-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
2007-02-05 11:13           ` Leonard Norrgard
2007-02-05 14:58           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160A4D1F2D-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-06  8:18               ` Leonard Norrgard
     [not found]                 ` <45C839F0.2010409-g2GXA8XeJSExHbG02/KK1g@public.gmane.org>
2007-02-06  8:30                   ` Dor Laor
2007-02-08 11:10                   ` Dor Laor
     [not found]                     ` <64F9B87B6B770947A9F8391472E032160A581DC1-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-09  8:30                       ` Leonard Norrgard

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=E1HDUSE-0002lY-KL@teori.refactor.fi \
    --to=vinsci-g2gxa8xejsexhbg02/kk1g@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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