public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Alan Jenkins <sourcejedi.lkml@googlemail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFT v9] rfkill: rewrite
Date: Wed, 13 May 2009 14:48:54 -0700	[thread overview]
Message-ID: <43e72e890905131448l321b90c7i7373b1e1b24eb71c@mail.gmail.com> (raw)
In-Reply-To: <1242225507.9913.0.camel@johannes.local>

On Wed, May 13, 2009 at 7:38 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Wed, 2009-05-13 at 15:36 +0100, Alan Jenkins wrote:
>
>> >> <http://picasaweb.google.com/sourcejedi.lkml/Screenshots#53349368=
57267342674>
>> >>
>> >> The kernel then hangs later on in the boot process. =C2=A0It resp=
onds to
>> >> SysRq, but does not echo normal keypresses. =C2=A0SysRq+P shows t=
hat the
>> >> kernel is in the idle task. =C2=A0I left it for three minutes, bu=
t I didn't
>> >> get any trace from the hung task detector or soft lockup detector=
=2E
>> >>
>> >> At first I thought it must be a problem with wireless-testing.
>> >> However, it went away when I eventually tried un-applying the rfk=
ill
>> >> rewrite patch.
>> >
>> > Confusing, but I think the stacktrace is just bogus. Can you recom=
pile
>> > your kernel with CONFIG_FRAME_POINTER please?
>>
>> Nope, cos it's already enabled :-).
>
> Damn, I had hoped to get relevant information. I really don't see how
> rfkill could cause a problem in regulatory code, let's ask Luis.

I'd review the code but its easier to just ask for now -- do you use
the global workqueue ? Anyway -- the more jammed up the global
workqueue is the more likely it is that last_request will not be
populated before a driver comes around with they custom reg request.
The stupid solution is to check for last_request. The right solutions
it to flush the global workqueue which I have just addressed.

Mind you I think its now worth considering adding our own workqueue to
cfg80211 so we don't have to flush every damn thing on the global
workqueue on the core initialization but I figured that can be done in
a separate series as we need to address stable as well.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-05-13 21:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11  8:31 [RFT v9] rfkill: rewrite Johannes Berg
2009-05-12 14:09 ` Alan Jenkins
2009-05-13 10:49   ` Johannes Berg
2009-05-13 14:36     ` Alan Jenkins
2009-05-13 14:38       ` Johannes Berg
2009-05-13 21:48         ` Luis R. Rodriguez [this message]
2009-05-13 21:45   ` Luis R. Rodriguez
2009-05-14  9:02     ` Alan Jenkins
2009-05-14  9:08       ` Johannes Berg
2009-05-14  9:58         ` Alan Jenkins
2009-05-14 10:00           ` Johannes Berg
2009-05-14  4:34   ` Luis R. Rodriguez
2009-05-14  8:24     ` Alan Jenkins
2009-05-12 17:26 ` Will Keaney
2009-05-12 17:52   ` Johannes Berg
2009-05-12 17:59   ` Dan Williams
2009-05-12 18:04     ` Johannes Berg
2009-05-12 18:09       ` Will Keaney
2009-05-12 18:13         ` Johannes Berg
2009-05-13 21:40       ` Henrique de Moraes Holschuh
2009-05-13 22:19         ` Johannes Berg
2009-05-15  1:27           ` Henrique de Moraes Holschuh
2009-05-15  8:23             ` Johannes Berg
2009-05-18 11:00         ` Henrique de Moraes Holschuh
2009-05-19 12:12           ` Johannes Berg
2009-05-19 18:24             ` Henrique de Moraes Holschuh

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=43e72e890905131448l321b90c7i7373b1e1b24eb71c@mail.gmail.com \
    --to=mcgrof@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sourcejedi.lkml@googlemail.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