Re: qemu-kvm crashes with Assertion ... failed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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é
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux