From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Subject: qemu-kvm crashes with Assertion ... failed. Date: Sun, 14 Mar 2010 09:57:52 +0100 Message-ID: <4B9CA510.5070205@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:54608 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755415Ab0CNI6J (ORCPT ); Sun, 14 Mar 2010 04:58:09 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 2BE1D14D3F5CF for ; Sun, 14 Mar 2010 09:58:08 +0100 (CET) Received: from [80.88.20.101] (helo=[127.0.0.1]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #314) id 1NqjeB-0002jD-00 for kvm@vger.kernel.org; Sun, 14 Mar 2010 09:58:07 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Hi, I cloned the qemu-kvm git repository today with "git clone=20 git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git qemu-kvm-2010-03-14"= ,=20 ran configure and compiled it and did a "make install". Everything went= =20 fine without warnings or errors. =46or configure output take a look here: http://pastebin.com/BL4DYCRY 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. I ran my virtual machine with the following command: qemu-system-x86_64 -cpu core2duo -vga cirrus -boot order=3Dndc -vnc=20 192.168.3.42:2 -k de -smp 4,cores=3D4 -drive=20 file=3D/vmware/Windows7Test_600G.img,if=3Dide,index=3D0,cache=3Dwriteba= ck -m=20 1024 -net nic,model=3De1000,macaddr=3DDE:AD:BE:EF:12:3A -net=20 tap,script=3D/usr/local/bin/qemu-ifup -monitor pty -name=20 Windows7test,process=3DWindows7test -drive=20 file=3D/dev/storage/Windows7test,if=3Dide,index=3D1,cache=3Dnone,aio=3D= native Windows7Test_600G.img is a qcow2 file and contains a Windows 7 Pro imag= e. /dev/storage/Windows7test is formated with XFS After starting the machine with the above command line, I booted into a= n=20 Ubuntu 9.10 x86_64 Live Image via PXE and mounted /dev/sdb1=20 (/dev/storage/Windows7test) under /mnt. I then did "cd /mnt/" and ran=20 "iozone -Ra -g 2G -b /tmp/iozone-aoi-linux-xls" iozone ran some test and then kvm simply quit with the following error=20 message: qemu-system-x86_64:=20 /usr/local/src/qemu-kvm-2010-03-10/hw/ide/internal.h:510:=20 bmdma_active_if: Assertion `bmdma->unit !=3D (uint8_t)-1' failed. /var/log/syslog contained the folowing: Mar 14 09:18:14 server kernel: [318080.627468] kvm: 1361: cpu0=20 kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop Mar 14 09:18:14 server kernel: [318080.627473] kvm: 1361: cpu0=20 kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop Mar 14 09:18:14 server kernel: [318080.627476] kvm: 1361: cpu0 unhandle= d=20 wrmsr: 0x400 data ffffffffffffffff Mar 14 09:18:14 server kernel: [318080.627506] kvm: 1361: cpu1=20 kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop Mar 14 09:18:14 server kernel: [318080.627509] kvm: 1361: cpu1=20 kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop Mar 14 09:18:14 server kernel: [318080.627511] kvm: 1361: cpu1 unhandle= d=20 wrmsr: 0x400 data ffffffffffffffff Mar 14 09:18:14 server kernel: [318080.627538] kvm: 1361: cpu2=20 kvm_set_msr_common: MSR_IA32_MCG_STATUS 0x0, nop Mar 14 09:18:14 server kernel: [318080.627540] kvm: 1361: cpu2=20 kvm_set_msr_common: MSR_IA32_MCG_CTL 0xffffffffffffffff, nop Mar 14 09:18:14 server kernel: [318080.627543] kvm: 1361: cpu2 unhandle= d=20 wrmsr: 0x400 data ffffffffffffffff I ws able to reproduce this error 3 times in a row. Regards, Andr=E9