linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* brcm80211: the system freezes if booted with laptop wifi switch to OFF
@ 2011-03-05 17:11 Francis Moreau
  2011-03-07  7:56 ` Arend van Spriel
  2011-03-09  9:03 ` Arend van Spriel
  0 siblings, 2 replies; 11+ messages in thread
From: Francis Moreau @ 2011-03-05 17:11 UTC (permalink / raw)
  To: brudley; +Cc: gregkh, linux-wireless, Linux Kernel Mailing List

Hi,

I'm currently running 2.6.38-rc6, and if I boot with my WIFI switch
set to off position, the system freezes entirely when bringing up the
wlan0 interface.

There's no trace so I don't really know how I can help to debug this further.

Thanks
-- 
Francis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-05 17:11 brcm80211: the system freezes if booted with laptop wifi switch to OFF Francis Moreau
@ 2011-03-07  7:56 ` Arend van Spriel
  2011-03-07 11:33   ` Francis Moreau
  2011-03-09  9:03 ` Arend van Spriel
  1 sibling, 1 reply; 11+ messages in thread
From: Arend van Spriel @ 2011-03-07  7:56 UTC (permalink / raw)
  To: Brett Rudley, Francis Moreau
  Cc: gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Sat, 05 Mar 2011 18:11:20 +0100, Francis Moreau  
<francis.moro@gmail.com> wrote:

> Hi,
>
> I'm currently running 2.6.38-rc6, and if I boot with my WIFI switch
> set to off position, the system freezes entirely when bringing up the
> wlan0 interface.
>
Hi Francis,

Some time ago we (broadcom) submitted a patch for rfkill functionality  
(ie. wifi switch) to staging-2.6 repository. I looked up the tagged  
version you are referring to in the linux-next repository and it seems  
that the patch I mentioned is not included in there.

>
> There's no trace so I don't really know how I can help to debug this  
> further.
>
> Thanks

Regards,
Arend van Spriel
-- 
"The most merciful thing in the world, I think, is the inability of the  
human
mind to correlate all its contents." - "The Call of Cthulhu"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-07  7:56 ` Arend van Spriel
@ 2011-03-07 11:33   ` Francis Moreau
  2011-03-07 13:54     ` Arend van Spriel
  0 siblings, 1 reply; 11+ messages in thread
From: Francis Moreau @ 2011-03-07 11:33 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Brett Rudley, gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Mon, Mar 7, 2011 at 8:56 AM, Arend van Spriel <arend@broadcom.com> wrote:
>
> Some time ago we (broadcom) submitted a patch for rfkill functionality (ie.
> wifi switch) to staging-2.6 repository. I looked up the tagged version you
> are referring to in the linux-next repository and it seems that the patch I
> mentioned is not included in there.

Would it be possible to submit it one more time ?

Thanks
-- 
Francis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-07 11:33   ` Francis Moreau
@ 2011-03-07 13:54     ` Arend van Spriel
  2011-03-07 17:29       ` Francis Moreau
  0 siblings, 1 reply; 11+ messages in thread
From: Arend van Spriel @ 2011-03-07 13:54 UTC (permalink / raw)
  To: Francis Moreau
  Cc: Brett Rudley, gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Mon, 07 Mar 2011 12:33:07 +0100, Francis Moreau
<francis.moro@gmail.com> wrote:

>
> Would it be possible to submit it one more time ?
>

I don't know what the origin is of your kernel so please provide some  
details on that. The patch itself can be found in the linuxdriver email  
archive:

http://driverdev.linuxdriverproject.org/pipermail/devel/2011-January/011381.html

Not sure whether it applies to whatever you have. I just tried your  
scenario with my driver and hardware and no freezes during boot.

>
> Thanks

Gr. AvS
-- 
"The most merciful thing in the world, I think, is the inability of the
human
mind to correlate all its contents." - "The Call of Cthulhu"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-07 13:54     ` Arend van Spriel
@ 2011-03-07 17:29       ` Francis Moreau
  2011-03-07 18:25         ` Arend van Spriel
  0 siblings, 1 reply; 11+ messages in thread
From: Francis Moreau @ 2011-03-07 17:29 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Brett Rudley, gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Mon, Mar 7, 2011 at 2:54 PM, Arend van Spriel <arend@broadcom.com> 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.

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: <access denied>
	Kernel driver in use: brcm80211
	Kernel modules: brcm80211


> 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 ?

> 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

Thanks
-- 
Francis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-07 17:29       ` Francis Moreau
@ 2011-03-07 18:25         ` Arend van Spriel
  2011-03-07 22:27           ` Francis Moreau
  0 siblings, 1 reply; 11+ messages in thread
From: Arend van Spriel @ 2011-03-07 18:25 UTC (permalink / raw)
  To: Francis Moreau
  Cc: Brett Rudley, gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Mon, 07 Mar 2011 18:29:47 +0100, Francis Moreau  
<francis.moro@gmail.com> wrote:

> On Mon, Mar 7, 2011 at 2:54 PM, Arend van Spriel <arend@broadcom.com>  
> 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.

>
> 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: <access denied>
> 	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.

Gr. AvS
-- 
"The most merciful thing in the world, I think, is the inability of the  
human
mind to correlate all its contents." - "The Call of Cthulhu"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-07 18:25         ` Arend van Spriel
@ 2011-03-07 22:27           ` Francis Moreau
  0 siblings, 0 replies; 11+ messages in thread
From: Francis Moreau @ 2011-03-07 22:27 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Brett Rudley, gregkh@suse.de, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Mon, Mar 7, 2011 at 7:25 PM, Arend van Spriel <arend@broadcom.com> wrote:
> On Mon, 07 Mar 2011 18:29:47 +0100, Francis Moreau <francis.moro@gmail.com>
> wrote:
>
>> On Mon, Mar 7, 2011 at 2:54 PM, Arend van Spriel <arend@broadcom.com>
>> 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: <access denied>
>>        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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-05 17:11 brcm80211: the system freezes if booted with laptop wifi switch to OFF Francis Moreau
  2011-03-07  7:56 ` Arend van Spriel
