Bug 683730

Summary: guest hangs when boot with -spice
Product: Red Hat Enterprise Linux 6 Reporter: Chao Yang <chayang>
Component: spice-serverAssignee: Uri Lublin <uril>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: bcao, dblechte, juzhang, michen, mkenneth
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-10 09:49:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
guest hangs
none
guest hangs none

Description Chao Yang 2011-03-10 08:07:24 UTC
Created attachment 483379 [details]
guest hangs

Description of problem:
Boot a rhel6.1 guest with -spice option, guest hangs when creating login shell and monitor reports "handle_dev_input: oom current 0 pipe 26"
Version-Release number of selected component (if applicable):
# rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.150.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.150.el6.x86_64
gpxe-roms-qemu-0.9.7-6.4.el6.noarch
qemu-kvm-debuginfo-0.12.1.2-2.150.el6.x86_64
qemu-img-0.12.1.2-2.150.el6.x86_64


# rpm -qa|grep spice-server
spice-server-0.8.0-1.el6.x86_64
spice-server-debuginfo-0.8.0-1.el6.x86_64

# uname -r
2.6.32-118.el6.x86_64

CLI:
/usr/libexec/qemu-kvm -M rhel6.1.0 -enable-kvm -m 4096 -smp 2 -cpu cpu64-rhel6 -name rhel -uuid 86f019ad-744f-4c02-974e-4c3831365c0a -rtc base=localtime,clock=vm,driftfix=slew -no-kvm-pit-reinjection -boot c -drive file=/root/test.raw,if=none,id=drive-ide0-0-0,media=disk,format=raw,cache=none,werror=stop,rerror=stop -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet1 -device rtl8139,netdev=hostnet1,id=net1,mac=52:54:40:e4:37:53 -usb -device usb-tablet,id=input1 -spice disable-ticketing,port=5990 -vga qxl -monitor stdio -balloon none

How reproducible:
3/3

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Guest hangs, will attach screenshots.

Expected results:
Guest boot correctly.

Additional info:
Guest boot correctly with vnc.

Comment 1 Chao Yang 2011-03-10 08:08:46 UTC
Created attachment 483380 [details]
guest hangs

Comment 3 Chao Yang 2011-03-10 08:27:46 UTC
Here is what I get in monitor on xorg-x11-drv-qxl-0.0.12-5.el6.x86_64:
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
handle_dev_input: oom current 0 pipe 26
red_wait_outgoing_item: blocked
red_wait_outgoing_item: blocked
handle_dev_destroy_surfaces: 
red_wait_outgoing_item: blocked
red_wait_outgoing_item: blocked
handle_dev_destroy_surfaces: 
red_wait_outgoing_item: blocked
red_wait_outgoing_item: blocked
flush_display_commands: update timeout

And I downgraded xorg-x11-drv-qxl, guest also hangs.
# rpm -qa|grep xorg-x11-drv-qxl
xorg-x11-drv-qxl-0.0.12-2.1.el6.x86_64

Comment 4 Uri Lublin 2011-03-10 09:49:21 UTC

*** This bug has been marked as a duplicate of bug 678208 ***