Hi,
I cloned the qemu-kvm git repository 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 Mainboard
Intel Q9300
8GB RAM
I am running Ubuntu 9.10 x86_64 with kernel 2.6.31-20-server.
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(inside the VM)
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 tests 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 was able to reproduce this error 3 times in a row.
Hi,
Do you still see this with the latest KVM/QEMU?
Looks like a bug in the IDE emulation, which may have been fixed since your report.
Thanks,
Jes