Bug 702573

Summary: RHEL 6.1 guest fails to resume after suspend to disk
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: qemu-kvmAssignee: Gleb Natapov <gleb>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: amit.shah, balkov, bcao, ehabkost, jkachuck, knoel, mkenneth, syeghiay, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-24 08:13:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 684953    
Attachments:
Description Flags
guest xml file none

Description IBM Bug Proxy 2011-05-06 07:40:15 UTC
---Problem Description---
rhel 6.1 snap4 guest fails to resume after suspend to disk

 
---uname output---
2.6.32-131.0.1.el6.x86_64
 
Machine Type = hs22 
 
 ---Steps to Reproduce---
 1)boot up rhel6.1  guest
2) suspend to disk, using the following command
echo disk > /sys/power/state
3) boot up the guest again
resume fails to boot up the guest with a blank screen

Userspace tool common name: qemu-kvm 


Kernel version:
2.6.32-131.0.1.el6.x86_64
Qemu version:
qemu-kvm-0.12.1.2-2.158.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.158.el6.x86_64
Guest OS: RHEL 6.1 32bit guest
Guest OS Image storage type: block device
Host Machine Type: hs22
Test Type: manual
Qemu Command Line:
 /usr/libexec/qemu-kvm -S -M rhel6.1.0 -enable-kvm -m 3000 -smp 2,sockets=2,cores=1,threads=1 -name vm_01 -uuid 8d095bf8-b064-e2e5-5ce9-fb0578883669 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm_01.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -boot c -drive file=/var/lib/libvirt/images/r6.1-snap4.raw,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=threads -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:4e:33:71,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:10 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5


logs
------
guest xml file

Machine details : 
-------------------
Architecture : x86_64

Machine : IBM HS22 Blade server

OS : RHEL6.1 Snap5

Comment 1 IBM Bug Proxy 2011-05-06 07:40:20 UTC
Created attachment 497299 [details]
guest xml file

Comment 3 IBM Bug Proxy 2011-05-11 06:50:27 UTC
------- Comment From pradeepkumars.com 2011-05-11 02:44 EDT-------
hello redhat

hit this issue on RC2 also.
any updates?

--Pradeep

Comment 4 Mike Cao 2011-05-11 07:21:26 UTC
Hello,IBM

According to bug 609286 ._Linux_ virtio drivers do not support
power management now . Windows virtio drivers support it.

Could you try RHEL6.1 RC guest with IDE disk /e1000 nic /balloon=none ?

Thanks,
Mike

Comment 5 IBM Bug Proxy 2011-05-11 08:41:16 UTC
------- Comment From pradeepkumars.com 2011-05-11 04:34 EDT-------
(In reply to comment #6)
> Hello,IBM
>
> According to bug 609286 ._Linux_ virtio drivers do not support
> power management now . Windows virtio drivers support it.
>
> Could you try RHEL6.1 RC guest with IDE disk /e1000 nic /balloon=none ?
>

Hello Mike

I tried with ide, e1000.  Still i hit this issue on RC2 build

--Pradeep

Comment 6 IBM Bug Proxy 2011-05-23 09:10:29 UTC
------- Comment From pradeepkumars.com 2011-05-23 05:04 EDT-------
Hello Redhat

ANy updates?

--Pradeep

Comment 8 Gleb Natapov 2011-05-31 19:04:02 UTC
(In reply to comment #5)
> ------- Comment From pradeepkumars.com 2011-05-11 04:34 EDT-------
> (In reply to comment #6)
> > Hello,IBM
> >
> > According to bug 609286 ._Linux_ virtio drivers do not support
> > power management now . Windows virtio drivers support it.
> >
> > Could you try RHEL6.1 RC guest with IDE disk /e1000 nic /balloon=none ?
> >
> 
> Hello Mike
> 
> I tried with ide, e1000.  Still i hit this issue on RC2 build
> 
What was your command line with ide and e1000?

Comment 9 IBM Bug Proxy 2011-06-24 07:10:24 UTC
------- Comment From pradeepkumars.com 2011-06-24 03:07 EDT-------
Hello Redhat

It works now.  . we can close the bug

Thanks
--Pradeep