Larry Finger skrev:
> Richard Jonsson wrote:
>> Pavel Roskin skrev:
>>> On Thu, 2008-04-24 at 21:48 +0200, Richard Jonsson wrote:
>>>> Hello,
>>>>
>>>> First some background:
>>>> I am currently running latest mainline from git. This kernel suffers 
>>>> from a scheduler?
>>> I think this question is more suited for LKML.
>>>
>> I'm sorry for being a bit vague. I'm just trying to describe the
>> circumstances surrounding the issue. I and others have reported the
>> scheduler oddity to LKML and it's being dealt with.
>>
>> My question to this list could be condensed to:
>>
>> Is it normal that over 25000 interrupts are generated when loading 
>> b43, or is the driver or something else broken?
>>
>> I believe you guys are the best suited to answer this question.
>>
>>>> While trying to find what these hickups come from I ran watch 
>>>> --interval .1 "cat /proc/interrupts". I can see there that the b43 
>>>> disappears, gets unloaded probably, and then reappears.
>>> You should probably show the exact contents of /proc/interrupts and
>>> provide some details about the systems (architecture, CPU speed,
>>> contents of /proc/sched_debug, lspci output, dmesg output).
>>>
>>>> When b43 reappears in the interrupt listing, that line generates 
>>>> some 25000 irq's within a fraction of a second. Is this a bug 
>>>> somewhere or by design?
>>> It's possible that the interrupt count is not shown when the driver
>>> "disappears", but is not reset to 0.  Once the interrupt has a handler,
>>> the original count is shown.
>>>
>>
>> This is on a HP DV2140eu laptop, 1GB ram, amd turion64 TL52 x2 
>> (1600MHz), kubuntu 8.04
>> broadcom flavor: 4311
>> $ uname -a
>> Linux laptop 2.6.25 #38 SMP Thu Apr 24 16:45:44 CEST 2008 x86_64 
>> GNU/Linux
>>
>> I was trying to make a testcase, but can't find how to disable 
>> networkmanager, nor how to control if from a terminal. Just 
>> inactivating knetworkmanager and "rmmod b43" results in a segfault.
>>
>> Anyway networkmanager seems to reload the driver periodically for some 
>> reason. Probably because it's stupid and unaware that the radio is 
>> disabled by hardware button.
>>
>> b43 is loaded, not associated since wired networking is used.
>>
>> $ date && cat /proc/interrupts |grep "19:"
>> fre apr 25 15:12:50 CEST 2008
>>   19:        813     210843   IO-APIC-fasteoi   b43
>>
>> a few moments later:
>>
>> $ date && cat /proc/interrupts |grep "19:"
>> fre apr 25 15:13:15 CEST 2008
>>   19:        813     210843   IO-APIC-fasteoi   b43
>> $ date && cat /proc/interrupts |grep "19:"
>> fre apr 25 15:13:16 CEST 2008
>>   19:        813     210851   IO-APIC-fasteoi   b43
>> $ date && cat /proc/interrupts |grep "19:"
>> fre apr 25 15:13:17 CEST 2008
>>   19:        813     210854   IO-APIC-fasteoi     <-- b43 reloaded by nm
> 
> I'm a little confused. Why do you think that b43 was reloaded? Is there 

I took it for granted since it disappears from the interrupt listing.

> a corresponding output in dmesg. Oh, I forgot - Ubuntu doesn't enable 
> the ssb or b43 debug output!
> 
> Larry

I use a custom kernel, but I think I turned off b43/ssb debugging some 
time ago. Anyway dmesg is drowning in this:

[ 7389.533848] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7390.282233] PM: Adding info for No Bus:hw_random
[ 7390.993977] PM: Removing info for No Bus:hw_random
[ 7391.193935] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7391.193947] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7391.193953] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7392.151174] PM: Adding info for No Bus:hw_random
[ 7518.285906] PM: Removing info for No Bus:hw_random
[ 7518.485886] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7518.485898] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7518.485904] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7519.254126] PM: Adding info for No Bus:hw_random
[ 7519.254195] printk: 2250 messages suppressed.
[ 7519.254200] b43-phy0 ERROR: PHY transmission error
[ 7519.254255] b43-phy0 ERROR: PHY transmission error
[ 7519.254266] b43-phy0 ERROR: PHY transmission error
[ 7519.254275] b43-phy0 ERROR: PHY transmission error
[ 7519.254285] b43-phy0 ERROR: PHY transmission error
[ 7519.254295] b43-phy0 ERROR: PHY transmission error
[ 7519.254304] b43-phy0 ERROR: PHY transmission error
[ 7519.254313] b43-phy0 ERROR: PHY transmission error
[ 7519.254323] b43-phy0 ERROR: PHY transmission error
[ 7519.254332] b43-phy0 ERROR: PHY transmission error
[ 7519.294071] b43-phy0: Radio hardware status changed to DISABLED
[ 7519.294131] PM: Removing info for No Bus:hw_random
[ 7519.493955] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7519.493968] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7519.493973] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7520.230371] PM: Adding info for No Bus:hw_random
[ 7520.974090] PM: Removing info for No Bus:hw_random
[ 7521.174058] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7521.174069] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7521.174074] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7522.058469] PM: Adding info for No Bus:hw_random
[ 7648.318039] PM: Removing info for No Bus:hw_random
[ 7648.518013] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7648.518025] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7648.518030] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7649.266421] PM: Adding info for No Bus:hw_random
[ 7649.306162] printk: 2287 messages suppressed.
[ 7649.306170] b43-phy0 ERROR: PHY transmission error
[ 7649.410123] b43-phy0: Radio hardware status changed to DISABLED
[ 7650.006181] PM: Removing info for No Bus:hw_random
[ 7650.206122] b43-phy0: Loading firmware version 351.126 (2006-07-29 
05:54:02)
[ 7650.206133] b43-phy0 warning: You are using an old firmware image. 
Support for old firmware will be removed in July 2008.
[ 7650.206138] b43-phy0 warning: You must go to 
http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and 
download the latest firmware (version 4).
[ 7651.110535] PM: Adding info for No Bus:hw_random
[ 7651.122202] b43-phy0: Radio hardware status changed to DISABLED

And with regard to that last line I'm NOT hammering the radio switch ;)

regards, Richard
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to