Return-path: Received: from mail-pz0-f115.google.com ([209.85.222.115]:46098 "EHLO mail-pz0-f115.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174AbZEMV3E (ORCPT ); Wed, 13 May 2009 17:29:04 -0400 Received: by pzk13 with SMTP id 13so379307pzk.33 for ; Wed, 13 May 2009 14:29:04 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1242166051.26484.7.camel@maxim-laptop> References: <1241499867.4816.18.camel@maxim-laptop> <1241958023.6051.14.camel@maxim-laptop> <43e72e890905101133w2314250s7b95a8c100e83cce@mail.gmail.com> <1241984076.6051.18.camel@maxim-laptop> <43e72e890905101236h2cd24edewae808da384ae48dd@mail.gmail.com> <1242140728.5626.3.camel@maxim-laptop> <43e72e890905121024i79f743efo68c858bc0a0939a@mail.gmail.com> <1242149671.5210.2.camel@maxim-laptop> <43e72e890905121500k61545ff3mcdf099a08178b72c@mail.gmail.com> <1242166051.26484.7.camel@maxim-laptop> From: "Luis R. Rodriguez" Date: Wed, 13 May 2009 14:28:44 -0700 Message-ID: <43e72e890905131428r568e6f5eyd64566e993c83d8c@mail.gmail.com> Subject: Re: [BUG] Crda oopses the system To: Maxim Levitsky Cc: Pavel Roskin , linux-wireless Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, May 12, 2009 at 3:07 PM, Maxim Levitsky wrote: > On Tue, 2009-05-12 at 15:00 -0700, Luis R. Rodriguez wrote: >> On Tue, May 12, 2009 at 10:34 AM, Maxim Levitsky >> wrote: >> > On Tue, 2009-05-12 at 10:24 -0700, Luis R. Rodriguez wrote: >> >> On Tue, May 12, 2009 at 8:05 AM, Maxim Levitsky wrote: >> >> > On Sun, 2009-05-10 at 12:36 -0700, Luis R. Rodriguez wrote: >> >> >> On Sun, May 10, 2009 at 12:34 PM, Maxim Levitsky >> >> >> wrote: >> >> >> > On Sun, 2009-05-10 at 11:33 -0700, Luis R. Rodriguez wrote: >> >> >> >> On Sun, May 10, 2009 at 5:20 AM, Maxim Levitsky wrote: >> >> >> >> > On Wed, 2009-05-06 at 16:34 -0400, Pavel Roskin wrote: >> >> >> >> >> gdb /lib/modules/`uname -r`/kernel/net/wireless/cfg80211.ko >> >> >> >> > >> >> >> >> > I have recompiled the kernel with debugging info. >> >> >> >> > >> >> >> >> > This is new backtrace: >> >> > >> >> > Ok, here is what I found: >> >> > >> >> > The real BUG_ON that fires up is at >> >> > >> >> > wireless/reg.c: __set_regdom: BUG_ON(!country_ie_regdomain) >> >> > >> >> > Confirmed by replacing it with printk. >> >> > >> >> > >> >> > I attach a beacon sample that triggers this: >> >> >> >> Thanks for that. Was this from wireless-testing? If so as of what SHA1 >> >> sum? Can you provide steps to reproduce? What AP? What card? >> > wireless-testing, b2382a4aeff07a481ccf860e4f716b48b52e3781 >> >> That HEAD is buggy, its missing a fix for the minstrel/pid fix. >> Although since you are running iwl3945 it explains why you haven't >> seen that oops. >> >> Will look into this -- thanks. How easy can you reproduce BTW? Does it >> happen immediately upon assoc? Does it happen with other APs at the >> university? > Happens always when I try to associate. Great so it will be easy to confirm a fix. Can you please try the 4 patches I just posted? I haven't finished reviewing your case but so far from the pcap review (which was really helpful) I don't see anything funky from the beacon except that the FCS is bad. But that shouldn't matter. Anyway please try the patches I posted and I'll finish reviewing this in the meantime. > Other APs, I don't see many other APs there, (you mean other essids, > right?) I meant other APs at the University on the same network. > Most of them are encrypted anyway. OK this should not matter. Luis