Bug 696074 - Guest can't resume from S4 state
Summary: Guest can't resume from S4 state
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Alon Levy
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 08:09 UTC by Xiaoqing Wei
Modified: 2013-01-09 23:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-14 12:14:01 UTC
Target Upstream Version:


Attachments (Terms of Use)
qxl winXp unable to resume from s4 (12.56 KB, image/png)
2011-04-13 08:09 UTC, Xiaoqing Wei
no flags Details
win7 trace info.hope it will help (713.03 KB, application/x-bzip)
2011-04-13 08:11 UTC, Xiaoqing Wei
no flags Details
top && kvm_stat info (2.18 KB, text/plain)
2011-04-13 11:18 UTC, Xiaoqing Wei
no flags Details

Description Xiaoqing Wei 2011-04-13 08:09:02 UTC
Created attachment 491675 [details]
qxl winXp unable to resume from s4

Description of problem:
Guest can't resume from S4 state.

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.156.el6.x86_64
vgabios-0.6b-3.6.el6.noarch
How reproducible:
mostly

Steps to Reproduce:
1. 
qemu-kvm ... -drive file='winXP-32-virtio.qcow2',index=0,if=none,id=drive-ide0-0-0, -device ide-drive -device -m 4096 -smp 2,cores=1,threads=1,sockets=2  -cpu cpu64-rhel6,+sse2,+x2apic -spice port=8000,disable-ticketing  -rtc base=localtime,clock=host,driftfix=none -M rhel6.1.0 -boot order=cdn,once=c,menu=off   -usbdevice tablet -enable-kvm -vga qxl
2. inside guest:
do S4, after a while,guest shutdown .
3.use same cmd as step 1 to resume guest,will lead two 
  1)guest will sometimes stuck at "resuming windows" ,just freeze.qemu-kvm process remains but no output anything.

  2)or qemu-kvm process crashed and output:
"""
(qemu) spice_server_add_interface: SPICE_INTERFACE_TABLET
handle_dev_input: mouse mode 2
id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0
validate_virt: panic: virtual address out of range
    virt=0x0+0x300000 slot_id=1 group_id=1
    slot=0x0-0x0 delta=0x0
Aborted

"""

  
Actual results:
two results :
   1.guest freeze 
   2.qemu-kvm crashed.

Expected results:
guest resume from S4 successfully.

Additional info:
host:
kernel-2.6.32-130.el6.x86_64
qemu-kvm-0.12.1.2-2.156.el6.x86_64
vgabios-0.6b-3.6.el6.noarch
spice-server-0.8.0-1.el6.x86_64

RAM: 12GB

cpuinfo:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping	: 5
cpu MHz		: 1596.000
cache size	: 4096 KB


guest:
qxl-driver : 0.1-4 from brew
guest OS WinXP-32bit/ win7-32bit




Drop  "-vga qxl" from cmd and do the same operation,does  NOT triggered .

Comment 1 Xiaoqing Wei 2011-04-13 08:11:04 UTC
Created attachment 491676 [details]
win7 trace info.hope it will help

Comment 3 Xiaoqing Wei 2011-04-13 11:18:34 UTC
Created attachment 491724 [details]
top && kvm_stat info

Comment 5 Alon Levy 2011-05-22 14:30:53 UTC
I don't have an option to do S4 with my virtual machine, what bios did you use? also, I'm not sure we need to support this.

Alon

Comment 6 Xiaoqing Wei 2011-05-23 01:26:15 UTC
(In reply to comment #5)
Hi Alon,

I use seabios-0.6.1.2-3.el6 when met this issue. 

Xiaoqing

Comment 9 David Blechter 2012-08-07 12:56:14 UTC
it is currently disabled in seabios due to the number of S3/S4 related bugs.
it is a plan to fix and enable back S3/S4 in the seabios.
https://bugzilla.redhat.com/show_bug.cgi?id=839674 and https://bugzilla.redhat.com/show_bug.cgi?id=761491

Can the reporter reproduce the bug with the latest qxl driver with the fixes of the listed above bugs?

Comment 10 Xiaoqing Wei 2012-08-08 03:04:33 UTC
(In reply to comment #9)
> it is currently disabled in seabios due to the number of S3/S4 related bugs.
> it is a plan to fix and enable back S3/S4 in the seabios.
> https://bugzilla.redhat.com/show_bug.cgi?id=839674 and
> https://bugzilla.redhat.com/show_bug.cgi?id=761491
> 
> Can the reporter reproduce the bug with the latest qxl driver with the fixes
> of the listed above bugs?

Hi David,

I tried WinXP.32 with latest qxl driver 5.1.0.10012(the one shipped with virtio-win-1.5.3),

for 20 rounds of guest S4,
Didn't reproduce this issue

Thanks,
Xiaoqing.

Comment 11 Alon Levy 2012-08-13 12:54:26 UTC
Hi Xiaoqing,

 So can you close this bug?

Alon

Comment 12 Xiaoqing Wei 2012-08-14 02:38:14 UTC
(In reply to comment #11)
> Hi Xiaoqing,
> 
>  So can you close this bug?
> 
> Alon

Hi Alon,

Sure I can close this bug, but I dont know which is the exactly version of qxl driver fixes this bug,
can I just fill virtio-win-1.5.3 in the "Fixed In Version:" and change the product to "virtio-win" ?


Regards,
Xiaoqing.

Comment 13 Alon Levy 2012-08-14 08:35:06 UTC
Hi Xiaoqing,

 Hmm. I missed that 0.1-4 was the failed version. Unfortunately I don't have time to spend narrowing it down, so please do as you suggested, thanks.

Alon

Comment 14 David Blechter 2012-08-14 12:14:01 UTC
Hi Xiaoqing,

thanks for retesting. I close this bug based on your recommendations with CURRENTRELEASE
David


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