Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
As subject, found this bug when replied bug 949900.
According to Bug 1111107 that Q35 is no longer "tech preview" in RHEL7.x and is simply now unsupported (it will only be in qemu-kvm-rhev). And checked with Amit in IRC that both (q35 and s3/s4) are techpreview, S3/S4 was enable by default under Q35 chipset which no need to sepcify "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0" in qemu-kvm command line.
Version-Release number of selected component (if applicable):
# uname -r && rpm -q qemu-kvm-rhev
3.10.0-211.el7.x86_64
qemu-kvm-rhev-2.1.2-14.el7.x86_64
guest info:
win7 64bit
How reproducible:
100%
Steps to Reproduce:
1.Launch a win7 KVM guest with "spice + qxl" under Q35 chipset.
2.Hit the 'Sleep' button to do S3 in guest.
3.input system_reset or press any keyboard to resume the VM.
Actual results:
after step 2, it can sleep successfully.
(qemu) info status
VM status: paused (suspended)
after step 3, it fail to resume(guest will BSOD).
Expected results:
It should can resume from S3 successfully.
Additional info:
# /usr/libexec/qemu-kvm -S -M q35 -cpu SandyBridge -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection -name sluo-test -uuid ed09fa10-6ffe-4811-a42f-0294afcb5a42 -rtc base=localtime,clock=host,driftfix=slew -drive file=/home/win7-64-sp1-virtio.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-blk-pci,drive=drive-system-disk,id=system-disk,bus=pcie.0,addr=0x04,bootindex=1 -netdev tap,id=hostnet0,vhost=off,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:0d:b1,bus=pcie.0,addr=0x5,bootindex=2 -balloon none -usb -device usb-tablet,id=input0 -serial unix:/tmp/ttyS0,server,nowait -qmp tcp:0:4444,server,nowait -k en-us -boot menu=on -spice disable-ticketing,port=5931 -vga qxl -monitor stdio
I have configured the generating dump file in windows but it fail to generate it, so i only can provide the BSOD screenshot here.
append my win7 guest driver version:
virtio-win-prewhql-0.1-93
qxl-win-0.1-20
Best Regards,
sluo
(In reply to Marcel Apfelbaum from comment #6)
> Hi,
>
> This is a relatively old BZ.
> Can you please verify if we still have this problem with the latest qemu /
> qxl ?
>
> Thanks!
> Marcel
I tested with the latest version until now and we still have this issue.
Versions:
Host:
Kernel: 3.10.0-325.el7.x86_64
qemu-kvm-rhev: qemu-kvm-rhev-2.3.0-31.el7.x86_64
Guest:
win7-64bit
Steps:
Same steps with Description.
(In reply to Vadim Rozenfeld from comment #10)
> Can we please reproduce the problem with the latest driver and upload the
> relevant crash dump file?
>
> Thanks,
> Vadim.
Can reproduced the issue with latest version
kernel-3.10.0-350.el7.x86_64
qemu-kvm-rhev-2.3.0-31.el7_2.7.x86_64
The crash dump file didn't generate, following is the method for collecting the dump file
1. Right-click My Computer, and then click Properties.
2. Click the Advanced tab.
3. Under Startup and Recovery, click Settings.
4. Make sure that Kernel memory dump or Complete memory dump is selected under Writing Debugging Information.
5. You can change the location of the memory dump file to a different local partition if you do not have sufficient room on the partition where the operating system is installed.
6. In Registry Editor, locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
7. Right-click CrashControl, point to New, and then click DWORD Value.
8. Type NMICrashDump, and then press ENTER.
9. Right-click NMICrashDump, and then click Modify.
10. In the Value data box, type 1, and then click OK.
11. Restart the computer.
The problem is the driver fails to find its virt queue after resuming from s3. This cause a crash when virtqueue_add_buf is called with NULL argument.
The solution to this problem should involves qemu and/or seabios.