From: "André Weidemann" <Andre.Weidemann@web.de>
To: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: qemu-kvm crashes with Assertion ... failed.
Date: Thu, 25 Mar 2010 07:35:58 +0100 [thread overview]
Message-ID: <4BAB044E.9000408@web.de> (raw)
In-Reply-To: <4BAA3C94.2030307@redhat.com>
Hi,
On 24.03.2010 17:23, Avi Kivity wrote:
> On 03/24/2010 06:20 PM, André Weidemann wrote:
>>> Does this happen with a guest installed on kvm, or just with the guest
>>> that (guessing from the name) was imported from vmware?
>>
>>
>> I booted the VM via PXE into an Ubuntu Live CD image. I only added the
>> 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.
I set my server up so I can boot any machine on the network via PXE. I
used the live CD that you can download here:
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
installed Ubuntu onto an LV(100GB). This way I think, it is easier to
reproduce.
At first I installed Ubuntu on an LV which resides on a VG that is on a
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=d -vnc
192.168.3.42:2 -k de -smp 4,cores=4 -m 1024 -net
nic,model=e1000,macaddr=DE:AD:BE:EF:12:3A -net
tap,script=/usr/local/bin/qemu-ifup -monitor pty -name
Ubuntu9.10test,process=Ubuntu9.10test -cdrom
/tftpboot/ubuntu-9.10-desktop-amd64.iso -drive
file=/dev/storage/UbuntuTest,if=ide,index=1,cache=none,aio=native
I booted into the Ubuntu Live CD and chose to install Ubuntu from the
desktop. I had the partitioner install Ubuntu onto the entire disk. I
did not setup any partitions manually. During the install process, the
VM crashed again. The VM did not always crash at same stage of the
installation process. But it nevertheless did, every time I tried to
install it and I tried 3 times in a row.
I then changes index=1 to index=0 and ran another 3 tests. Ubuntu
crashed 2 out of 3 times during installation.
To rule out the problem to be related to the LV on the RAID5, I then
installed Ubuntu on a physical drive(250GB SATA). Therefore I changes
the command line to this:
qemu-system-x86_64 -cpu core2duo -vga cirrus -boot order=d -vnc
192.168.3.42:2 -k de -smp 4,cores=4 -m 1024 -net
nic,model=e1000,macaddr=DE:AD:BE:EF:12:3A -net
tap,script=/usr/local/bin/qemu-ifup -monitor pty -name
Ubuntu9.10test,process=Ubuntu9.10test -cdrom
/tftpboot/ubuntu-9.10-desktop-amd64.iso -drive
file=/dev/sdg,if=ide,index=0,cache=none,aio=native
I gave it another three tries. 2 out of 3 installations made the VM
crash at around 95% and 43%.
So the crash does not seem to be related to running iozone inside the
VM, but to disk access in general.
On the Server I am running Ubuntu Server 9.10 x86_64 with kernel
2.6.31-20-server. The server is equipped with an Intel Q9300 CPU and 8GB
RAM.
If you need more information, let me know.
André
prev parent reply other threads:[~2010-03-25 6:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-14 8:57 qemu-kvm crashes with Assertion ... failed André Weidemann
2010-03-17 18:22 ` Marcelo Tosatti
2010-03-17 21:14 ` André Weidemann
2010-03-24 12:17 ` Avi Kivity
2010-03-24 16:20 ` André Weidemann
2010-03-24 16:23 ` Avi Kivity
2010-03-25 6:35 ` André Weidemann [this message]
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=4BAB044E.9000408@web.de \
--to=andre.weidemann@web.de \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/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