Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59731 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753116Ab2HBAYL (ORCPT ); Wed, 1 Aug 2012 20:24:11 -0400 Date: Wed, 1 Aug 2012 20:23:54 -0400 From: Josh Boyer To: Seth Forshee Cc: linux-wireless@vger.kernel.org, "John W. Linville" , Johannes Berg , "Luis R. Rodriguez" , Arend van Spriel , Brett Rudley , Roland Vossen , brcm80211-dev-list@broadcom.com Subject: Re: [PATCH 0/2] Fix lockdep warning in brcmsmac Message-ID: <20120802002353.GD1785@zod.bos.redhat.com> (sfid-20120802_022415_132252_180DB806) References: <1343854723-21987-1-git-send-email-seth.forshee@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1343854723-21987-1-git-send-email-seth.forshee@canonical.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Aug 01, 2012 at 03:58:41PM -0500, Seth Forshee wrote: > As reported by Josh Boyer, brcmsmac is producing lockdep warnings by > calling freq_reg_info() without holding cfg80211_lock. Currently > freq_reg_info() is the only way for a wireless driver to tell whether > OFDM is allowed on the current channel, but cfg80211_lock is outside the > scope of the wireless drivers. > > Since other regulatory restrictions are communicated in the channel > definition, it makes sense to do the same for OFDM. These patches add a > new flag, IEEE80211_CHAN_NO_OFDM, which is set by regulatory to > indicated OFDM operation is prohibited. brcmsmac is modifified to use > this flag instead of consuming the regulatory data directly. > > Thanks, > Seth > > > Seth Forshee (2): > cfg80211: add channel flag to restrict OFDM > brcmsmac: use channel flags to restrict OFDM I would love to test these, but at the moment I can't. Oddly, the very same machine I hit the problem with originally is no longer presenting any devices on the bcma bus. The driver is loaded, brcmsmac is loaded, but neither output the devices that showed up in my original email. This is with both the kernel I originally reported the problem with, and other kernels. Nothing shows up for the BCM4313 in lspci either. I did power it off and then back on today after I hit the original problem, but I'd expect the hardware in the box to still show up on a power on... Is there some specific module load order, or something else I can do to try and get the device to show up? I did build a kernel with your patches applied, so at least I know they build. If I can get this machine to probe the chip again, I'll be happy to test. At the moment, I'm just very confused and slightly afraid it's going to just refuse to work at all. josh