linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Fietkau <nbd@openwrt.org>
To: Jaswinder Singh <jaswinderlinux@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>,
	ath9k-devel@lists.ath9k.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	shafi.wireless@gmail.com,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: ath9k crashing the kernel
Date: Tue, 26 Oct 2010 14:28:56 +0200	[thread overview]
Message-ID: <4CC6C988.4070706@openwrt.org> (raw)
In-Reply-To: <AANLkTikHTgoJyxm80MuXM9oTvCPTFAPM12zVih1RsTfy@mail.gmail.com>

On 2010-10-26 9:09 AM, Jaswinder Singh wrote:
>> ath9k is crashing the kernel :
>>
>> [   21.276554] BUG: spinlock bad magic on CPU#1, NetworkManager/1056
>> [   21.277015]  lock: f5be80a8, .magic: 00000000, .owner: <none>/-1,
>> .owner_cpu: 0
>> [   21.277015] Pid: 1056, comm: NetworkManager Not tainted 2.6.36-netbook+ #20
>> [   21.277015] Call Trace:
>> [   21.277015]  [<c14767a7>] ? printk+0xf/0x11
>> [   21.277015]  [<c117b823>] spin_bug+0x7c/0x87
>> [   21.301365]  [<c117b8bd>] do_raw_spin_lock+0x1e/0x125
>> [   21.301365]  [<c1478d0a>] ? _raw_spin_unlock_bh+0x1a/0x1c
>> [   21.301365]  [<c1478dc3>] _raw_spin_lock_irqsave+0x17/0x1c
>> [   21.318857]  [<c1288a74>] ath9k_config+0x255/0x38b
>> [   21.318857]  [<c1447bdb>] ieee80211_hw_config+0x10a/0x114
>> [...]
>>
>> Linux 2.6.36 f6f94e2ab1 is good
>> and
>> 229aebb873e2972 is bad
>>
> 
> After further investigation bad commit is :
> 
> 3430098ae463e31ab16926ac3eb295368a3ca5d9 is the first bad commit
> commit 3430098ae463e31ab16926ac3eb295368a3ca5d9
> Author: Felix Fietkau <nbd@openwrt.org>
> Date:   Sun Oct 10 18:21:52 2010 +0200
> 
>     ath9k: implement channel utilization stats for survey
> 

This should already be fixed in wireless-testing by the following commit

commit 20b25744d1366762c6878d3254f93973cafe1f8e
Author: Ben Greear <greearb@candelatech.com>
Date:   Fri Oct 15 15:04:09 2010 -0700

    ath9k: Properly initialize ath_common->cc_lock.


- Felix

      reply	other threads:[~2010-10-26 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  5:06 ath9k crashing the kernel Jaswinder Singh
     [not found] ` <AANLkTikhobjg6B-yyCbCRR0mQPonUYGJ0nj0mkSgFtjA@mail.gmail.com>
2010-10-26  6:05   ` Mohammed Shafi
2010-10-26  7:09 ` Jaswinder Singh
2010-10-26 12:28   ` Felix Fietkau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC6C988.4070706@openwrt.org \
    --to=nbd@openwrt.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=jaswinderlinux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=shafi.wireless@gmail.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).