netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Adrian Bunk <bunk@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28
Date: Fri, 20 Mar 2009 11:13:53 +0100	[thread overview]
Message-ID: <1237544033.5100.143.camel@johannes.local> (raw)
In-Reply-To: <b6a2187b0903200304l469e3eeet87c51b1cddb43ea8@mail.gmail.com> (sfid-20090320_110431_738151_8D365596)

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]

On Fri, 2009-03-20 at 18:04 +0800, Jeff Chua wrote:
> On Fri, Mar 20, 2009 at 4:32 PM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
> > 1) It can't be before iwconfig which will result in "SET failed on
> > device wlan0 ; Device or resource busy".
> >  So your point 1) confuses me. Can you
> > explain that a little more?
> 
> This is what happened ...
> 
> # modprobe -r iwlagn
> # modprobe iwlagn
> # ifconfig wlan0 up
> # iwconfig wlan0 mode Managed
> Error for wireless request "Set Mode" (8B06) :
>     SET failed on device wlan0 ; Device or resource busy.

Oh, ok, yes, you cannot change the mode while the interface is up.
Though I guess setting it to the same mode should be accepted. Not that
it matters, the default mode is "managed" anyway.

> > As for 2), that is very very strange since ap auto channel auto is the
> > default, so saying that before you do anything else should do anything
> > at all.
> >
> > I suspect something is going on in the driver because the ifconfig order
> > matters and for mac80211, it shouldn't make a difference when the state
> > machine is really started. I'll probably need to try to reproduce this,
> > but to be honest between the varying failure modes, undefined wireless
> > extensions semantics, etc. I'm not very confident I can.
> 
> I'll try all the different combination again for 2.6.28, and see if
> it's the same, and on the other AP that seems harder to associate (but
> works well in 2.6.28, and other OSs include Nokia phones ... so I
> don't think it's the AP problem ... because it's been around a while
> and gone thru many 2.6.xx).

Yeah, I have to admit that an AP problem doesn't make much sense -- but
the entire failure mode doesn't make much sense to me so far.

> It worked so well before that I didn't even bother to think twice, and
> I may have made silly mistakes along the way, so pardon me if I
> confused you.

No worries. It really should still work well. Can I convince you to try
getting the packet dump I asked for in another mail?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2009-03-20 10:15 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 19:01 2.6.29-rc8: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12805] QinQ vlan trunking regression Rafael J. Wysocki
2009-03-14 22:04   ` David Miller
     [not found]     ` <20090314.150420.149174658.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2009-03-14 22:26       ` Rafael J. Wysocki
2009-03-15  2:58 ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-15  3:06   ` Jeff Chua
     [not found]     ` <b6a2187b0903142006u546fad9eme66f9ea7b464b81f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-15 10:41       ` Rafael J. Wysocki
2009-03-15 18:11       ` Johannes Berg
     [not found]         ` <1237140665.24621.2.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-15 18:44           ` Linus Torvalds
     [not found]             ` <alpine.LFD.2.00.0903151136310.3131-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-03-15 19:01               ` Johannes Berg
2009-03-15 20:26                 ` Ingo Molnar
2009-03-16 13:24                   ` Jeff Chua
2009-03-16 19:57                     ` Linus Torvalds
     [not found]                       ` <alpine.LFD.2.00.0903161250080.3082-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-03-16 23:55                         ` Jeff Chua
     [not found]                           ` <b6a2187b0903161655q15437156qc926c8db37d8ba4b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17  7:50                             ` Johannes Berg
     [not found]                               ` <1237276212.18086.11.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-17 17:21                                 ` Jeff Chua
2009-03-17 14:48                             ` John W. Linville
     [not found]                               ` <20090317144802.GF3549-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-03-17 15:28                                 ` John W. Linville
2009-03-17 15:39                                   ` Ingo Molnar
     [not found]                                     ` <20090317153924.GA21061-X9Un+BFzKDI@public.gmane.org>
2009-03-17 16:05                                       ` John W. Linville
2009-03-17 16:24                                         ` Jeff Chua
     [not found]                                           ` <b6a2187b0903170924u72723220x4c0a717e3cfebf8d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17 17:10                                             ` John W. Linville
     [not found]                                               ` <20090317171047.GF6737-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-03-17 17:27                                                 ` Jeff Chua
     [not found]                                                   ` <b6a2187b0903171027w328f1dfds781910c0571b2424-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-17 17:31                                                     ` Jeff Chua
2009-03-17 18:26                                                       ` Jeff Chua
2009-03-17 19:22                     ` Johannes Berg
     [not found]                       ` <1237317742.31814.28.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-19  2:58                         ` Jeff Chua
2009-03-19  3:25                           ` Jeff Chua
2009-03-19  4:23                             ` Jeff Chua
2009-03-19 16:59                               ` Johannes Berg
2009-03-20 17:19                                 ` Jeff Chua
     [not found]                           ` <b6a2187b0903181958ke11abe7tdcbc4efeb950954d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-19  4:49                             ` Jeff Chua
2009-03-19  9:38                               ` Johannes Berg
2009-03-19 14:13                                 ` John W. Linville
2009-03-19 15:02                                   ` Required sequence to set wireless parameters? (was: 2.6.29-rc8: Reported regressions from 2.6.28) Frans Pop
2009-03-19 15:24                                     ` John W. Linville
2009-03-19 16:45                                       ` Jeff Chua
2009-03-19 16:53                                     ` Johannes Berg
2009-03-19 19:24                                       ` Required sequence to set wireless parameters? Frans Pop
     [not found]                                         ` <200903192024.30562.elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
2009-03-19 19:27                                           ` Johannes Berg
     [not found]                                 ` <1237455534.5100.56.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-20  4:55                                   ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-20  5:20                                     ` Jeff Chua
2009-03-20  8:32                                     ` Johannes Berg
     [not found]                                       ` <1237537967.5100.135.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-20 10:04                                         ` Jeff Chua
2009-03-20 10:13                                           ` Johannes Berg [this message]
2009-03-20 16:14                                             ` Jeff Chua
     [not found]                                               ` <b6a2187b0903200914r23d635c9obc55b30b7cc04382-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-21 12:09                                                 ` Johannes Berg
     [not found]                                                   ` <1237637375.5100.178.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org>
2009-03-21 15:08                                                     ` Jeff Chua
     [not found]                                                       ` <b6a2187b0903210808m7586fdc2g53e72aa269d6e353-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-21 15:11                                                         ` Johannes Berg
2009-03-16  1:02 ` Zhang Rui

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=1237544033.5100.143.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=jeff.chua.linux@gmail.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mingo@elte.hu \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --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).