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:
Created attachment 317098 [details] Patch to fix rmmod hang
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.
in kernel-2.6.18-118.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5
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