All of lore.kernel.org
 help / color / mirror / Atom feed
* frequent guest lockup (and mouse/keyboard problems)
@ 2007-02-03 23:37 Leonard Norrgård
       [not found] ` <E1HDUSE-0002lY-KL-sfresiwXcWESpHg0/dG8a/UpdFzICT1y@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Leonard Norrgård @ 2007-02-03 23:37 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-02-09  8:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-03 23:37 frequent guest lockup (and mouse/keyboard problems) Leonard Norrgård
     [not found] ` <E1HDUSE-0002lY-KL-sfresiwXcWESpHg0/dG8a/UpdFzICT1y@public.gmane.org>
2007-02-04 17:24   ` 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

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.