Skip to contentSkip to conversation

BCM5354 (Asus WL500GPv2) DMA RX buffer too small and skb_over_panic

DISCUSSION Hauke Mehrtens 4 participants 7 messages May 29, 2011 – May 31, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Rafa?,

I got some bug reports [0] in OpenWrt regarding a kernel panic because of b43. It occurs on BCM5354 devices, when they are in AP mode.

There was also a discussion about this on this mailing list some years ago. [1]

It happens after some time ( 3h to 2d ) without any load or anything not normal, in station mode this panic does not occur.
After the error occurred the CPU usage increases to 3.0 - 5.0 Sometimes "b43-phy0 ERROR: MAC suspend failed" is shown in the log before this panic.

Rafa? could you please have a look at the issue?

------
Hauke

[0]: https://dev.openwrt.org/ticket/9459
[1]: http://permalink.gmane.org/gmane.linux.drivers.bcm54xx.devel/10682

Kernel panic:

b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
......
b43-phy0 ERROR: DMA RX buffer too small (len: 42390, buffer: 2352,
nr-dropped: 19)
b43-phy0 ERROR: DMA RX buffer too small (len: 25505, buffer: 2352,
nr-dropped: 11)
b43-phy0 ERROR: DMA RX buffer too small (len: 19022, buffer: 2352,
nr-dropped: 9)
b43-phy0 ERROR: DMA RX buffer too small (len: 4189, buffer: 2352,
nr-dropped: 2)
b43-phy0 ERROR: DMA RX buffer too small (len: 37381, buffer: 2352,
nr-dropped: 16)
skb_over_panic: text:80c9a408 len:2378 put:2378 head:80eef000 data:80eef040 tail:0x80eef98a end:0x80eef980 dev:<NULL> Kernel bug detected[#1]:
Cpu 0

$ 0   : 00000000 1000b800 0000007c 00000001
$ 4   : 80293498 000020ed ffffffff 000020ed
$ 8   : 00004000 00000000 00000001 ffffffff
$12   : 0000000f 80253c78 ffffffff 00000000
$16   : 00eef040 0000092c 80eef040 819e0740
$20   : 81b3cb00 0000001e a1b4a1e0 80c9f978
$24   : 00000002 80166250
$28   : 81a46000 81a47db0 00000020 801a3d24
Hi    : 00000000
Lo    : 00000077
epc   : 801a3d24 0x801a3d24
    Not tainted
ra    : 801a3d24 0x801a3d24
Status: 1000b803    KERNEL EXL IE
Cause : 00800024
PrId  : 00029029 (Broadcom BCM3302)
Modules linked in: xt_IMQ nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN
xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn
xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat
xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables
xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy sch_red b43
sch_sfq sch_hfsc cls_fw imq mac80211 ts_fsm ts_bm ts_kmp crc_ccitt
cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc
switch_robo switch_core diag
Process irq/5-b43 (pid: 895, threadinfo=81a46000, task=81ab45d0,
tls=00000000)
Stack : 00000000 80c9a408 0000094a 0000094a 80eef000 80eef040 80eef98a
80eef980
        8026e09c 0000001e a1b4a1e0 80c9a408 80c17ad4 00ff0000 000000e6
00010000
        819e2400 819e2400 80d31568 00ff0000 80c9f978 00010000 00010000
819e2400
        00008000 00010000 81b3ca24 00010000 802ce8c0 00000000 802953b4
80c872cc
        00010000 802ce8c0 80292f28 8001ce0c 819ea138 819ea138 80292f28
8001eba0
        ...
Call Trace:[<80c9a408>] 0x80c9a408
[<80c9a408>] 0x80c9a408
[<80c872cc>] 0x80c872cc
[<8001ce0c>] 0x8001ce0c
[<8001eba0>] 0x8001eba0
[<8001cef8>] 0x8001cef8
[<80190bf4>] 0x80190bf4
[<80c87424>] 0x80c87424
[<80057480>] 0x80057480
[<8000af98>] 0x8000af98
[<80057304>] 0x80057304
[<80057304>] 0x80057304
[<8003db30>] 0x8003db30
[<8000f86c>] 0x8000f86c
[<8003dab4>] 0x8003dab4
[<8000f85c>] 0x8000f85c
Code: afab001c  0c0028ff  afa20020 <0200000d> 08068f4a  00000000

8fbf002c 01201021 03e00008
Disabling lock debugging due to kernel taint
exiting task "irq/5-b43" (895) is an active IRQ thread (irq 5)

Call Trace from an other report:

Jan  1 04:03:40 OpenWrt user.warn kernel: Call Trace:
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8019bc10>] skb_put+0x74/0x90
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8051a3e8>]
b43_dma_rx+0x294/0x378 [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: [<805072b8>]
b43_controller_restart+0x7a8/0x97c [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: Code: afab001c  0c0028c2
afa20020 <0200000d> 08066f05  00000000  8fbf002c  01201021  03e00008
Jan  1 04:03:40 OpenWrt user.warn kernel: Disabling lock debugging due
to kernel taint
Jan  1 04:03:40 OpenWrt user.err kernel: exiting task "irq/5-b43" (763)

is an active IRQ thread (irq 5)

#1 lore raw

Hey,

W dniu 29 maja 2011 13:20 u?ytkownik Hauke Mehrtens <[email protected]> napisa?:

Quoted 110 lines

Hi Rafa?,

I got some bug reports [0] in OpenWrt regarding a kernel panic because of b43. It occurs on BCM5354 devices, when they are in AP mode.

There was also a discussion about this on this mailing list some years ago. [1]

It happens after some time ( 3h to 2d ) without any load or anything not normal, in station mode this panic does not occur.
After the error occurred the CPU usage increases to 3.0 - 5.0 Sometimes "b43-phy0 ERROR: MAC suspend failed" is shown in the log before this panic.

Rafa? could you please have a look at the issue?

------
Hauke

[0]: https://dev.openwrt.org/ticket/9459
[1]: http://permalink.gmane.org/gmane.linux.drivers.bcm54xx.devel/10682

Kernel panic:

b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
......
b43-phy0 ERROR: DMA RX buffer too small (len: 42390, buffer: 2352,
nr-dropped: 19)
b43-phy0 ERROR: DMA RX buffer too small (len: 25505, buffer: 2352,
nr-dropped: 11)
b43-phy0 ERROR: DMA RX buffer too small (len: 19022, buffer: 2352,
nr-dropped: 9)
b43-phy0 ERROR: DMA RX buffer too small (len: 4189, buffer: 2352,
nr-dropped: 2)
b43-phy0 ERROR: DMA RX buffer too small (len: 37381, buffer: 2352,
nr-dropped: 16)
skb_over_panic: text:80c9a408 len:2378 put:2378 head:80eef000 data:80eef040 tail:0x80eef98a end:0x80eef980 dev:<NULL> Kernel bug detected[#1]:
Cpu 0

$ 0 ? : 00000000 1000b800 0000007c 00000001
$ 4 ? : 80293498 000020ed ffffffff 000020ed
$ 8 ? : 00004000 00000000 00000001 ffffffff
$12 ? : 0000000f 80253c78 ffffffff 00000000
$16 ? : 00eef040 0000092c 80eef040 819e0740
$20 ? : 81b3cb00 0000001e a1b4a1e0 80c9f978
$24 ? : 00000002 80166250
$28 ? : 81a46000 81a47db0 00000020 801a3d24
Hi ? ?: 00000000
Lo ? ?: 00000077
epc ? : 801a3d24 0x801a3d24
? ?Not tainted
ra ? ?: 801a3d24 0x801a3d24
Status: 1000b803 ? ?KERNEL EXL IE
Cause : 00800024
PrId ?: 00029029 (Broadcom BCM3302)
Modules linked in: xt_IMQ nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN
xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn
xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat
xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables
xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy sch_red b43
sch_sfq sch_hfsc cls_fw imq mac80211 ts_fsm ts_bm ts_kmp crc_ccitt
cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc
switch_robo switch_core diag
Process irq/5-b43 (pid: 895, threadinfo=81a46000, task=81ab45d0,
tls=00000000)
Stack : 00000000 80c9a408 0000094a 0000094a 80eef000 80eef040 80eef98a
80eef980
? ? ? ?8026e09c 0000001e a1b4a1e0 80c9a408 80c17ad4 00ff0000 000000e6
00010000
? ? ? ?819e2400 819e2400 80d31568 00ff0000 80c9f978 00010000 00010000
819e2400
? ? ? ?00008000 00010000 81b3ca24 00010000 802ce8c0 00000000 802953b4
80c872cc
? ? ? ?00010000 802ce8c0 80292f28 8001ce0c 819ea138 819ea138 80292f28
8001eba0
? ? ? ?...
Call Trace:[<80c9a408>] 0x80c9a408
[<80c9a408>] 0x80c9a408
[<80c872cc>] 0x80c872cc
[<8001ce0c>] 0x8001ce0c
[<8001eba0>] 0x8001eba0
[<8001cef8>] 0x8001cef8
[<80190bf4>] 0x80190bf4
[<80c87424>] 0x80c87424
[<80057480>] 0x80057480
[<8000af98>] 0x8000af98
[<80057304>] 0x80057304
[<80057304>] 0x80057304
[<8003db30>] 0x8003db30
[<8000f86c>] 0x8000f86c
[<8003dab4>] 0x8003dab4
[<8000f85c>] 0x8000f85c
Code: afab001c ?0c0028ff ?afa20020 <0200000d> 08068f4a ?00000000

8fbf002c ?01201021 ?03e00008
Disabling lock debugging due to kernel taint
exiting task "irq/5-b43" (895) is an active IRQ thread (irq 5)

Call Trace from an other report:

Quoted 12 lines

Jan ?1 04:03:40 OpenWrt user.warn kernel: Call Trace:
Jan ?1 04:03:40 OpenWrt user.warn kernel: [<8019bc10>] skb_put+0x74/0x90 Jan ?1 04:03:40 OpenWrt user.warn kernel: [<8051a3e8>] b43_dma_rx+0x294/0x378 [b43]
Jan ?1 04:03:40 OpenWrt user.warn kernel: [<805072b8>] b43_controller_restart+0x7a8/0x97c [b43]
Jan ?1 04:03:40 OpenWrt user.warn kernel: Code: afab001c ?0c0028c2 afa20020 <0200000d> 08066f05 ?00000000 ?8fbf002c ?01201021 ?03e00008 Jan ?1 04:03:40 OpenWrt user.warn kernel: Disabling lock debugging due to kernel taint
Jan ?1 04:03:40 OpenWrt user.err kernel: exiting task "irq/5-b43" (763) is an active IRQ thread (irq 5)

This sounds like duplicate of:
https://bugzilla.kernel.org/show_bug.cgi?id=32042

Larry fixed this issue, also CC-ing stable at kernel. I believe updating kernel or applying c85ce65ecac078ab1a1835c87c4a6319cf74660a manually will help :)

Signature · 1 line
Rafa?
#2 lore raw
Quoted 126 lines · Rafa? Mi?ecki

Hey,

W dniu 29 maja 2011 13:20 u?ytkownik Hauke Mehrtens<[email protected]> napisa?:

Quoted 121 lines

Hi Rafa?,

I got some bug reports [0] in OpenWrt regarding a kernel panic because of b43. It occurs on BCM5354 devices, when they are in AP mode.

There was also a discussion about this on this mailing list some years ago. [1]

It happens after some time ( 3h to 2d ) without any load or anything not normal, in station mode this panic does not occur.
After the error occurred the CPU usage increases to 3.0 - 5.0 Sometimes "b43-phy0 ERROR: MAC suspend failed" is shown in the log before this panic.

Rafa? could you please have a look at the issue?

------
Hauke

[0]: https://dev.openwrt.org/ticket/9459
[1]: http://permalink.gmane.org/gmane.linux.drivers.bcm54xx.devel/10682

Kernel panic:

b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
......
b43-phy0 ERROR: DMA RX buffer too small (len: 42390, buffer: 2352,
nr-dropped: 19)
b43-phy0 ERROR: DMA RX buffer too small (len: 25505, buffer: 2352,
nr-dropped: 11)
b43-phy0 ERROR: DMA RX buffer too small (len: 19022, buffer: 2352,
nr-dropped: 9)
b43-phy0 ERROR: DMA RX buffer too small (len: 4189, buffer: 2352,
nr-dropped: 2)
b43-phy0 ERROR: DMA RX buffer too small (len: 37381, buffer: 2352,
nr-dropped: 16)
skb_over_panic: text:80c9a408 len:2378 put:2378 head:80eef000 data:80eef040 tail:0x80eef98a end:0x80eef980 dev:<NULL> Kernel bug detected[#1]:
Cpu 0

$ 0   : 00000000 1000b800 0000007c 00000001
$ 4   : 80293498 000020ed ffffffff 000020ed
$ 8   : 00004000 00000000 00000001 ffffffff
$12   : 0000000f 80253c78 ffffffff 00000000
$16   : 00eef040 0000092c 80eef040 819e0740
$20   : 81b3cb00 0000001e a1b4a1e0 80c9f978
$24   : 00000002 80166250
$28   : 81a46000 81a47db0 00000020 801a3d24
Hi    : 00000000
Lo    : 00000077
epc   : 801a3d24 0x801a3d24
    Not tainted
ra    : 801a3d24 0x801a3d24
Status: 1000b803    KERNEL EXL IE
Cause : 00800024
PrId  : 00029029 (Broadcom BCM3302)
Modules linked in: xt_IMQ nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN
xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn
xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat
xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables
xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy sch_red b43
sch_sfq sch_hfsc cls_fw imq mac80211 ts_fsm ts_bm ts_kmp crc_ccitt
cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc
switch_robo switch_core diag
Process irq/5-b43 (pid: 895, threadinfo=81a46000, task=81ab45d0,
tls=00000000)
Stack : 00000000 80c9a408 0000094a 0000094a 80eef000 80eef040 80eef98a
80eef980
        8026e09c 0000001e a1b4a1e0 80c9a408 80c17ad4 00ff0000 000000e6
00010000
        819e2400 819e2400 80d31568 00ff0000 80c9f978 00010000 00010000
819e2400
        00008000 00010000 81b3ca24 00010000 802ce8c0 00000000 802953b4
80c872cc
        00010000 802ce8c0 80292f28 8001ce0c 819ea138 819ea138 80292f28
8001eba0
        ...
Call Trace:[<80c9a408>] 0x80c9a408
[<80c9a408>] 0x80c9a408
[<80c872cc>] 0x80c872cc
[<8001ce0c>] 0x8001ce0c
[<8001eba0>] 0x8001eba0
[<8001cef8>] 0x8001cef8
[<80190bf4>] 0x80190bf4
[<80c87424>] 0x80c87424
[<80057480>] 0x80057480
[<8000af98>] 0x8000af98
[<80057304>] 0x80057304
[<80057304>] 0x80057304
[<8003db30>] 0x8003db30
[<8000f86c>] 0x8000f86c
[<8003dab4>] 0x8003dab4
[<8000f85c>] 0x8000f85c
Code: afab001c  0c0028ff  afa20020<0200000d>  08068f4a  00000000

8fbf002c 01201021 03e00008
Disabling lock debugging due to kernel taint
exiting task "irq/5-b43" (895) is an active IRQ thread (irq 5)

Call Trace from an other report:

Jan  1 04:03:40 OpenWrt user.warn kernel: Call Trace:
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8019bc10>] skb_put+0x74/0x90
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8051a3e8>]
b43_dma_rx+0x294/0x378 [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: [<805072b8>]
b43_controller_restart+0x7a8/0x97c [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: Code: afab001c  0c0028c2
afa20020<0200000d>  08066f05  00000000  8fbf002c  01201021  03e00008
Jan  1 04:03:40 OpenWrt user.warn kernel: Disabling lock debugging due
to kernel taint
Jan  1 04:03:40 OpenWrt user.err kernel: exiting task "irq/5-b43" (763)
Quoted 1 line

is an active IRQ thread (irq 5)

Quoted 6 lines

This sounds like duplicate of:
https://bugzilla.kernel.org/show_bug.cgi?id=32042

Larry fixed this issue, also CC-ing stable at kernel. I believe updating kernel or applying c85ce65ecac078ab1a1835c87c4a6319cf74660a manually will help :)

This may not be the same issue as the buffer lengths in the panic message are very large.

For the record, John Linville fixed that issue.

Larry

#3 lore raw

W dniu 29 maja 2011 16:39 u?ytkownik Larry Finger
<[email protected]> napisa?:

Quoted 133 lines · Rafa? Mi?ecki
Quoted 132 lines

Hey,

W dniu 29 maja 2011 13:20 u?ytkownik Hauke Mehrtens<[email protected]> ?napisa?:

Quoted 111 lines

Hi Rafa?,

I got some bug reports [0] in OpenWrt regarding a kernel panic because of b43. It occurs on BCM5354 devices, when they are in AP mode.

There was also a discussion about this on this mailing list some years ago. [1]

It happens after some time ( 3h to 2d ) without any load or anything not normal, in station mode this panic does not occur.
After the error occurred the CPU usage increases to 3.0 - 5.0 Sometimes "b43-phy0 ERROR: MAC suspend failed" is shown in the log before this panic.

Rafa? could you please have a look at the issue?

------
Hauke

[0]: https://dev.openwrt.org/ticket/9459
[1]: http://permalink.gmane.org/gmane.linux.drivers.bcm54xx.devel/10682

Kernel panic:

b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
......
b43-phy0 ERROR: DMA RX buffer too small (len: 42390, buffer: 2352,
nr-dropped: 19)
b43-phy0 ERROR: DMA RX buffer too small (len: 25505, buffer: 2352,
nr-dropped: 11)
b43-phy0 ERROR: DMA RX buffer too small (len: 19022, buffer: 2352,
nr-dropped: 9)
b43-phy0 ERROR: DMA RX buffer too small (len: 4189, buffer: 2352,
nr-dropped: 2)
b43-phy0 ERROR: DMA RX buffer too small (len: 37381, buffer: 2352,
nr-dropped: 16)
skb_over_panic: text:80c9a408 len:2378 put:2378 head:80eef000 data:80eef040 tail:0x80eef98a end:0x80eef980 dev:<NULL> Kernel bug detected[#1]:
Cpu 0

$ 0 ? : 00000000 1000b800 0000007c 00000001
$ 4 ? : 80293498 000020ed ffffffff 000020ed
$ 8 ? : 00004000 00000000 00000001 ffffffff
$12 ? : 0000000f 80253c78 ffffffff 00000000
$16 ? : 00eef040 0000092c 80eef040 819e0740
$20 ? : 81b3cb00 0000001e a1b4a1e0 80c9f978
$24 ? : 00000002 80166250
$28 ? : 81a46000 81a47db0 00000020 801a3d24
Hi ? ?: 00000000
Lo ? ?: 00000077
epc ? : 801a3d24 0x801a3d24
? ?Not tainted
ra ? ?: 801a3d24 0x801a3d24
Status: 1000b803 ? ?KERNEL EXL IE
Cause : 00800024
PrId ?: 00029029 (Broadcom BCM3302)
Modules linked in: xt_IMQ nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK ipt_ECN
xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn
xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat
xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes
xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4
nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment
xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables
xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy sch_red b43
sch_sfq sch_hfsc cls_fw imq mac80211 ts_fsm ts_bm ts_kmp crc_ccitt
cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc
switch_robo switch_core diag
Process irq/5-b43 (pid: 895, threadinfo=81a46000, task=81ab45d0,
tls=00000000)
Stack : 00000000 80c9a408 0000094a 0000094a 80eef000 80eef040 80eef98a
80eef980
? ? ? ?8026e09c 0000001e a1b4a1e0 80c9a408 80c17ad4 00ff0000 000000e6
00010000
? ? ? ?819e2400 819e2400 80d31568 00ff0000 80c9f978 00010000 00010000
819e2400
? ? ? ?00008000 00010000 81b3ca24 00010000 802ce8c0 00000000 802953b4
80c872cc
? ? ? ?00010000 802ce8c0 80292f28 8001ce0c 819ea138 819ea138 80292f28
8001eba0
? ? ? ?...
Call Trace:[<80c9a408>] 0x80c9a408
[<80c9a408>] 0x80c9a408
[<80c872cc>] 0x80c872cc
[<8001ce0c>] 0x8001ce0c
[<8001eba0>] 0x8001eba0
[<8001cef8>] 0x8001cef8
[<80190bf4>] 0x80190bf4
[<80c87424>] 0x80c87424
[<80057480>] 0x80057480
[<8000af98>] 0x8000af98
[<80057304>] 0x80057304
[<80057304>] 0x80057304
[<8003db30>] 0x8003db30
[<8000f86c>] 0x8000f86c
[<8003dab4>] 0x8003dab4
[<8000f85c>] 0x8000f85c
Code: afab001c ?0c0028ff ?afa20020<0200000d> ?08068f4a ?00000000

8fbf002c ?01201021 ?03e00008
Disabling lock debugging due to kernel taint
exiting task "irq/5-b43" (895) is an active IRQ thread (irq 5)

Call Trace from an other report:

Quoted 12 lines

Jan ?1 04:03:40 OpenWrt user.warn kernel: Call Trace:
Jan ?1 04:03:40 OpenWrt user.warn kernel: [<8019bc10>] skb_put+0x74/0x90 Jan ?1 04:03:40 OpenWrt user.warn kernel: [<8051a3e8>] b43_dma_rx+0x294/0x378 [b43]
Jan ?1 04:03:40 OpenWrt user.warn kernel: [<805072b8>] b43_controller_restart+0x7a8/0x97c [b43]
Jan ?1 04:03:40 OpenWrt user.warn kernel: Code: afab001c ?0c0028c2 afa20020<0200000d> ?08066f05 ?00000000 ?8fbf002c ?01201021 ?03e00008 Jan ?1 04:03:40 OpenWrt user.warn kernel: Disabling lock debugging due to kernel taint
Jan ?1 04:03:40 OpenWrt user.err kernel: exiting task "irq/5-b43" (763) is an active IRQ thread (irq 5)

This sounds like duplicate of:
https://bugzilla.kernel.org/show_bug.cgi?id=32042

Quoted 8 lines
Quoted 3 lines

Larry fixed this issue, also CC-ing stable at kernel. I believe updating kernel or applying c85ce65ecac078ab1a1835c87c4a6319cf74660a manually will help :)

This may not be the same issue as the buffer lengths in the panic message are very large.

For the record, John Linville fixed that issue.

You're right, sorry for the false reference to fix.

This is just another issue with firmware on BCM5354.

Signature · 1 line
Rafa?
#4 lore raw

I have not tested this issue for a while now.
I will set up the latest OpenWrt trunk with the old firmware and current b43 driver on a broadcom 5354
and stress test it over the next few days and report back

The more recent firmware still crashes with the b43 driver on the broadcom 5354 chip set,
I tested it last week.

cheers
----------------------------------------------------------
Chris Martin
m: +61 419 812 371
----------------------------------------------------------

2011/5/30 Rafa? Mi?ecki <[email protected]>

Quoted 152 lines

W dniu 29 maja 2011 16:39 u?ytkownik Larry Finger
<[email protected]> napisa?:

Quoted 9 lines · Rafa? Mi?ecki
Quoted 8 lines

Hey,

W dniu 29 maja 2011 13:20 u?ytkownik Hauke Mehrtens<[email protected]>
napisa?:

Quoted 3 lines

Hi Rafa?,

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

I got some bug reports [0] in OpenWrt regarding a kernel panic because of b43. It occurs on BCM5354 devices, when they are in AP mode.

There was also a discussion about this on this mailing list some years ago. [1]

It happens after some time ( 3h to 2d ) without any load or anything

not

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

normal, in station mode this panic does not occur. After the error occurred the CPU usage increases to 3.0 - 5.0 Sometimes "b43-phy0 ERROR: MAC suspend failed" is shown in the log before this panic.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Rafa? could you please have a look at the issue?

------
Hauke

[0]: https://dev.openwrt.org/ticket/9459
[1]:

http://permalink.gmane.org/gmane.linux.drivers.bcm54xx.devel/10682

Quoted 32 lines
Quoted 32 lines
Quoted 32 lines


Kernel panic:

b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
......
b43-phy0 ERROR: DMA RX buffer too small (len: 42390, buffer: 2352,
nr-dropped: 19)
b43-phy0 ERROR: DMA RX buffer too small (len: 25505, buffer: 2352,
nr-dropped: 11)
b43-phy0 ERROR: DMA RX buffer too small (len: 19022, buffer: 2352,
nr-dropped: 9)
b43-phy0 ERROR: DMA RX buffer too small (len: 4189, buffer: 2352,
nr-dropped: 2)
b43-phy0 ERROR: DMA RX buffer too small (len: 37381, buffer: 2352,
nr-dropped: 16)
skb_over_panic: text:80c9a408 len:2378 put:2378 head:80eef000 data:80eef040 tail:0x80eef98a end:0x80eef980 dev:<NULL> Kernel bug detected[#1]:
Cpu 0

$ 0   : 00000000 1000b800 0000007c 00000001
$ 4   : 80293498 000020ed ffffffff 000020ed
$ 8   : 00004000 00000000 00000001 ffffffff
$12   : 0000000f 80253c78 ffffffff 00000000
$16   : 00eef040 0000092c 80eef040 819e0740
$20   : 81b3cb00 0000001e a1b4a1e0 80c9f978
$24   : 00000002 80166250
$28   : 81a46000 81a47db0 00000020 801a3d24
Hi    : 00000000
Lo    : 00000077
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

epc : 801a3d24 0x801a3d24
Not tainted
ra : 801a3d24 0x801a3d24
Status: 1000b803 KERNEL EXL IE
Cause : 00800024
PrId : 00029029 (Broadcom BCM3302)

Modules linked in: xt_IMQ nf_nat_tftp nf_conntrack_tftp nf_nat_irc

nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_MARK

ipt_ECN

Quoted 47 lines
Quoted 47 lines
Quoted 47 lines

xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length ipt_ecn xt_DSCP xt_dscp xt_string xt_layer7 ipt_MASQUERADE iptable_nat nf_nat xt_CONNMARK xt_recent xt_helper xt_conntrack xt_connmark xt_connbytes xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc b43legacy sch_red b43 sch_sfq sch_hfsc cls_fw imq mac80211 ts_fsm ts_bm ts_kmp crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc switch_robo switch_core diag
Process irq/5-b43 (pid: 895, threadinfo=81a46000, task=81ab45d0, tls=00000000)
Stack : 00000000 80c9a408 0000094a 0000094a 80eef000 80eef040 80eef98a 80eef980

       8026e09c 0000001e a1b4a1e0 80c9a408 80c17ad4 00ff0000 000000e6
00010000
       819e2400 819e2400 80d31568 00ff0000 80c9f978 00010000 00010000
819e2400
       00008000 00010000 81b3ca24 00010000 802ce8c0 00000000 802953b4
80c872cc
       00010000 802ce8c0 80292f28 8001ce0c 819ea138 819ea138 80292f28
8001eba0
       ...
Call Trace:[<80c9a408>] 0x80c9a408

[<80c9a408>] 0x80c9a408
[<80c872cc>] 0x80c872cc
[<8001ce0c>] 0x8001ce0c
[<8001eba0>] 0x8001eba0
[<8001cef8>] 0x8001cef8
[<80190bf4>] 0x80190bf4
[<80c87424>] 0x80c87424
[<80057480>] 0x80057480
[<8000af98>] 0x8000af98
[<80057304>] 0x80057304
[<80057304>] 0x80057304
[<8003db30>] 0x8003db30
[<8000f86c>] 0x8000f86c
[<8003dab4>] 0x8003dab4
[<8000f85c>] 0x8000f85c

Code: afab001c  0c0028ff  afa20020<0200000d>  08068f4a  00000000

8fbf002c 01201021 03e00008
Disabling lock debugging due to kernel taint
exiting task "irq/5-b43" (895) is an active IRQ thread (irq 5)

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Call Trace from an other report:

Jan  1 04:03:40 OpenWrt user.warn kernel: Call Trace:
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8019bc10>]

skb_put+0x74/0x90

Quoted 14 lines
Quoted 14 lines
Quoted 10 lines
Jan  1 04:03:40 OpenWrt user.warn kernel: [<8051a3e8>]
b43_dma_rx+0x294/0x378 [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: [<805072b8>]
b43_controller_restart+0x7a8/0x97c [b43]
Jan  1 04:03:40 OpenWrt user.warn kernel: Code: afab001c  0c0028c2
afa20020<0200000d>  08066f05  00000000  8fbf002c  01201021  03e00008
Jan  1 04:03:40 OpenWrt user.warn kernel: Disabling lock debugging due
to kernel taint
Jan  1 04:03:40 OpenWrt user.err kernel: exiting task "irq/5-b43" (763)

is an active IRQ thread (irq 5)

This sounds like duplicate of:
https://bugzilla.kernel.org/show_bug.cgi?id=32042

Quoted 8 lines
Quoted 3 lines

Larry fixed this issue, also CC-ing stable at kernel. I believe updating kernel or applying c85ce65ecac078ab1a1835c87c4a6319cf74660a manually will help :)

This may not be the same issue as the buffer lengths in the panic message are very large.

For the record, John Linville fixed that issue.

You're right, sorry for the false reference to fix.

This is just another issue with firmware on BCM5354.

Quoted 8 lines

--
Rafa?

_______________________________________________
b43-dev mailing list
b43-dev at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/b43-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110530/7df08918/attachment-0001.html>

#5 lore raw
Quoted 1 line · chris at martin.cc

The more recent firmware still crashes with the b43 driver on the broadcom

5354 chip set,

Quoted 1 line

I tested it last week.

Is this out of memory crash that happens with newer firmware?

Can you provide info about phy version and revision coming from dmesg with debugging enabled?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110531/ac5def5d/attachment.html>