[ipxe-devel] fxsave/fxrstor patch problems
Ján ONDREJ (SAL)
ondrejj at salstar.sk
Mon Oct 17 11:14:26 UTC 2016
Hello,
with current IPXe, which has also commit
71560d185475117b10994d839afe059577e7768c:
[librm] Preserve FPU, MMX and SSE state across calls to virt_call(),
I can't boot on some servers. One of them is an HP server, but looks
like qemu virtualization is affected too. Tested with CentOS 7 and
it's qemu-1.5.3 and also qemu-kvm-ev-2.3.0. Both of them crashes on ipxe
startup with this message in logs:
2016-10-17 10:44:17.715+0000: starting up libvirt version: 1.2.17, package: 13.el7_2.5 (CentOS BuildSystem <http://bugs.centos.org>, 2016-06-23-14:23:27, worker1.bsys.centos.org), qemu version: 2.3.0 (qemu-kvm-ev-2.3.0-31.el7.16.1)
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name router -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Nehalem,+rdtscp,+dca,+pdcm,+xtpr,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid ddfc5cb0-14e1-445e-9eeb-41ea9fd5646a -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-router/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 strict=on -kernel /var/lib/libvirt/images/ipxe.lkrn -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/dev/vg_kvm1/router_root,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/dev/vg_kvm1/router_root2,if=none,id=drive-virtio-disk1,format=raw,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk1,id=virtio-disk1,bootindex=2 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:58:7f:f4,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-router/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device usb-tablet,id=input0 -vnc 127.0.0.1:3 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
char device redirected to /dev/pts/4 (label charserial0)
KVM internal error. Suberror: 1
emulation failure
EAX=fc2159c0 EBX=000001c0 ECX=00003030 EDX=00178890
ESI=001531f0 EDI=03e87000 EBP=7fff0000 ESP=00007b82
EIP=000007a1 EFL=00000087 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 00000000 ffffffff 00c09300
CS =9c08 0009c080 ffffffff 00809b00
SS =0000 00000000 ffffffff 00809300
DS =9c9c 0009c9c0 ffffffff 00c09300
FS =1000 00010000 ffffffff 00c09300
GS =1000 00010000 ffffffff 00c09300
LDT=0000 00000000 0000ffff 00008200
TR =0000 00000000 0000ffff 00008b00
GDT= 000ca30c 00000017
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 86 07 <0f> ae 06 00 20 0f 01 0e f6 1f 0f 01 06 f0 1f fc 66 b9 38 00 00 00 66 ba 10 02 00 00 66 68
qemu: terminating on signal 15 from pid 1183
2016-10-17 10:44:21.710+0000: shutting down
After revert of this commit everything works well.
I have just problems with this commit. Any chance to get it out or fix
these problems?
Regards.
SAL
More information about the ipxe-devel
mailing list