kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Kuhles <ck@aquatix.de>
To: kvm@vger.kernel.org
Subject: Problems with KVM-79
Date: Sun, 07 Dec 2008 18:37:31 +0100	[thread overview]
Message-ID: <493C09DB.7030802@aquatix.de> (raw)

Hi,

I was running KVM-76 with 2 CentOS 5.2 64bit VMs until a few days ago.
Everything was working fine. However, I needed to install a third VM running
Windows 2008 Server 64bit, which randomly kept crashing the host system with a
kernel panic, so I thought, why not upgrade to KVM-79, wanted to do that for a
while anyways. Now, Windows 2008 Server is running absolutely fine, no more host
crashes. However, the two CentOS VMs crash on me every once in a while for no
good reason. This apparently seems to happen more often when one of the CentOS
VMs is under load, like compiling something. I had one of the VMs crash on me
like 10 times to get a PHP 5.2.7 compile thru. I tried starting up the crashing
VM with -no-kvm, and the problem at least seemed to go away. I didn't leave it
running like this too long as the VM is in production and with -no-kvm,
everything ran terribly slow.

Here's some infos about the system I'm using:

Hardware:
- Intel Core2Quad Q6600
- 8 GB RAM (checked with memtest86+ to make sure it's good)
- 2x 320 GB Seagate drives in a software RAID-1

Software:
- Host system: CentOS 5.2 64bit
- VMs: 2x CentOS 5.2 64bit (same kernel as host, see below), 1x Windows Server
2008 64bit, all available updates installed
- manually compiled KVM-79
- Host kernel version: 2.6.18-92.1.18.el5

qemu commands:

VM1 (CentOS 5.2 64bit):
export DISPLAY=:1
qemu-kvm -daemonize -localtime -no-acpi -hda /kvm/vm1.img -m 1024 -boot c -net
nic,macaddr=52:54:00:00:01:00,model=e1000 -net tap,ifname=tap0,script=no

VM2 (Windows Server 2008 64bit):
export DISPLAY=:2
qemu-kvm -daemonize -localtime -hda /kvm/vm2.img -m 2048 -boot c -net
nic,macaddr=52:54:00:00:01:01,model=e1000 -net tap,ifname=tap1,script=no

VM3 (CentOS 5.2 64bit):
export DISPLAY=:3
qemu-kvm -daemonize -localtime -hda /kvm/vm3.img -m 1024 -boot c -net
nic,macaddr=52:54:00:00:01:02,model=e1000 -net tap,ifname=tap2,script=no

(qemu-kvm is a symlink to qemu-system-x86_64, inspired by the CentOS packages
provided by lfarkas.org. Also tried those instead of compiling manually, btw -
same problem.)

When the crashes happen, the qemu processes are still running on the host, but
consume a lot of CPU. Checking the vnc console, there is no output whatsoever
from the VMs, just a blank, black screen that doesn't react to anything (even
tried SysRq, nothing).

Also, what I noticed is that CentOS 5.2 spits loads of errors about kernel
modules (don't have the exact message ready now, but I could get it later on if
needed) when booting up as soon as -smp >=2 is used. This also did not happen
with KVM-76. When I run with -smp 1 or leave that parameter out, everything
works well - except for the random crashes.

As this did in no way happen with KVM-76, I figure there must me a bug in the
most recent version causing this issue.

I'd appreciate any help you could provide. If there's anything else I can do,
like provide debugging output etc., please just let me know.

-- 
Mit freundlichen Gruessen / Best regards

Chris Kuhles
Geschaeftsleitung / Managing Director

Aquatix IT-Services e.K.          Telefon: +49 69 24750456-0
Münzgasse 6                       Telefax: +49 69 24750456-1
60311 Frankfurt am Main           E-Mail:  ck@aquatix.de
AG Frankfurt am Main, HRA 44038   Web:     http://www.aquatix.de/

             reply	other threads:[~2008-12-07 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-07 17:37 Chris Kuhles [this message]
2008-12-07 18:16 ` Problems with KVM-79 Chris Kuhles

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=493C09DB.7030802@aquatix.de \
    --to=ck@aquatix.de \
    --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 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).