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.
Bug 1001616 - win7-64 guest bsod while enter s3/s4 state with virtio scsi
Summary: win7-64 guest bsod while enter s3/s4 state with virtio scsi
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virtio-win
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-27 12:04 UTC by mazhang
Modified: 2014-01-01 16:34 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-01 16:34:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of bsod (191.40 KB, image/png)
2013-08-28 03:18 UTC, mazhang
no flags Details
screenshot of bsod (s3) (212.97 KB, image/png)
2013-08-28 05:44 UTC, mazhang
no flags Details
memory dump of s4 (16.00 KB, text/plain)
2013-08-28 09:15 UTC, mazhang
no flags Details

Description mazhang 2013-08-27 12:04:34 UTC
Description of problem:
win7-64 guest bsod after do s4

Version-Release number of selected component (if applicable):
host:
qemu-kvm-0.12.1.2-2.398.el6.x86_64
kernel:2.6.32-414.el6.x86_64

guest: win7-64
virtio-win-prewhql-0.1-67


How reproducible:
100%

Steps to Reproduce:
1.CLI
#/usr/libexec/qemu-kvm \
-M pc \
-cpu Opteron_G4 \
-m 2G \
-smp 4,sockets=2,cores=2,threads=1,maxcpus=16 \
-enable-kvm \
-name win7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-no-kvm-pit-reinjection \
-monitor stdio \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-netdev tap,id=hostnet0,downscript=no,vhost=on \
-device virtio-net-pci,netdev=hostnet0,id=net0 \
-qmp tcp:0:6666,server,nowait \
-nodefconfig \
-nodefaults \
-drive file=/home/win7-64.raw,if=none,id=drive-scsi-disk,format=raw,cache=none,werror=stop,rerror=stop \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-disk,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk,bootindex=1 \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-vga qxl \
-spice port=5900,disable-ticketing \

2.start->shut down->hibernate


Actual results:
guest bsod

Expected results:
works well

Additional info:
will attach the dump file later.

Comment 2 mazhang 2013-08-27 12:25:20 UTC
virtio block cant hit this problem

Comment 4 mazhang 2013-08-28 03:17:07 UTC
1. It just happened with virtio scsi disk, if remove nic and use ide works well.

2. Guest didn't generate dump file, whatever set to 'Complete memory dump' 'Kernel memory dump' or 'minidump'

Comment 5 mazhang 2013-08-28 03:18:54 UTC
Created attachment 791235 [details]
screenshot of bsod

Comment 6 mazhang 2013-08-28 05:43:24 UTC
try enter s3 state with virtio scsi also hit this problem.

Comment 7 mazhang 2013-08-28 05:44:33 UTC
Created attachment 791259 [details]
screenshot of bsod (s3)

Comment 8 mazhang 2013-08-28 09:15:12 UTC
Created attachment 791285 [details]
memory dump of s4

Comment 9 mazhang 2013-08-28 09:17:50 UTC
dump file can't be write on disk, so boot guest with ide drive and attach a virtio scsi storage. 
guest enter s4 state , then qemu-kvm quit. boot guest again, guest bsod and got memory dump.
dump file has been analyze and attached in comment 8 .

Comment 12 Mike Cao 2013-08-30 06:57:57 UTC
Not sure whether it is related ,but could you try with -cpu Opteron_G4,family=0xe ?

Comment 13 mazhang 2013-08-30 07:08:58 UTC
still hit this problem with -cpu Opteron_G4,family=0xe.

Comment 15 Vadim Rozenfeld 2013-08-31 07:39:23 UTC
*** Bug 996951 has been marked as a duplicate of this bug. ***

Comment 16 Vadim Rozenfeld 2013-09-08 03:59:08 UTC
please re-check with build 69 available at https://brewweb.devel.redhat.com/buildinfo?buildID=293655

Thanks
Vadim.

Comment 17 mazhang 2013-10-09 03:08:29 UTC
Verify this bug with virtio-win-prewhql-0.1-72 .

[root@ibm-x3100m4-02 ~]# rpm -qa |grep qemu
qemu-kvm-0.12.1.2-2.409.el6.x86_64
qemu-kvm-debuginfo-0.12.1.2-2.409.el6.x86_64
qemu-img-0.12.1.2-2.409.el6.x86_64
gpxe-roms-qemu-0.9.7-6.9.el6.noarch
qemu-kvm-tools-0.12.1.2-2.409.el6.x86_64

CLI:
/usr/libexec/qemu-kvm \
-M pc \
-cpu SandyBridge \
-m 2G \
-smp 4,sockets=2,cores=2,threads=1,maxcpus=16 \
-enable-kvm \
-name win7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-no-kvm-pit-reinjection \
-monitor stdio \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-netdev tap,id=hostnet0,downscript=no,vhost=on \
-device e1000,netdev=hostnet0,id=net0 \
-qmp tcp:0:6666,server,nowait \
-nodefconfig \
-nodefaults \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-vga qxl \
-spice port=5900,disable-ticketing \
-drive file=/home/win7-64.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none,aio=threads \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
-drive file=/home/storage.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none,werror=stop,rerror=stop \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-disk,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk \


steps refer to comment#0 .

Guest s3/s4 works well, no bsod.

Comment 18 Vadim Rozenfeld 2013-10-09 04:35:33 UTC
Thanks,
Can we move it to verified?

Cheers,
Vadim.

Comment 19 Mike Cao 2013-10-09 05:15:42 UTC
Move status to VERIFIED based on comment#17


Note You need to log in before you can comment on or make changes to this bug.