Bug 1185721
| Summary: | win7 guest (boot with q35) show dark screen after do S3 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | langfang <flang> | ||||
| Component: | seabios | Assignee: | Marcel Apfelbaum <marcel> | ||||
| Status: | CLOSED ERRATA | QA Contact: | aihua liang <aliang> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 7.2 | CC: | ailan, chayang, hhuang, juzhang, marcel, michen, qzhang, sluo, virt-maint | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | seabios-1.9.1-2.el7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-11-04 00:26:06 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1170440, 1227278 | ||||||
| Attachments: |
|
||||||
|
Description
langfang
2015-01-26 06:20:32 UTC
Looks like a seabios bug. The bios is doesn't have a code which restores the ich9 pci device state after s3 state. A solution has been submitted upstream: http://www.seabios.org/pipermail/seabios/2016-February/010543.html *** Bug 1170440 has been marked as a duplicate of this bug. *** Fix included in seabios-1.9.1-2.el7 The verification is blocked,for win7-sp1 can't support hibernation.
Verified Version:
kernel version:3.10.0-496.el7.x86_64
qemu-kvm-rhev version:qemu-img-rhev-2.6.0-22.el7.x86_64
seabios version:seabios-1.9.1-4.el7.x86_64
guest iso:en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso
Verified Steps:
1. Start Win7 guest using cmd:
/usr/libexec/qemu-kvm -name rhel7 \
-machine q35,accel=kvm,usb=off,vmport=off \
-cpu host \
-m 3072 \
-realtime mlock=off \
-smp 8,sockets=64,maxcpus=240 \
-uuid 1534fa42-4818-4493-9f67-eee5ba758385 \
-no-user-config -nodefaults \
-chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/test1,server,nowait \
-mon chardev=qmp_id_catch_monitor,id=monitor,mode=control \
-no-hpet \
-boot menu=on,splash-time=6000 \
-vga qxl \
-global qxl-vga.vram_size=67108864 -global qxl-vga.revision=3 \
-vnc 0:3 \
-spice ipv4,port=5000,disable-ticketing \
-enable-kvm \
-monitor stdio \
-global ICH9-LPC.disable_s3=0 \
-netdev tap,id=hostnet10 \
-device virtio-net-pci,netdev=hostnet10,id=net10,mac=50:54:00:49:b2:5f,disable-legacy=off,disable-modern=off \
-device virtio-scsi-pci,id=scsi0,disable-legacy=off,disable-modern=off \
-device ahci,id=ahci0 \
-drive file=/home/img/win7_scsi.qcow2,if=none,id=drive-ide-1,media=disk,format=qcow2,cache=none,aio=native \
-device scsi-hd,drive=drive-ide-1,id=scsi0-0,bus=scsi0.0,bootindex=1 \
2. Run cmd:powercfg -h on
Actual Result:
Guest do S3 failed with error mesg:
Hibernation failed with following error:The request is not supported.
System firmware doesn't support hibernation.
Expected Result:
Guest can do S3 success.
Question:
According to the google info, it's related to graphic driver. Is that right? Can you give me some advice, thanks.
Additional info:
When do S3 on RHEL6.8-32bit, screen still show dark black(pc+s3).
Created attachment 1197840 [details]
Hibernation not support on Win7-sp1 guest
Has verified, it has been resolved on win7-sp1,so change its status to "Verified" Verified Version: Kernel Version:3.10.0-500.el7.x86_64 qemu-kvm-version:qemu-kvm-rhev-2.6.0-22.el7.x86_64 OVMF Version:OVMF-20160608-3.git988715a.el7.noarch Verified Steps: 1.Start guest with cmds: /usr/libexec/qemu-kvm \ -enable-kvm \ -M q35 \ -m 4G \ -smp 4 \ -uuid `uuidgen` -nodefaults -rtc base=utc \ -drive file=/home/73test/script/seabios/img/win7-64-sp1.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,serial=QEMU-DISK1 \ -device ide-hd,drive=drive-system-disk,id=sytem-disk \ -monitor stdio \ -boot menu=on,order=d \ -qmp tcp:0:4447,server,nowait \ -device virtio-balloon-pci,bus=pcie.0,id=balloon0 \ -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pcie.0,addr=0x8 \ -chardev socket,id=channel0,path=/tmp/testfile2,server,nowait \ -device virtserialport,chardev=channel0,name=org.linux-kvm.port.0,bus=virtio-serial0.0,id=port1 \ -netdev tap,id=hostnet0,script=/etc/qemu-ifup \ -device virtio-net-pci,netdev=hostnet0,mac=00:10:20:2d:39:23,bus=pcie.0,addr=0x4,id=net0 \ -spice port=5000,disable-ticketing \ -vga qxl \ -vnc 0:2 \ -global ICH9-LPC.disable_s3=0 \ -drive file=/home/kvm_autotest_root/iso/windows/virtio-win-1.8.0-4.iso,if=none,cache=none,snapshot=off,aio=native,media=cdrom,id=cdrom2 \ -device ide-cd,drive=cdrom2,id=ide-cd3,bus=ide.0 \ -drive file=/home/kvm_autotest_root/iso/windows/winutils.iso,if=none,cache=none,snapshot=off,aio=native,media=cdrom,id=cdrom3 \ -device ide-cd,drive=cdrom3,id=ide-cd4,bus=ide.1 \ 2.Install QXL driver for win7. 3.Set power policy on win7 guest---sleep after 1 minute. 4.Wait until guest sleep,then check vm status:(qemu)info status--suspend 5.Wake up vm, check its status:(qemu)info status ---running Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2207.html |