[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash
From: |
Laszlo Ersek |
Subject: |
[Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash |
Date: |
Wed, 26 Oct 2016 19:53:19 -0000 |
The ipxe bisection is extremely helpful; can you please thank Peter
Pickford in the arch tracker on our behalf?
So, the culprit iPXE commit is
commit 71560d185475117b10994d839afe059577e7768c
Author: Michael Brown <address@hidden>
Date: Wed Apr 27 11:03:18 2016 +0100
[librm] Preserve FPU, MMX and SSE state across calls to virt_call()
We have actually seen this, in
https://bugzilla.redhat.com/show_bug.cgi?id=1356762
This is a feature gap in KVM's instruction *emulation*.
In one of the previous comments, I asked for the KVM module parameters /
settings -- I'm pretty sure that once you upload them, they will match
Paolo's RHBZ comment in
<https://bugzilla.redhat.com/show_bug.cgi?id=1356762#c12>.
Namely, I expect that the affected host does not support
"unrestricted_guest"; i.e., it cannot natively virtualize the FXSAVE
instruction (in big real mode that iPXE runs in). Given that
"emulate_invalid_guest_state" is set to "yes" on your host (well, I
expect that at least; I think it's the default if unrestricted_guest is
missing), KVM "manually" emulates 16-bit big real mode for iPXE.
However, FXSAVE emulation is missing from KVM.
RHBZ#1356762 is the bug that tracks the Request for Enhancement.
** Bug watch added: Red Hat Bugzilla #1356762
https://bugzilla.redhat.com/show_bug.cgi?id=1356762
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1623276
Title:
qemu 2.7 / iPXE crash
Status in QEMU:
New
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/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=spice /usr/sbin/qemu-system-x86_64 -name guest=c,debug-
threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-6-
c/master-key.aes -machine pc-i440fx-2.7,accel=kvm,usb=off,vmport=off
-cpu Nehalem -m 2048 -realtime mlock=off -smp
1,sockets=1,cores=1,threads=1 -uuid 348009be-26d5-4dc7-b515-
e8b45f5117ac -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-6-
c/monitor.sock,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global
PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot
menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7
-device ich9-usb-
uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6
-device ich9-usb-
uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-
usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
file=/var/lib/libvirt/images/c.qcow2,format=qcow2,if=none,id=drive-
virtio-disk0 -device virtio-blk-
pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-
disk0,bootindex=1 -netdev tap,fd=28,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:a0:95:7c,bus=pci.0,addr=0x
3 -chardev pty,id=charserial0 -device isa-
serial,chardev=charserial0,id=serial0 -chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain
-6-c/org.qemu.guest_agent.0,server,nowait -device
virtserialport,bus=virtio-
serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_age
nt.0 -chardev spicevmc,id=charchannel1,name=vdagent -device
virtserialport,bus=virtio-
serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0
-device usb-tablet,id=input0,bus=usb.0,port=1 -spice
port=5901,addr=127.0.0.1,disable-ticketing,image-
compression=off,seamless-migration=on -device qxl-
vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vga
mem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device intel-
hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-
codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2
-chardev spicevmc,id=charredir1,name=usbredir -device usb-
redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device virtio-
balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
main_channel_link: add main channel client
red_dispatcher_set_cursor_peer:
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=0000000000000000 DR1=0000000000000000 DR2=0000000000000000
DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
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:
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1623276/+subscriptions
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Michael Prokop, 2016/10/25
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Greg, 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash,
Laszlo Ersek <=
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek, 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/26
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Greg, 2016/10/27
- [Qemu-devel] [Bug 1623276] Re: qemu 2.7 / iPXE crash, Laszlo Ersek \(Red Hat\), 2016/10/27