qemu 2.7 / iPXE crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am running Arch linux
vanilla 4.7.2 kernel
qemu 2.7
libvirt 2.2.0
virt-manager 1.4.0
Since the upgrade from qemu 2.6.1 to 2.7 a few days ago. I'm no longer
able to PXE boot at all. Everything else appears to function normally.
Non PXE booting and everything else is perfect. Obviously have
restarted everying etc. Have tried the various network drivers also.
This occurs on domains created with 2.6.1 or with 2.7
When I choose PXE boot, the machine moves to a paused state (crashed)
immediately after the 'starting PXE rom execution...' message appears.
Reverting to qemu 2.6.1 package corrects the issue.
The qemu.log snippet follows below.
I'm not sure how to troubleshoot this problem to determine if it's a
packaging error by the distribution or a problem with qemu/kvm/kernel?
Any help would be much appreciated - Thanks,
Greg
--- qemu.log:
2016-09-12 16:36:33.867+0000: starting up libvirt version: 2.2.0, qemu
version: 2.7.0, hostname: seneca
LC_ALL=C PATH=/usr/
QEMU_AUDIO_
threads=on -S -object
secret,
c/master-key.aes -machine pc-i440fx-
-cpu Nehalem -m 2048 -realtime mlock=off -smp
1,sockets=
e8b45f5117ac -no-user-config -nodefaults -chardev
socket,
c/monitor.
chardev=
-global kvm-pit.
PIIX4_PM.
menu=on,strict=on -device ich9-usb-
-device ich9-usb-
uhci1,masterbus
-device ich9-usb-
uhci2,masterbus
usb-uhci3,
virtio-
file=/var/
virtio-disk0 -device virtio-blk-
pci,scsi=
disk0,bootindex=1 -netdev tap,fd=
rtl8139,
3 -chardev pty,id=charserial0 -device isa-
serial,
socket,
-6-c/org.
virtserialport,
serial0.
nt.0 -chardev spicevmc,
virtserialport,
serial0.
-device usb-tablet,
port=5901,
compression=
vga,id=
mem_mb=
hda,id=
codec0,
-device usb-redir,
-chardev spicevmc,
redir,chardev=
balloon-
char device redirected to /dev/pts/0 (label charserial0)
main_channel_link: add main channel client
red_dispatcher_
inputs_connect: inputs channel client create
KVM internal error. Suberror: 1
emulation failure
EAX=801a8d00 EBX=000000a0 ECX=00002e20 EDX=0009d5e8
ESI=7ffa3c00 EDI=7fef4000 EBP=ffffffff ESP=00007b92
EIP=000006ab EFL=00000087 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 ffffffff 00c09300
CS =9c4c 0009c4c0 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =9cd0 0009cd00 ffffffff 00c09300
FS =0000 00000000 ffffffff 00c09300
GS =0000 00000000 ffffffff 00c09300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 00000000 00000000
IDT= 00000000 000003ff
CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000000
DR3=00000000000
DR6=00000000fff
EFER=0000000000
Code=00 16 66 9c 66 60 0f a8 0f a0 06 1e 16 0e fa 2e 8e 1e 90 06 <0f>
ae 06 d0 1c 0f 01 0e c6 1c 0f 01 06 c0 1c fc 66 b9 38 00 00 00 66 ba 10
02 00 00 66 68
--- /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
stepping : 5
microcode : 0x11
cpu MHz : 3066.648
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx
est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow
vnmi flexpriority ept vpid dtherm
bugs :
bogomips : 6135.85
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
sudo qemu-system-x86_64 -boot n -net nic,model= virtio, vlan=0 -net bridge, vlan=0, br=br1 -drive file=/tmp/ qc2.img, format= qcow2,index= 0,media= disk -m 1024
Without -enable-kvm, the above command work perfectly. I can PXE boot from the tftp server on my LAN just fine.
When KVM is enabled, qemu crashes immediately displaying only this:
Booting from ROM...
iPXE (PCI 00:03.0) starting execution