Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 462743

Summary: libata: rmmod pata_sil680 never returns from ata_port_detach
Product: Red Hat Enterprise Linux 5 Reporter: David Milburn <dmilburn>
Component: kernelAssignee: David Milburn <dmilburn>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: high    
Version: 5.3CC: mgahagan
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 19:50:51 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
Patch to fix rmmod hang none

Description David Milburn 2008-09-18 17:08:46 UTC
Description of problem:

When removing sata driver ata_port_detach uses cancel_rearming_delayed_work()
which may spin in cancel_rearming_delayed_workqueue if there is no pending
timer to deactivate.

Version-Release number of selected component (if applicable):

2.6.18-115.el5

How reproducible:

Frequent

Steps to Reproduce:
1. Boot system
2. rmmod pata_sil680
3.
  
Actual results:

Never returns from rmmod

Expected results:

Driver unloads properly


Additional info:

Comment 1 David Milburn 2008-09-18 17:09:48 UTC
Created attachment 317098 [details]
Patch to fix rmmod hang

Comment 2 RHEL Program Management 2008-09-18 17:35:52 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Don Zickus 2008-10-06 15:56:22 UTC
in kernel-2.6.18-118.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 7 errata-xmlrpc 2009-01-20 19:50:51 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-2009-0225.html