From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761851AbZCTKM4 (ORCPT ); Fri, 20 Mar 2009 06:12:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754815AbZCTKEe (ORCPT ); Fri, 20 Mar 2009 06:04:34 -0400 Received: from wf-out-1314.google.com ([209.85.200.171]:45210 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759521AbZCTKEc (ORCPT ); Fri, 20 Mar 2009 06:04:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Dr1DH3fdiZOS2fVAerNYnxnV5WVwvSzomd9eCMmHKgz4hI+lHX0gDp+Jfkhz1MlaYv JKZwWj1SKROt6qW2DYkc/bjD9E54bm81do+TNgUfuLu9gPc5+PlpczwMs8WvqRGA1Enj mV2hrv3mGygQACc/huZPhCyOKGjCEAfD+AF0E= MIME-Version: 1.0 In-Reply-To: <1237537967.5100.135.camel@johannes.local> References: <1237143683.24621.7.camel@johannes.local> <20090315202603.GA9077@elte.hu> <1237317742.31814.28.camel@johannes.local> <1237455534.5100.56.camel@johannes.local> <1237537967.5100.135.camel@johannes.local> Date: Fri, 20 Mar 2009 18:04:29 +0800 Message-ID: Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28 From: Jeff Chua To: Johannes Berg Cc: Ingo Molnar , Linus Torvalds , "Rafael J. Wysocki" , Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Kernel Testers List , Network Development , "John W. Linville" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 20, 2009 at 4:32 PM, Johannes Berg 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. > 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). 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. Thanks for your help. Jeff. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Chua Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28 Date: Fri, 20 Mar 2009 18:04:29 +0800 Message-ID: References: <1237143683.24621.7.camel@johannes.local> <20090315202603.GA9077@elte.hu> <1237317742.31814.28.camel@johannes.local> <1237455534.5100.56.camel@johannes.local> <1237537967.5100.135.camel@johannes.local> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Linus Torvalds , "Rafael J. Wysocki" , Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Kernel Testers List , Network Development , "John W. Linville" To: Johannes Berg Return-path: In-Reply-To: <1237537967.5100.135.camel-YfaajirXv2244ywRPIzf9A@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Fri, Mar 20, 2009 at 4:32 PM, Johannes Berg 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. > 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). 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. Thanks for your help. Jeff.