@ 2011-03-09  9:03 ` Arend van Spriel
  2011-03-09 16:00   ` Greg KH
  1 sibling, 1 reply; 11+ messages in thread
From: Arend van Spriel @ 2011-03-09  9:03 UTC (permalink / raw)
  To: gregkh@suse.de, Francis Moreau
  Cc: Brett Rudley, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Sat, 05 Mar 2011 18:11:20 +0100, Francis Moreau  
<francis.moro@gmail.com> wrote:

> Hi,
>
> I'm currently running 2.6.38-rc6, and if I boot with my WIFI switch
> set to off position, the system freezes entirely when bringing up the
> wlan0 interface.
>
> There's no trace so I don't really know how I can help to debug this  
> further.
>
> Thanks

Hi Greg,

A while ago I submitted a patch for this issue and it was marked as new  
functionality so only to be included in the staging-next branch. However,  
as the system freezes without this patch it might be a good idea to submit  
the patch for staging-linus branch as well to include it in linus tree. Do  
you agree? If so I will prepare a backported version of the patch and send  
it to you.

Gr. AvS
-- 
"The most merciful thing in the world, I think, is the inability of the  
human
mind to correlate all its contents." - "The Call of Cthulhu"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-09  9:03 ` Arend van Spriel
@ 2011-03-09 16:00   ` Greg KH
  2011-03-09 17:41     ` Arend van Spriel
  0 siblings, 1 reply; 11+ messages in thread
From: Greg KH @ 2011-03-09 16:00 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Francis Moreau, Brett Rudley, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Wed, Mar 09, 2011 at 10:03:41AM +0100, Arend van Spriel wrote:
> On Sat, 05 Mar 2011 18:11:20 +0100, Francis Moreau
> <francis.moro@gmail.com> wrote:
> 
> >Hi,
> >
> >I'm currently running 2.6.38-rc6, and if I boot with my WIFI switch
> >set to off position, the system freezes entirely when bringing up the
> >wlan0 interface.
> >
> >There's no trace so I don't really know how I can help to debug
> >this further.
> >
> >Thanks
> 
> Hi Greg,
> 
> A while ago I submitted a patch for this issue and it was marked as
> new functionality so only to be included in the staging-next branch.
> However, as the system freezes without this patch it might be a good
> idea to submit the patch for staging-linus branch as well to include
> it in linus tree. Do you agree? If so I will prepare a backported
> version of the patch and send it to you.

Sure, but I will wait and add it to the stable releases when it goes
into Linus's tree.  Sound ok?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-09 16:00   ` Greg KH
@ 2011-03-09 17:41     ` Arend van Spriel
  2011-03-09 18:02       ` Francis Moreau
  0 siblings, 1 reply; 11+ messages in thread
From: Arend van Spriel @ 2011-03-09 17:41 UTC (permalink / raw)
  To: Greg KH
  Cc: Francis Moreau, Brett Rudley, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Wed, 09 Mar 2011 17:00:46 +0100, Greg KH <gregkh@suse.de> wrote:

> Sure, but I will wait and add it to the stable releases when it goes
> into Linus's tree.  Sound ok?

fine by me. Will sent the patch later today.

Gr. AvS
-- 
"The most merciful thing in the world, I think, is the inability of the  
human
mind to correlate all its contents." - "The Call of Cthulhu"


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: brcm80211: the system freezes if booted with laptop wifi switch to OFF
  2011-03-09 17:41     ` Arend van Spriel
@ 2011-03-09 18:02       ` Francis Moreau
  0 siblings, 0 replies; 11+ messages in thread
From: Francis Moreau @ 2011-03-09 18:02 UTC (permalink / raw)
  To: Arend van Spriel
  Cc: Greg KH, Brett Rudley, linux-wireless@vger.kernel.org,
	Linux Kernel Mailing List

On Wed, Mar 9, 2011 at 6:41 PM, Arend van Spriel <arend@broadcom.com> wrote:
> On Wed, 09 Mar 2011 17:00:46 +0100, Greg KH <gregkh@suse.de> wrote:
>
>> Sure, but I will wait and add it to the stable releases when it goes
>> into Linus's tree.  Sound ok?
>
> fine by me. Will sent the patch later today.
>

please Cc me so I could give it a test.

-- 
Francis

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-09 18:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-05 17:11 brcm80211: the system freezes if booted with laptop wifi switch to OFF Francis Moreau
2011-03-07  7:56 ` Arend van Spriel
2011-03-07 11:33   ` Francis Moreau
2011-03-07 13:54     ` Arend van Spriel
2011-03-07 17:29       ` Francis Moreau
2011-03-07 18:25         ` Arend van Spriel
2011-03-07 22:27           ` Francis Moreau
2011-03-09  9:03 ` Arend van Spriel
2011-03-09 16:00   ` Greg KH
2011-03-09 17:41     ` Arend van Spriel
2011-03-09 18:02       ` Francis Moreau

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).