From: Andrew Morton <akpm@linux-foundation.org>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Jiri Slaby <jirislaby@gmail.com>,
Dave Young <hidave.darkstar@gmail.com>,
johannes@sipsolutions.net, tomasw@gmail.com,
linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
ath5k-devel@venema.h4ckr.net, me@bobcopeland.com,
linville@tuxdriver.com, stable@kernel.org
Subject: Re: [PATCH] ath5k : ath5k_config_interface deadlock fix
Date: Fri, 1 Aug 2008 01:14:15 -0700 [thread overview]
Message-ID: <20080801011415.ff4821a3.akpm@linux-foundation.org> (raw)
In-Reply-To: <4892C359.9000304@cs.helsinki.fi>
On Fri, 01 Aug 2008 11:03:37 +0300 Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> Jiri Slaby wrote:
> > Dave Young napsal(a):
> >> In the drivers/net/wireless/ath5k/base.c, there's recursive locking of
> >> sc->lock
> >> This casue the kernel stuck
> >>
> >> Bug report please see:
> >> http://lkml.org/lkml/2008/7/29/32
> >>
> >> Fixed it by remove the lock in sub routine "ath5k_beacon_update",
> >> The ath5k_config_interface is the only caller to it.
> >>
> >> [ 171.430207] =============================================
> >> [ 171.432140] [ INFO: possible recursive locking detected ]
> >> [ 171.433113] 2.6.27-rc1-smp #4
> >> [ 171.434079] ---------------------------------------------
> >> [ 171.435039] ath5k_pci/2447 is trying to acquire lock:
> >> [ 171.435990] (&sc->lock){--..}, at: [<f89ee9b5>]
> >> ath5k_config_interface+0xd5/0x340 [ath5k]
> >> [ 171.437046] [ 171.437048] but task is already holding lock:
> >> [ 171.438903] (&sc->lock){--..}, at: [<f89ee91d>]
> >> ath5k_config_interface+0x3d/0x340 [ath5k]
> >> [ 171.439953] [ 171.439954] other info that might help us debug this:
> >> [ 171.441795] 3 locks held by ath5k_pci/2447:
> >> [ 171.442729] #0: ((name)){--..}, at: [<c013a122>]
> >> run_workqueue+0x102/0x1d0
> >> [ 171.443800] #1: (&(&local->scan_work)->work){--..}, at:
> >> [<c013a122>] run_workqueue+0x102/0x1d0
> >> [ 171.444859] #2: (&sc->lock){--..}, at: [<f89ee91d>]
> >> ath5k_config_interface+0x3d/0x340 [ath5k]
> >
> > Should be fixed already:
> > http://git.kernel.org/?p=linux/kernel/git/linville/wireless-2.6.git;a=commitdiff_plain;h=bc05116ab33d30342e2b4b1bcc6d6e1184e9df97
>
> I guess that didn't make it to -stable?
(cc stable!)
next prev parent reply other threads:[~2008-08-01 8:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-01 7:46 [PATCH] ath5k : ath5k_config_interface deadlock fix Dave Young
2008-08-01 8:01 ` Jiri Slaby
2008-08-01 8:03 ` Pekka Enberg
2008-08-01 8:14 ` Andrew Morton [this message]
2008-08-01 13:43 ` Bob Copeland
2008-08-01 15:02 ` Jiri Slaby
2008-08-01 15:21 ` Jiri Slaby
2008-08-01 15:21 ` [ath5k-devel] " Alan Jenkins
2008-08-01 15:25 ` git-describe [Was: ath5k_config_interface deadlock fix] Jiri Slaby
2008-08-01 16:11 ` Alan Jenkins
2008-08-01 15:23 ` [PATCH] ath5k : ath5k_config_interface deadlock fix Bob Copeland
2008-08-01 16:28 ` [ath5k-devel] " Alan Jenkins
2008-08-04 3:02 ` Dave Young
2008-08-04 8:06 ` Jiri Slaby
2008-08-04 9:02 ` Dave Young
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=20080801011415.ff4821a3.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=ath5k-devel@venema.h4ckr.net \
--cc=hidave.darkstar@gmail.com \
--cc=jirislaby@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=me@bobcopeland.com \
--cc=penberg@cs.helsinki.fi \
--cc=stable@kernel.org \
--cc=tomasw@gmail.com \
/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).