Bug 643345

Summary: netback does not properly get to the Connected state after it's been Closed [rhel-5.5.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernel-xenAssignee: Jiri Pirko <jpirko>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5CC: dhoward, jarod, jpirko, leiwang, llim, pbonzini, pm-eus, rkhan, xen-maint, yuzhang
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-194.28.1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-04 16:55:05 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:
Bug Depends On: 591548    
Bug Blocks:    

Description RHEL Program Management 2010-10-15 11:07:00 UTC
This bug has been copied from bug #591548 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 2 Jiri Pirko 2010-11-16 09:43:37 UTC
in kernel-2.6.18-194.28.1.el5

linux-2.6-virt-xen-fix-connected-state-after-netback-dev-closed.patch

Comment 4 Lei Wang 2010-12-07 10:08:06 UTC
Hi, Paolo

Would you please help to provide the more exact steps to reproduce this bug?

Comment 5 Paolo Bonzini 2010-12-07 10:40:24 UTC
You can install a Windows VM with PV drivers and disable then enable the PV network cards from Device Manager.  Without the patch the domain will hang after just a few tries and you will have to destroy the domain.  5 are enough to confirm the bug is verified.

Comment 6 Lei Wang 2010-12-08 02:17:48 UTC
Hi, Paolo, thanks for your clarification.

Tested with:
i386 and x86_64 host
Win2008-64 guest
Win2003-32 guest

component version:
xen-3.0.3-120.el5
xenpv-win-1.3.1-1.el5

Steps:
1. install xenpv-win-1.3.1-1 on Windows guest
2. disable then enable the PV NIC from Device Manager
3. repeat step2

Reproduced the bug with kernel-xen-2.6.18-194.el5:
For Win2003-32 guest, it takes one or two disable/enable cycles to make guest hang.
For Win2008-64 guest, it takes only one disable/enable cycle to make guest hang.

Verified the bug with kernel-xen-2.6.18-194.30.1.el5:
For both guests, disable/enable work smoothly, and after five disable/enable cycles the guests still work fine without hang.

According the test result above, move to VERIFIED.

Comment 8 errata-xmlrpc 2011-01-04 16:55:05 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0004.html