[Jaunty] SRU modprobe -r iwl3945 causes total system freeze

Stefan Bader stefan.bader at canonical.com
Thu Jul 2 09:40:01 UTC 2009


SRU Justification:

Impact: Removing the iwl3945 module can cause a hard lockup of the system as 
there is a race condition which might get the rfkill_poll workqueue 
restarted/running after the module code has been unloaded.

Fix: Two patches from upstream, the first moving the call that restarts the 
workqueue on the way down to be executed before stopping the workqueue. The 
second patch makes the call stopping the workqueue wait for any running worker.

Testcase: Removing and loading the module in a loop (has been verified to be 
working after the patches being applied).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iwl3945-release-resources-before-shutting-down.patch
Type: text/x-diff
Size: 1619 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090702/1bbd7d5e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-iwl3945-use-cancel_delayed_work_sync-to-cancel-rfki.patch
Type: text/x-diff
Size: 1410 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090702/1bbd7d5e/attachment-0001.patch>


More information about the kernel-team mailing list