Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185255 - kernel-2.6.22 mac80211 deadlock bug and fix
Summary: kernel-2.6.22 mac80211 deadlock bug and fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://marc.info/?l=linux-wireless&m=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-14 00:38 UTC by Renato Caldas
Modified: 2007-07-28 16:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2007-07-14 00:38:14 UTC
Hello,

There's a bug in mac80211 (included recently in the 2.6.22 kernel) that can cause some bad deadlocks. In my case I found the problem in iwlwifi in conjunction with wpa_supplicant.

There is already a patch in wireless-dev that should be included in the mainline kernel, but before it does the patch can be included in the gentoo-kernel patchset.

The relevant thread is here:
http://marc.info/?l=linux-wireless&m=118436322132249&w=2

The patch that fixes it is here:
http://marc.info/?l=linux-wireless&m=118309770324214&q=p5

Cheers,
  Renato
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-07-22 04:48:01 UTC
Thanks, will include in next release
Comment 2 David Carlos Manuelda 2007-07-23 12:17:17 UTC
(In reply to comment #0)
> Hello,
> 
> There's a bug in mac80211 (included recently in the 2.6.22 kernel) that can
> cause some bad deadlocks. In my case I found the problem in iwlwifi in
> conjunction with wpa_supplicant.
> 
> There is already a patch in wireless-dev that should be included in the
> mainline kernel, but before it does the patch can be included in the
> gentoo-kernel patchset.
> 
> The relevant thread is here:
> http://marc.info/?l=linux-wireless&m=118436322132249&w=2
> 
> The patch that fixes it is here:
> http://marc.info/?l=linux-wireless&m=118309770324214&q=p5
> 
> Cheers,
>   Renato
> 

Next version of vanilla's kernel will include this patch and other things related to mac80211 too (packed injection, etc..).

I suggest waiting to kernel 2.6.23 to test, and never have 2.6.22 marked as stable.

See http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.23-rc1
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-07-23 19:22:17 UTC
No. We will backport the fix and mark 2.6.22 stable in the usual timeframe.
Comment 4 David Carlos Manuelda 2007-07-23 20:07:10 UTC
(In reply to comment #3)
> No. We will backport the fix and mark 2.6.22 stable in the usual timeframe.
> 

Ok, any possibility to have the other mac80211 usefull patches besides this one as well in next release?
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-07-23 20:27:27 UTC
bug fixes (which affect you): yes, file a bug
everything else: no
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-07-28 16:01:44 UTC
Fixed in gentoo-sources-2.6.22-r2 (genpatches-2.6.22-3)