From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Andr=E9_Weidemann?= Subject: Re: qemu-kvm crashes with Assertion ... failed. Date: Thu, 25 Mar 2010 07:35:58 +0100 Message-ID: <4BAB044E.9000408@web.de> References: <4B9CA510.5070205@web.de> <20100317182254.GB11942@amt.cnet> <4BA14641.2010407@web.de> <4BAA02BC.9090408@redhat.com> <4BAA3BB8.4000303@web.de> <4BAA3C94.2030307@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Marcelo Tosatti , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:33065 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752677Ab0CYGgG (ORCPT ); Thu, 25 Mar 2010 02:36:06 -0400 In-Reply-To: <4BAA3C94.2030307@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi, On 24.03.2010 17:23, Avi Kivity wrote: > On 03/24/2010 06:20 PM, Andr=E9 Weidemann wrote: >>> Does this happen with a guest installed on kvm, or just with the gu= est >>> that (guessing from the name) was imported from vmware? >> >> >> I booted the VM via PXE into an Ubuntu Live CD image. I only added t= he >> Windows disk image, so I could copy the resulting Excel file (from >> iozone) to this disk. The Windows 7 on this disk was installed under >> kvm 0.12.3. >> > > What version of Ubuntu? Can you post a way to reproduce this reliably > (how you created the disk etc.) > In that particular case I ran Ubuntu Desktop 9.10 x86_64 inside the VM.= =20 I set my server up so I can boot any machine on the network via PXE. I=20 used the live CD that you can download here:=20 http://141.30.3.84/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso Since this setup is a very special I booted the VM from the CD-ISO and=20 installed Ubuntu onto an LV(100GB). This way I think, it is easier to=20 reproduce. At first I installed Ubuntu on an LV which resides on a VG that is on a= =20 RAID5 created via mdadm (4x 1TB HDDs). Here is the command line, I used to start the VM: qemu-system-x86_64 -cpu core2duo -vga cirrus -boot order=3Dd -vnc=20 192.168.3.42:2 -k de -smp 4,cores=3D4 -m 1024 -net=20 nic,model=3De1000,macaddr=3DDE:AD:BE:EF:12:3A -net=20 tap,script=3D/usr/local/bin/qemu-ifup -monitor pty -name=20 Ubuntu9.10test,process=3DUbuntu9.10test -cdrom=20 /tftpboot/ubuntu-9.10-desktop-amd64.iso -drive=20 file=3D/dev/storage/UbuntuTest,if=3Dide,index=3D1,cache=3Dnone,aio=3Dna= tive I booted into the Ubuntu Live CD and chose to install Ubuntu from the=20 desktop. I had the partitioner install Ubuntu onto the entire disk. I=20 did not setup any partitions manually. During the install process, the=20 VM crashed again. The VM did not always crash at same stage of the=20 installation process. But it nevertheless did, every time I tried to=20 install it and I tried 3 times in a row. I then changes index=3D1 to index=3D0 and ran another 3 tests. Ubuntu=20 crashed 2 out of 3 times during installation. To rule out the problem to be related to the LV on the RAID5, I then=20 installed Ubuntu on a physical drive(250GB SATA). Therefore I changes=20 the command line to this: qemu-system-x86_64 -cpu core2duo -vga cirrus -boot order=3Dd -vnc=20 192.168.3.42:2 -k de -smp 4,cores=3D4 -m 1024 -net=20 nic,model=3De1000,macaddr=3DDE:AD:BE:EF:12:3A -net=20 tap,script=3D/usr/local/bin/qemu-ifup -monitor pty -name=20 Ubuntu9.10test,process=3DUbuntu9.10test -cdrom=20 /tftpboot/ubuntu-9.10-desktop-amd64.iso -drive=20 file=3D/dev/sdg,if=3Dide,index=3D0,cache=3Dnone,aio=3Dnative I gave it another three tries. 2 out of 3 installations made the VM=20 crash at around 95% and 43%. So the crash does not seem to be related to running iozone inside the=20 VM, but to disk access in general. On the Server I am running Ubuntu Server 9.10 x86_64 with kernel=20 2.6.31-20-server. The server is equipped with an Intel Q9300 CPU and 8G= B=20 RAM. If you need more information, let me know. Andr=E9