<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>185255</bug_id>
          
          <creation_ts>2007-07-14 00:38 0000</creation_ts>
          <short_desc>kernel-2.6.22 mac80211 deadlock bug and fix</short_desc>
          <delta_ts>2007-07-28 16:01:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://marc.info/?l=linux-wireless&amp;m=118436322132249&amp;w=2</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>seventhguardian@gmail.com</reporter>
          <assigned_to>dsd@gentoo.org</assigned_to>
          <cc>kernel@gentoo.org</cc>
    
    <cc>StormByte@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-07-14 00:38:14 0000</bug_when>
            <thetext>Hello,

There&apos;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&amp;m=118436322132249&amp;w=2

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

Cheers,
  Renato</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-07-22 04:48:01 0000</bug_when>
            <thetext>Thanks, will include in next release</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>StormByte@gmail.com</who>
            <bug_when>2007-07-23 12:17:17 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; Hello,
&gt; 
&gt; There&apos;s a bug in mac80211 (included recently in the 2.6.22 kernel) that can
&gt; cause some bad deadlocks. In my case I found the problem in iwlwifi in
&gt; conjunction with wpa_supplicant.
&gt; 
&gt; There is already a patch in wireless-dev that should be included in the
&gt; mainline kernel, but before it does the patch can be included in the
&gt; gentoo-kernel patchset.
&gt; 
&gt; The relevant thread is here:
&gt; http://marc.info/?l=linux-wireless&amp;m=118436322132249&amp;w=2
&gt; 
&gt; The patch that fixes it is here:
&gt; http://marc.info/?l=linux-wireless&amp;m=118309770324214&amp;q=p5
&gt; 
&gt; Cheers,
&gt;   Renato
&gt; 

Next version of vanilla&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-07-23 19:22:17 0000</bug_when>
            <thetext>No. We will backport the fix and mark 2.6.22 stable in the usual timeframe.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>StormByte@gmail.com</who>
            <bug_when>2007-07-23 20:07:10 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; No. We will backport the fix and mark 2.6.22 stable in the usual timeframe.
&gt; 

Ok, any possibility to have the other mac80211 usefull patches besides this one as well in next release?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-07-23 20:27:27 0000</bug_when>
            <thetext>bug fixes (which affect you): yes, file a bug
everything else: no</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-07-28 16:01:44 0000</bug_when>
            <thetext>Fixed in gentoo-sources-2.6.22-r2 (genpatches-2.6.22-3)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>