Return-path: Received: from mail-px0-f174.google.com ([209.85.212.174]:41062 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756198Ab1CGW10 convert rfc822-to-8bit (ORCPT ); Mon, 7 Mar 2011 17:27:26 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 7 Mar 2011 23:27:26 +0100 Message-ID: Subject: Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF From: Francis Moreau To: Arend van Spriel Cc: Brett Rudley , "gregkh@suse.de" , "linux-wireless@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Mar 7, 2011 at 7:25 PM, Arend van Spriel wrote: > On Mon, 07 Mar 2011 18:29:47 +0100, Francis Moreau > wrote: > >> On Mon, Mar 7, 2011 at 2:54 PM, Arend van Spriel >> wrote: >>> >>> I don't know what the origin is of your kernel so please provide some >>> details on that. >> >> What kind of information do you need ? >> >> As you probably noticed the kernel I'm running is 2.6.38-rc6. >> > > Yup. However, that is not unique by itself. Did you get it from a git > repository like linux-next maintained by Stephen Rothwell or linux-2.6 > maintained by Linus Torvalds, or did you download a kernel snapshot from > ftp.kernel.org. 2.6.38-rc6 is a tag, so it uniquely identify the kernel release whatever the tree you're using. But yes I'm using mainline tree. > >> >> Revelant part of lscpi: >> >> 12:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01) >> ? ? ? ?Subsystem: Dell Device 0010 >> ? ? ? ?Flags: bus master, fast devsel, latency 0, IRQ 17 >> ? ? ? ?Memory at fbb00000 (64-bit, non-prefetchable) [size=16K] >> ? ? ? ?Capabilities: >> ? ? ? ?Kernel driver in use: brcm80211 >> ? ? ? ?Kernel modules: brcm80211 >> > > Always useful to know what hardware you are using. Thanks. > >> >>> The patch itself can be found in the linuxdriver email >>> archive: >>> >>> >>> http://driverdev.linuxdriverproject.org/pipermail/devel/2011-January/011381.html >>> >> >> Do you want me to give it a try ? >> > > I don't think it will apply cleanly, but sure go ahead. > >> >>> Not sure whether it applies to whatever you have. I just tried your >>> scenario >>> with my driver and hardware and no freezes during boot. >> >> My scenario is: >> >> ? - set the switch to OFF >> ? - insmod the module >> ? - bring up/configure the interface > > That's a bit different, but could you elaborate on the last step. Are you > using iw, wpa_supplicant, etc. or relying on NetworkManager. last step is (for example): iw dev wlan0 scan Thanks -- Francis