From: Marcelo Tosatti Subject: Re: qemu-kvm crashes with Assertion ... failed. Date: Wed, 17 Mar 2010 15:22:54 -0300 Message-ID: <20100317182254.GB11942@amt.cnet> References: <4B9CA510.5070205@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: =?iso-8859-1?Q?Andr=E9?= Weidemann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64343 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365Ab0CQSYM (ORCPT ); Wed, 17 Mar 2010 14:24:12 -0400 Content-Disposition: inline In-Reply-To: <4B9CA510.5070205@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Mar 14, 2010 at 09:57:52AM +0100, Andr=E9 Weidemann wrote: > Hi, > I cloned the qemu-kvm git repository today with "git clone > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git > qemu-kvm-2010-03-14", ran configure and compiled it and did a "make > install". Everything went fine without warnings or errors. > For configure output take a look here: http://pastebin.com/BL4DYCRY >=20 > Here is my Server Hardware: > Asus P5Q Mainbaord > Intel Q9300 > 8GB RAM > RAID5 with mdadm consisting of 4x 1TB disks > The volume /dev/storage/Windows7test mentioned below is on this RAID5= =2E >=20 > I ran my virtual machine with the following command: >=20 > qemu-system-x86_64 -cpu core2duo -vga cirrus -boot order=3Dndc -vnc > 192.168.3.42:2 -k de -smp 4,cores=3D4 -drive > file=3D/vmware/Windows7Test_600G.img,if=3Dide,index=3D0,cache=3Dwrite= back -m > 1024 -net nic,model=3De1000,macaddr=3DDE:AD:BE:EF:12:3A -net > tap,script=3D/usr/local/bin/qemu-ifup -monitor pty -name > Windows7test,process=3DWindows7test -drive > file=3D/dev/storage/Windows7test,if=3Dide,index=3D1,cache=3Dnone,aio=3D= native Andre, Can you try qemu-kvm-0.12.3 ? > Windows7Test_600G.img is a qcow2 file and contains a Windows 7 Pro im= age. > /dev/storage/Windows7test is formated with XFS >=20 > After starting the machine with the above command line, I booted > into an Ubuntu 9.10 x86_64 Live Image via PXE and mounted /dev/sdb1 > (/dev/storage/Windows7test) under /mnt. I then did "cd /mnt/" and > ran "iozone -Ra -g 2G -b /tmp/iozone-aoi-linux-xls" >=20 > iozone ran some test and then kvm simply quit with the following > error message: > qemu-system-x86_64: > /usr/local/src/qemu-kvm-2010-03-10/hw/ide/internal.h:510: > bmdma_active_if: Assertion `bmdma->unit !=3D (uint8_t)-1' failed. >=20 > /var/log/syslog contained the folowing: > Mar 14 09:18:14 server kernel: [318080.627468] kvm: 1361: cpu0 > kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop > Mar 14 09:18:14 server kernel: [318080.627473] kvm: 1361: cpu0 > kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop > Mar 14 09:18:14 server kernel: [318080.627476] kvm: 1361: cpu0 > unhandled wrmsr: 0x400 data ffffffffffffffff > Mar 14 09:18:14 server kernel: [318080.627506] kvm: 1361: cpu1 > kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop > Mar 14 09:18:14 server kernel: [318080.627509] kvm: 1361: cpu1 > kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop > Mar 14 09:18:14 server kernel: [318080.627511] kvm: 1361: cpu1 > unhandled wrmsr: 0x400 data ffffffffffffffff > Mar 14 09:18:14 server kernel: [318080.627538] kvm: 1361: cpu2 > kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop > Mar 14 09:18:14 server kernel: [318080.627540] kvm: 1361: cpu2 > kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop > Mar 14 09:18:14 server kernel: [318080.627543] kvm: 1361: cpu2 > unhandled wrmsr: 0x400 data ffffffffffffffff >=20 >=20 > I ws able to reproduce this error 3 times in a row. >=20 > Regards, > Andr=E9