Bug 1051443
| Summary: | WinXP stuck after wakeup from S3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaoqing Wei <xwei> | ||||
| Component: | qemu-kvm | Assignee: | Ronen Hod <rhod> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | CC: | acathrow, bcao, hhuang, juzhang, knoel, michen, shuang, virt-bugs, virt-maint, xwei | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-02-11 12:21:21 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
XP will be past End Of Life when 7.0 is released. QE please check if using the same machine type it is a regression from RHEL6.5. If it is a regression, then we will try to bisect, otherwise, we will close the bug. Thanks. Hi Xiaoqing, Could you have a look comment2 and update the test result? Best Regards, Junyi (In reply to Ronen Hod from comment #2) > XP will be past End Of Life when 7.0 is released. > > QE please check if using the same machine type it is a regression from > RHEL6.5. If it is a regression, then we will try to bisect, otherwise, we > will close the bug. > > Thanks. Hi Ronen, you mean using '-M rhel6.5.0' on RHEL.7.0 host for a test ? (In reply to Xiaoqing Wei from comment #4) > (In reply to Ronen Hod from comment #2) > > XP will be past End Of Life when 7.0 is released. > > > > QE please check if using the same machine type it is a regression from > > RHEL6.5. If it is a regression, then we will try to bisect, otherwise, we > > will close the bug. > > > > Thanks. > > Hi Ronen, > > you mean using '-M rhel6.5.0' on RHEL.7.0 host for a test ? I was referring to the sentence "same img works fine on rhel6.5 host(not same model machine, though)". Not sure that I asked the right question. Anyhow, my intention is to check if it is a regression, and try to bisect and give us a pointer to which version introduced the regression. It is easier than trying to debug the issue. Any assistance in narrowing the issue (what arguments are problematic, when it was introduced), will be most helpful, since it is not easy to debug such issues. Thanks. so if I understand your point correctly, you want the machine that encounter this bug on RHEL.7, to be re-install as RHEL.6.5 and re-test, here's the result, failed, using cmd similar to rhel6.5 on comment 0(replacing cpu model to amd g5 to match hw.) guest bsod after clicking 'stand by'. /root/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu -monitor stdio \ -S \ -name 'virt-tests-vm1' \ -M rhel6.5.0 \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140110-173548-Ro3CYyds,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140110-173548-Ro3CYyds,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20140110-173548-Ro3CYyds,path=/tmp/seabios-20140110-173548-Ro3CYyds,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20140110-173548-Ro3CYyds,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \ -drive id=drive_image1,if=none,cache=unsafe,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/winXP-32-virtio.qcow2 \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \ -device virtio-net-pci,mac=9a:fd:fe:ff:00:01,id=idr2fFMH,netdev=idmTewsF,bus=pci.0,addr=06 \ -netdev tap,id=idmTewsF,vhost=on \ -m 4096 \ -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 \ -cpu 'Opteron_G5' \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \ -device ide-drive,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -balloon virtio \ -global PIIX4_PM.disable_s3=0 \ -global PIIX4_PM.disable_s4=0 \ -drive id=drive_fl,if=none,cache=unsafe,snapshot=off,readonly=on,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win.latest_prewhql.vfd.i386 \ -global isa-fdc.driveA=drive_fl \ -enable-kvm |
Created attachment 848123 [details] trace Description of problem: WinXP stuck after wakeup from S3 Version-Release number of selected component (if applicable): kernel-3.10.0-66.el7.x86_64 qemu-kvm-rhev-1.5.3-33.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1./root/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu -monitor stdio \ -S \ -name 'virt-tests-vm1' \ -sandbox off \ -M pc \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140110-163004-9pD49ah4,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140110-163004-9pD49ah4,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20140110-163004-9pD49ah4,path=/tmp/seabios-20140110-163004-9pD49ah4,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20140110-163004-9pD49ah4,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \ -drive id=drive_image1,if=none,cache=unsafe,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/winXP-32-virtio.qcow2 \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \ -device virtio-net-pci,mac=9a:0c:0d:0e:0f:10,id=idaHWoEl,netdev=idNd9VL6,bus=pci.0,addr=05 \ -netdev tap,id=idNd9VL6,vhost=on \ -m 4096 \ -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 \ -cpu 'Opteron_G5',hv_relaxed,hv_spinlocks=0x1fff,hv_vapic \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win.latest_prewhql.iso \ -device ide-cd,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \ -drive id=drive_fl,if=none,cache=unsafe,snapshot=off,readonly=on,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/virtio-win.latest_prewhql.vfd.i386 \ -global isa-fdc.driveA=drive_fl \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -balloon virtio \ -global PIIX4_PM.disable_s3=0 \ -global PIIX4_PM.disable_s4=0 \ -enable-kvm 2. click 'start' -> 'shutdown' -> 'stand by' 3. type system_wakeup in qemu monitor Actual results: guest either BSOD or stuck at black screen Expected results: guest should work normally Additional info: top -Hp 7841 -n 1 top - 17:11:32 up 1:23, 2 users, load average: 2.00, 1.75, 1.14 Threads: 4 total, 2 running, 2 sleeping, 0 stopped, 0 zombie %Cpu(s): 14.1 us, 3.1 sy, 0.0 ni, 82.5 id, 0.4 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 7016256 total, 5476244 used, 1540012 free, 1256 buffers KiB Swap: 7356412 total, 0 used, 7356412 free. 1413488 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7853 root 20 0 4929036 3.603g 7480 R 99.6 53.9 10:28.35 qemu 7841 root 20 0 4929036 3.603g 7480 S 0.0 53.9 1:05.34 qemu 7854 root 20 0 4929036 3.603g 7480 R 0.0 53.9 10:25.27 qemu 7855 root 20 0 4929036 3.603g 7480 S 0.0 53.9 0:05.19 qemu kvm_stat -1 kvm_ack_irq 66 64 kvm_age_page 0 0 kvm_apic 317 308 kvm_apic_accept_irq 162 157 kvm_apic_ipi 96 93 kvm_async_pf_completed 0 0 kvm_async_pf_doublefault 0 0 kvm_async_pf_not_present 0 0 kvm_async_pf_ready 0 0 kvm_cpuid 0 0 kvm_cr 0 0 kvm_emulate_insn 446 436 kvm_entry 61798 59626 kvm_eoi 95 93 kvm_exit 61770 59626 kvm_exit(CLGI) 0 0 kvm_exit(CPUID) 0 0 kvm_exit(CR0_SEL_WRITE) 0 0 kvm_exit(EXCP_BASE) 0 0 kvm_exit(FERR_FREEZE) 0 0 kvm_exit(GDTR_READ) 0 0 kvm_exit(GDTR_WRITE) 0 0 kvm_exit(HLT) 0 0 kvm_exit(ICEBP) 0 0 kvm_exit(IDTR_READ) 0 0 kvm_exit(IDTR_WRITE) 0 0 kvm_exit(INIT) 0 0 kvm_exit(INTR) 2951 2259 kvm_exit(INVD) 0 0 kvm_exit(INVLPG) 0 0 kvm_exit(INVLPGA) 0 0 kvm_exit(IOIO) 264 256 kvm_exit(IRET) 0 0 kvm_exit(LDTR_READ) 0 0 kvm_exit(LDTR_WRITE) 0 0 kvm_exit(MONITOR) 0 0 kvm_exit(MSR) 0 0 kvm_exit(MWAIT) 0 0 kvm_exit(MWAIT_COND) 0 0 kvm_exit(NMI) 0 0 kvm_exit(NPF) 314 308 kvm_exit(PAUSE) 57980 56772 kvm_exit(POPF) 0 0 kvm_exit(PUSHF) 0 0 kvm_exit(RDPMC) 0 0 kvm_exit(RDTSC) 0 0 kvm_exit(RDTSCP) 0 0 kvm_exit(READ_CR0) 0 0 kvm_exit(READ_CR3) 0 0 kvm_exit(READ_CR4) 0 0 kvm_exit(READ_CR8) 0 0 kvm_exit(READ_DR0) 0 0 kvm_exit(READ_DR1) 0 0 kvm_exit(READ_DR2) 0 0 kvm_exit(READ_DR3) 0 0 kvm_exit(READ_DR4) 0 0 kvm_exit(READ_DR5) 0 0 kvm_exit(READ_DR6) 0 0 kvm_exit(READ_DR7) 0 0 kvm_exit(RSM) 0 0 kvm_exit(SHUTDOWN) 0 0 kvm_exit(SKINIT) 0 0 kvm_exit(SMI) 0 0 kvm_exit(STGI) 0 0 kvm_exit(SWINT) 0 0 kvm_exit(TASK_SWITCH) 0 0 kvm_exit(TR_READ) 0 0 kvm_exit(TR_WRITE) 0 0 kvm_exit(VINTR) 29 29 kvm_exit(VMLOAD) 0 0 kvm_exit(VMMCALL) 0 0 kvm_exit(VMRUN) 0 0 kvm_exit(VMSAVE) 0 0 kvm_exit(WBINVD) 0 0 kvm_exit(WRITE_CR0) 0 0 kvm_exit(WRITE_CR3) 0 0 kvm_exit(WRITE_CR4) 0 0 kvm_exit(WRITE_CR8) 0 0 kvm_exit(WRITE_DR0) 0 0 kvm_exit(WRITE_DR1) 0 0 kvm_exit(WRITE_DR2) 0 0 kvm_exit(WRITE_DR3) 27 0 kvm_exit(WRITE_DR4) 0 0 kvm_exit(WRITE_DR5) 0 0 kvm_exit(WRITE_DR6) 0 0 kvm_exit(WRITE_DR7) 0 0 kvm_fpu 0 0 kvm_hv_hypercall 0 0 kvm_hypercall 0 0 kvm_inj_exception 0 0 kvm_inj_virq 96 93 kvm_invlpga 0 0 kvm_ioapic_set_irq 198 192 kvm_mmio 314 308 kvm_msi_set_irq 0 0 kvm_msr 0 0 kvm_nested_intercepts 0 0 kvm_nested_intr_vmexit 0 0 kvm_nested_vmexit 0 0 kvm_nested_vmexit_inject 0 0 kvm_nested_vmrun 0 0 kvm_page_fault 317 308 kvm_pic_set_irq 200 192 kvm_pio 268 256 kvm_pv_eoi 0 0 kvm_set_irq 198 192 kvm_skinit 0 0 kvm_track_tsc 0 0 kvm_try_async_get_page 0 0 kvm_update_master_clock 0 0 kvm_userspace_exit 264 256 kvm_write_tsc_offset 0 0 vcpu_match_mmio 0 0 same img works fine on rhel6.5 host(not same model machine, though) /root/staf-kvm-devel/autotest-devel/client/tests/virt/qemu/qemu -monitor stdio \ -S \ -name 'virt-tests-vm1' \ -M rhel6.5.0 \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -device AC97,bus=pci.0,addr=03 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140110-173548-Ro3CYyds,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140110-173548-Ro3CYyds,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20140110-173548-Ro3CYyds,path=/tmp/seabios-20140110-173548-Ro3CYyds,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20140110-173548-Ro3CYyds,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \ -drive id=drive_image1,if=none,cache=unsafe,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/winXP-32-virtio.qcow2 \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \ -device virtio-net-pci,mac=9a:fd:fe:ff:00:01,id=idr2fFMH,netdev=idmTewsF,bus=pci.0,addr=06 \ -netdev tap,id=idmTewsF,vhost=on \ -m 4096 \ -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 \ -cpu 'Penryn',hv_relaxed \ -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \ -device ide-drive,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -rtc base=localtime,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -balloon virtio \ -global PIIX4_PM.disable_s3=0 \ -enable-kvm kernel-2.6.32-431.1.2.el6.x86_64 qemu-kvm-0.12.1.2-2.415.el6.x86_64 Attached trace file from debugfs, no knowing whether this helpful.