Bug 12046
Summary: | circular locking dependency detected [ by iwlgan, on thinkpad x200] | ||
---|---|---|---|
Product: | Drivers | Reporter: | arrow zhang (arrow.ebd) |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | arrow.ebd, johannes, reinette.chatre, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28-rc5 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 11808 | ||
Attachments: | patch removing notify function |
Description
arrow zhang
2008-11-16 06:16:52 UTC
Commit db7fb86b0ca565cf3537401612581a8158025cc2 ? Well, that commit just tried to fix things... We've decided that it's invalid to call anything that needs the rtnl from the mac80211 provided workqueue, so iwlwifi (both iwlagn and iwl3945) will need to use schedule_work() here instead of queue_work(). To be honest, this notify thing is causing us trouble to no end for so little gain. I think we should just remove it again. There are two use cases for that notify (1) when the firmware crashed (2) at resume time (2) needs to be fixed differently to completely reinit the hardware, this notify function only works for station and ibss modes, not for an AP or mesh network or ... (1) is subject to the same conditions as (2), and as such should probably be implemented by power-cycling the hardware completely and unregistering all mac80211 state etc. after all, hopefully this is rare Why the driver is calling the notify function when it's starting up is beyond me, that seems entirely pointless. Created attachment 18882 [details]
patch removing notify function
Fine, the "circular warning message" is disappear, thanks. Should me "close" the bug list, OR do it when mainline have fixed it ? Fixed by commit 8e3bad65a59915f2ddc40f62a180ad81695d8440 . |