public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Guido Winkelmann <guido-kvml@unknownsite.de>
To: kvm@vger.kernel.org
Subject: Virtual disks with SCSI or virtio hang after some time
Date: Tue, 1 Jun 2010 17:59:28 +0200	[thread overview]
Message-ID: <201006011759.28340.guido-kvml@unknownsite.de> (raw)

Hi,

When using KVM machines with virtual disks that are hooked up to the guest via 
either virtio or SCSI, the virtual disk will often hang completely after a 
short time of operation. When this happens, the network connectivity of the 
machine will usually go down, too. (I.e. it stops responding to pings.)

When this happens when using SCSI, the following messages will appear in 
syslog (in the guest):

sd 0:0:0:0: [sda] ABORT operation started
sd 0:0:0:0: ABORT operation timed out
sd 0:0:0:0: [sda] DEVICE RESET operation started

When using virtio, no log messages appear at the time the hang occurs, but 
some time before, these messages appear:

JBD: barrier-based sync failed on vda1-8
JBD: barrier-based sync failed on vda3-8
JBD: barrier-based sync failed on vda5-8

The hang seems to happen faster with virtio, usually within one minute after 
bootup, while with SCSI, it can take a few more minutes

In the host, no interesting messages appear in syslog.

The host OS is Fedora Core 12, with qemu-kvm 0.11.0, Kernel 
2.6.32.11-99.fc12.x86_64 and libvirt 0.8.1.

The guest kernel is 2.6.32-gentoo-r7.

Other, non-linux, guest operating systems seem to have problems with the 
virtualised scsi disks, too. (I've tried OpenBSD.)

Does anyone have an idea what is happening here and what can be done about it?

Regards,

	Guido

-- 
Too much multitasking isn't good for you.

             reply	other threads:[~2010-06-01 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 15:59 Guido Winkelmann [this message]
2010-06-01 16:30 ` Virtual disks with SCSI or virtio hang after some time Avi Kivity
2010-06-02 12:18   ` Guido Winkelmann

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=201006011759.28340.guido-kvml@unknownsite.de \
    --to=guido-kvml@unknownsite.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