Re: [PATCH wireless-2.6] rt2x00: fix rmmod crash
From: Stanislaw Gruszka <hidden>
Date: 2011-05-30 09:53:21
On Mon, May 30, 2011 at 08:24:12AM +0200, Gertjan van Wingerde wrote:
On 05/29/11 22:42, Stanislaw Gruszka wrote:quoted
On Sun, May 29, 2011 at 06:48:13PM +0200, Gertjan van Wingerde wrote:quoted
On 05/29/11 12:45, Stanislaw Gruszka wrote:quoted
Do not destroy workqueue, which still can be used by autowakeup_work, before ieee80211_unregister_hw() is called. Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>Could you add some details of the crash here, e.g. the stack trace of when this occurs, so that we can understand what is exactly happening that is causing the crash, for our education.Crash is in workqueue code in interrupt context, there is no indication about rt2x00 blame in the calltrace, but crash happen directly after rmmod rt73usb, here is a photo: https://bugzilla.kernel.org/attachment.cgi?id=59992OK. Thanks for the info. Could you create a v2 of the patch that: 1. Includes a reference to the bugzilla entry that the patch is resolving.
It does not solve the bugzilla, https://bugzilla.kernel.org/show_bug.cgi?id=32132 I put image there, because of temporally lack of opportunity to put it in some better place. Sorry.
2. Cc's the stable team.
It's not stable fix, this bug was introduced currently by
commit 1c0bcf89d85cc97a0d9ce4cd909351a81fa4fdde
Author: Ivo van Doorn [off-list ref]
Date: Sat Apr 30 17:18:18 2011 +0200
rt2x00: Add autowake support for USB hardware
Thanks
Stanislaw