public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* qemu-kvm crashes with Assertion ... failed.
@ 2010-03-14  8:57 André Weidemann
  2010-03-17 18:22 ` Marcelo Tosatti
  0 siblings, 1 reply; 7+ messages in thread
From: André Weidemann @ 2010-03-14  8:57 UTC (permalink / raw)
  To: kvm

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

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=ndc -vnc 
192.168.3.42:2 -k de -smp 4,cores=4 -drive 
file=/vmware/Windows7Test_600G.img,if=ide,index=0,cache=writeback -m 
1024 -net nic,model=e1000,macaddr=DE:AD:BE:EF:12:3A -net 
tap,script=/usr/local/bin/qemu-ifup  -monitor pty -name 
Windows7test,process=Windows7test -drive 
file=/dev/storage/Windows7test,if=ide,index=1,cache=none,aio=native

Windows7Test_600G.img is a qcow2 file and contains a Windows 7 Pro image.
/dev/storage/Windows7test is formated with XFS

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"

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 != (uint8_t)-1' failed.

/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


I ws able to reproduce this error 3 times in a row.

Regards,
  André

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-25  6:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox