* b43 driver hang with bcm4318
@ 2010-01-20 1:40 Eric Volker
2010-01-20 2:00 ` Gábor Stefanik
0 siblings, 1 reply; 5+ messages in thread
From: Eric Volker @ 2010-01-20 1:40 UTC (permalink / raw)
To: linux-wireless
I have set up an access point with Ubuntu 9.10 and a Broadcom BCM4318
PCI card (manufacturer is Buffalo). After an undetermined period of
time, the card stops beaconing and even previously connected clients are
unable to ping the AP. After the driver hangs, trying to restart hostapd
fails with a "Failed to create mon.wlan0". The following commands:
#rmmod b43
#modprobe b43
#/etc/init.d/hostapd restart
will restart hostapd, and the AP will begin beaconing again. Clients can
associate with it, but are unable to ping the AP. Further examination
reveals that wlan0 on the AP has not been assigned an IP address. (My AP
does not have a DHCP daemon running as of yet; I've been manually
configuring the IP address of my clients.) Using ifconfig to assign the
IP address appears to work, but clients are still unable to ping the AP.
dmesg reveals no message from the b43 or other drivers about the hang;
however, upon restarting hostapd the driver appears to create a new
"phy".
[71500.473241] b43-phy1: Broadcom 4318 WLAN found (core revision 9)
[71500.540847] phy1: Selected rate control algorithm 'minstrel'
[71500.542002] Broadcom 43xx driver loaded [ Features: PL, Firmware-ID:
FW13 ]
[71543.312030] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[71543.410639] b43 ssb0:0: firmware: requesting b43/pcm5.fw
[71543.430040] b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
[71543.440062] b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
[71543.564029] b43-phy1: Loading firmware version 410.2160 (2007-05-26
15:32:10)
[71543.604432] Registered led device: b43-phy1::tx
[71543.604459] Registered led device: b43-phy1::rx
[71543.604485] Registered led device: b43-phy1::radio
[71554.360009] wlan0: no IPv6 routers present
Further back in the log, it can be seen where b43-phy0 was created, but
there is no record of the driver crashing or any other errors.
daemon.log does have several entries like this:
Jan 17 15:48:24 hostname avahi-daemon[759]: Invalid query packet.
Jan 17 15:49:33 hostname avahi-daemon[759]: last message repeated 2
times
Rebooting fixes the problem completely, but only temporarily. Anyone
seen this before, or have a suggested fix?
Thanks,
Eric Volker
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: b43 driver hang with bcm4318
2010-01-20 1:40 b43 driver hang with bcm4318 Eric Volker
@ 2010-01-20 2:00 ` Gábor Stefanik
2010-01-20 2:56 ` Eric Volker
0 siblings, 1 reply; 5+ messages in thread
From: Gábor Stefanik @ 2010-01-20 2:00 UTC (permalink / raw)
To: Eric Volker; +Cc: linux-wireless
Please load b43 with verbose debug messages enabled (use the "verbose"
module parameter - check modinfo for the exact value for full debug
output), and post the resulting logs.
On Wed, Jan 20, 2010 at 2:40 AM, Eric Volker <evolker@gmail.com> wrote:
> I have set up an access point with Ubuntu 9.10 and a Broadcom BCM4318
> PCI card (manufacturer is Buffalo). After an undetermined period of
> time, the card stops beaconing and even previously connected clients are
> unable to ping the AP. After the driver hangs, trying to restart hostapd
> fails with a "Failed to create mon.wlan0". The following commands:
>
> #rmmod b43
> #modprobe b43
> #/etc/init.d/hostapd restart
>
> will restart hostapd, and the AP will begin beaconing again. Clients can
> associate with it, but are unable to ping the AP. Further examination
> reveals that wlan0 on the AP has not been assigned an IP address. (My AP
> does not have a DHCP daemon running as of yet; I've been manually
> configuring the IP address of my clients.) Using ifconfig to assign the
> IP address appears to work, but clients are still unable to ping the AP.
> dmesg reveals no message from the b43 or other drivers about the hang;
> however, upon restarting hostapd the driver appears to create a new
> "phy".
>
> [71500.473241] b43-phy1: Broadcom 4318 WLAN found (core revision 9)
> [71500.540847] phy1: Selected rate control algorithm 'minstrel'
> [71500.542002] Broadcom 43xx driver loaded [ Features: PL, Firmware-ID:
> FW13 ]
> [71543.312030] b43 ssb0:0: firmware: requesting b43/ucode5.fw
> [71543.410639] b43 ssb0:0: firmware: requesting b43/pcm5.fw
> [71543.430040] b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
> [71543.440062] b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
> [71543.564029] b43-phy1: Loading firmware version 410.2160 (2007-05-26
> 15:32:10)
> [71543.604432] Registered led device: b43-phy1::tx
> [71543.604459] Registered led device: b43-phy1::rx
> [71543.604485] Registered led device: b43-phy1::radio
> [71554.360009] wlan0: no IPv6 routers present
>
> Further back in the log, it can be seen where b43-phy0 was created, but
> there is no record of the driver crashing or any other errors.
> daemon.log does have several entries like this:
>
> Jan 17 15:48:24 hostname avahi-daemon[759]: Invalid query packet.
> Jan 17 15:49:33 hostname avahi-daemon[759]: last message repeated 2
> times
>
> Rebooting fixes the problem completely, but only temporarily. Anyone
> seen this before, or have a suggested fix?
>
> Thanks,
>
> Eric Volker
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: b43 driver hang with bcm4318
2010-01-20 2:00 ` Gábor Stefanik
@ 2010-01-20 2:56 ` Eric Volker
2010-01-20 3:15 ` Gábor Stefanik
0 siblings, 1 reply; 5+ messages in thread
From: Eric Volker @ 2010-01-20 2:56 UTC (permalink / raw)
To: Gábor Stefanik; +Cc: linux-wireless
On Wed, 2010-01-20 at 03:00 +0100, Gábor Stefanik wrote:
> Please load b43 with verbose debug messages enabled (use the "verbose"
> module parameter - check modinfo for the exact value for full debug
> output), and post the resulting logs.
Loaded b43 with verbose=3 to get debug output. The driver hung much more
quickly with debug output enabled. After about 30 seconds of pinging the
AP became unresponsive, though it was still beaconing. Should I post the
logs to the list, or is there somewhere else they should go?
Thanks,
Eric Volker
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: b43 driver hang with bcm4318
2010-01-20 2:56 ` Eric Volker
@ 2010-01-20 3:15 ` Gábor Stefanik
0 siblings, 0 replies; 5+ messages in thread
From: Gábor Stefanik @ 2010-01-20 3:15 UTC (permalink / raw)
To: Eric Volker; +Cc: linux-wireless
2010/1/20 Eric Volker <evolker@gmail.com>:
> On Wed, 2010-01-20 at 03:00 +0100, Gábor Stefanik wrote:
>> Please load b43 with verbose debug messages enabled (use the "verbose"
>> module parameter - check modinfo for the exact value for full debug
>> output), and post the resulting logs.
> Loaded b43 with verbose=3 to get debug output. The driver hung much more
> quickly with debug output enabled. After about 30 seconds of pinging the
> AP became unresponsive, though it was still beaconing. Should I post the
> logs to the list, or is there somewhere else they should go?
>
> Thanks,
>
> Eric Volker
>
Please post the logs here for analysis. That's specifically the reason
I asked you to load b43 with debugging enabled.
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: b43 driver hang with bcm4318
@ 2010-01-23 22:22 Eric Volker
0 siblings, 0 replies; 5+ messages in thread
From: Eric Volker @ 2010-01-23 22:22 UTC (permalink / raw)
To: linux-wireless
On Wed, 2010-01-20 at 04:15 +0100, Gábor Stefanik wrote:
> Please post the logs here for analysis. That's specifically the reason
> I asked you to load b43 with debugging enabled.
>
I finally got the b43 module to load at boot with the verbose=3
parameter. To keep things to a minimum, I'm going to post the output of
"dmesg | grep -e b43".
[ 0.000000] Kernel command line:
root=UUID=360e77ce-b2ed-4318-93c6-96a1a1dad60d b43.verbose=3 ro quiet
splash
[ 0.000000] Unknown boot option `b43.verbose=3': ignoring
[ 1.704798] b43-pci-bridge 0000:02:02.0: PCI INT A -> GSI 18 (level,
low) -> IRQ 18
[ 29.676541] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
[ 29.732395] b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
[ 29.732420] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050,
Revision 8
[ 30.617172] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[ 30.707565] b43 ssb0:0: firmware: requesting b43/pcm5.fw
[ 30.736709] b43 ssb0:0: firmware: requesting b43/b0g0initvals5.fw
[ 30.779077] b43 ssb0:0: firmware: requesting b43/b0g0bsinitvals5.fw
[ 31.141260] b43-phy0: Loading firmware version 410.2160 (2007-05-26
15:32:10)
[ 31.156124] b43-phy0 debug: Chip initialized
[ 31.156363] b43-phy0 debug: 32-bit DMA initialized
[ 31.178664] Registered led device: b43-phy0::tx
[ 31.178704] Registered led device: b43-phy0::rx
[ 31.178729] Registered led device: b43-phy0::radio
[ 31.178761] b43-phy0 debug: Wireless interface started
[ 31.178772] b43-phy0 debug: Adding Interface type 2
[ 32.992131] b43-phy0 debug: Removing Interface type 2
[ 32.992275] b43-phy0 debug: Wireless interface stopped
[ 33.192028] b43-phy0: Loading firmware version 410.2160 (2007-05-26
15:32:10)
[ 33.212972] b43-phy0 debug: Chip initialized
[ 33.213223] b43-phy0 debug: 32-bit DMA initialized
[ 33.232438] Registered led device: b43-phy0::tx
[ 33.232464] Registered led device: b43-phy0::rx
[ 33.232489] Registered led device: b43-phy0::radio
[ 33.232520] b43-phy0 debug: Wireless interface started
[ 33.232955] b43-phy0 debug: Adding Interface type 3
[ 33.252727] b43-phy0 debug: Set beacon interval to 100
[ 33.280161] b43-phy0 debug: Updated beacon template at 0x68
[ 33.280254] b43-phy0 debug: Updated beacon template at 0x468
[ 33.288995] b43-phy0 debug: Updated beacon template at 0x468
[ 33.290010] b43-phy0 debug: Updated beacon template at 0x468
[ 585.629118] b43-phy0 debug: Using hardware based encryption for
keyidx: 0, mac: 00:1c:26:40:ad:2e
[ 633.300744] b43-phy0 debug: Updated beacon template at 0x68
[ 633.775873] b43-phy0 debug: Updated beacon template at 0x468
[ 747.470833] b43-phy0 debug: Disabling hardware based encryption for
keyidx: 0, mac: 00:1c:26:40:ad:2e
[ 747.471333] b43-phy0 debug: Updated beacon template at 0x68
[ 747.768123] b43-phy0 debug: Removing Interface type 3
[ 747.768310] b43-phy0 debug: Wireless interface stopped
[ 755.816036] b43-phy0: Loading firmware version 410.2160 (2007-05-26
15:32:10)
[ 755.836056] b43-phy0 debug: Chip initialized
[ 755.836279] b43-phy0 debug: 32-bit DMA initialized
[ 755.856438] Registered led device: b43-phy0::tx
[ 755.856465] Registered led device: b43-phy0::rx
[ 755.856490] Registered led device: b43-phy0::radio
[ 755.856521] b43-phy0 debug: Wireless interface started
[ 755.856931] b43-phy0 debug: Adding Interface type 3
[ 755.900155] b43-phy0 debug: Updated beacon template at 0x68
[ 755.900250] b43-phy0 debug: Updated beacon template at 0x468
[ 755.904893] b43-phy0 debug: Updated beacon template at 0x468
[ 755.908442] b43-phy0 debug: Updated beacon template at 0x468
[ 793.908533] b43-phy0 debug: Using hardware based encryption for
keyidx: 0, mac: <AP MAC edited>
[ 823.137165] b43-phy0 debug: Updated beacon template at 0x68
[ 856.499792] b43-phy0 debug: Updated beacon template at 0x468
[ 1359.028638] b43-phy0 debug: Disabling hardware based encryption for
keyidx: 0, mac: <AP MAC edited>
[ 1524.184117] b43-phy0 debug: Removing Interface type 3
[ 1524.184318] b43-phy0 debug: Wireless interface stopped
[ 1532.220026] b43-phy0: Loading firmware version 410.2160 (2007-05-26
15:32:10)
[ 1532.236049] b43-phy0 debug: Chip initialized
[ 1532.236282] b43-phy0 debug: 32-bit DMA initialized
[ 1532.256431] Registered led device: b43-phy0::tx
[ 1532.256457] Registered led device: b43-phy0::rx
[ 1532.256483] Registered led device: b43-phy0::radio
[ 1532.256515] b43-phy0 debug: Wireless interface started
[ 1532.256923] b43-phy0 debug: Adding Interface type 3
[ 1532.286366] b43-phy0 debug: Updated beacon template at 0x68
[ 1532.286458] b43-phy0 debug: Updated beacon template at 0x468
[ 1532.288415] b43-phy0 debug: Updated beacon template at 0x468
[ 1532.292458] b43-phy0 debug: Updated beacon template at 0x468
[ 1539.299091] b43-phy0 debug: Using hardware based encryption for
keyidx: 0, mac: 00:1c:26:40:ad:2e
[ 1566.745361] b43-phy0 debug: Updated beacon template at 0x68
[ 1590.000351] b43-phy0 debug: Updated beacon template at 0x468
At 823.137165 an associated client is unable to ping temporarily, but
the IP connection resumes in a few seconds. At 1359.028638, the AP stops
beaconing. hostapd is restarted at 1524.184117, and the AP resumes
beaconing, though the client has to reassociate. Need anything else?
I found some references to older versions of b43 dropping hardware
encryption. Is Ubuntu 9.10 outdated already?
Thanks,
Eric Volker
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-01-23 22:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 1:40 b43 driver hang with bcm4318 Eric Volker
2010-01-20 2:00 ` Gábor Stefanik
2010-01-20 2:56 ` Eric Volker
2010-01-20 3:15 ` Gábor Stefanik
-- strict thread matches above, loose matches on Subject: below --
2010-01-23 22:22 Eric Volker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox