Received: from eggs.gnu.org ([2001:4830:134:3::10]:53696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uyjne-0002Cm-1f for qemu-devel@nongnu.org; Mon, 15 Jul 2013 10:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyjnZ-00036H-0m for qemu-devel@nongnu.org; Mon, 15 Jul 2013 10:30:49 -0400 Received: from indium.canonical.com ([91.189.90.7]:53214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyjnY-00036C-NR for qemu-devel@nongnu.org; Mon, 15 Jul 2013 10:30:44 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UyjnY-0004DM-73 for ; Mon, 15 Jul 2013 14:30:44 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F16732E807E for ; Mon, 15 Jul 2013 14:30:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Jul 2013 14:21:53 -0000 From: Jacek Nykis <1201447@bugs.launchpad.net> Sender: bounces@canonical.com References: <20130715142153.21460.28243.malonedeb@soybean.canonical.com> Message-Id: <20130715142153.21460.28243.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1201447] [NEW] Blue screen when disk uses cache='writeback' Reply-To: Bug 1201447 <1201447@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: I am running Windows 2008R2 as KVM guest on Ubuntu 12.04 hypervisor. Disk c= ontroller and network card are virtio devices with drivers from https://lau= nchpad.net/kvm-guest-drivers-windows/+download (virtio-win-drivers-20120712= -1.iso). Everything worked fine until I changed disk controller cache from the defau= lt (writethrough) to writeback. This introduced occasional blue screens. I = noticed that they are linked to high disk IO. For example restoring over 1G= B of backup files will results in a blue screen on around 4 out of 5 attemp= ts. Also Windows update crashes the system sometimes. When idle the system = will run fine for hours or sometimes even days. After removing cache=3D'writeback' from the config everything came back to = normal. qemu-kvm: Installed: 1.0+noroms-0ubuntu14.8 Candidate: 1.0+noroms-0ubuntu14.8 Version table: *** 1.0+noroms-0ubuntu14.8 0 500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Pa= ckages 100 /var/lib/dpkg/status 1.0+noroms-0ubuntu14.7 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 = Packages 1.0+noroms-0ubuntu13 0 500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages ** Affects: qemu Importance: Undecided Status: New ** Attachment added: "Blue screen" https://bugs.launchpad.net/bugs/1201447/+attachment/3737562/+files/blues= creen1.png -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1201447 Title: Blue screen when disk uses cache=3D'writeback' Status in QEMU: New Bug description: I am running Windows 2008R2 as KVM guest on Ubuntu 12.04 hypervisor. Disk= controller and network card are virtio devices with drivers from https://l= aunchpad.net/kvm-guest-drivers-windows/+download (virtio-win-drivers-201207= 12-1.iso). Everything worked fine until I changed disk controller cache from the def= ault (writethrough) to writeback. This introduced occasional blue screens. = I noticed that they are linked to high disk IO. For example restoring over = 1GB of backup files will results in a blue screen on around 4 out of 5 atte= mpts. Also Windows update crashes the system sometimes. When idle the syste= m will run fine for hours or sometimes even days. After removing cache=3D'writeback' from the config everything came back t= o normal. qemu-kvm: Installed: 1.0+noroms-0ubuntu14.8 Candidate: 1.0+noroms-0ubuntu14.8 Version table: *** 1.0+noroms-0ubuntu14.8 0 500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 = Packages 100 /var/lib/dpkg/status 1.0+noroms-0ubuntu14.7 0 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd6= 4 Packages 1.0+noroms-0ubuntu13 0 500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1201447/+subscriptions