Modify

Opened 5 years ago

Last modified 4 years ago

#12861 accepted defect

Unhandled kernel unaligned access on WL700gE in b43

Reported by: Lieta Owned by: hauke
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: crash WL700gE b43 Cc:

Description

I get
[sched_delayed] sched: RT throttling activated
and
Unhandled kernel unaligned access
when I start torrent download on PC connected to LAN port of router.
Dump:
[ 1064.912000] [sched_delayed] sched: RT throttling activated
[ 1123.212000] Unhandled kernel unaligned access#1:
[ 1123.212000] Cpu 0
[ 1123.212000] $ 0 : 00000000 1000dc00 b54e6225 b54e6235
[ 1123.212000] $ 4 : 00010000 00010000 8108220c 00000024
[ 1123.212000] $ 8 : 00000020 81080000 00000004 00000001
[ 1123.212000] $12 : 82c11f90 00000000 00000000 0000003c
[ 1123.212000] $16 : 82d81bc0 00000001 802acc10 802e0000
[ 1123.212000] $20 : 00000006 00000008 808e0000 808e0000
[ 1123.212000] $24 : 00000000 801f5e6c
[ 1123.212000] $28 : 82fa4000 82fa5ca0 00208140 801baa1c
[ 1123.212000] Hi : 00000000
[ 1123.212000] Lo : 00000000
[ 1123.212000] epc : 8006c140 put_page+0x34/0xbc
[ 1123.212000] Tainted: G O
[ 1123.212000] ra : 801baa1c skb_release_data+0xf8/0x178
[ 1123.212000] Status: 1000dc03 KERNEL EXL IE
[ 1123.212000] Cause : 00800010
[ 1123.212000] BadVA : b54e6235
[ 1123.212000] PrId : 00029006 (Broadcom BMIPS3300)
[ 1123.212000] Modules linked in: ide_gd_mod aec62xx ide_core usb_storage ohci_hcd nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc ext4 jbd2 mbcache b43legacy(O) b43(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt cfg80211(O) compat(O) ssb_hcd bcma_hcd arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_robo(O) switch_core(O) b44 diag(O)
[ 1123.212000] Process irq/6-b43 (pid: 941, threadinfo=82fa4000, task=82c031b8, tls=00000000)
[ 1123.212000] Stack : 82d10bc8 00000000 00000040 838c8560 82d81bc0 82d81bc0 82c29460 801baab8

802d0000 801c487c 838c8560 82d81bc0 82d81bc0 801c3a60 82fa5cd8 82fa5cd8
808e1204 00000007 00000001 808e1208 00000003 00000002 00000100 800204d0
00ff0000 8005826c 802d0000 00010000 fffffffe 802d0000 1000dc00 82d74000
00ff0000 8005826c 802d0000 00010000 fffffffe 802d0000 80060000 80020760
...

[ 1123.212000] Call Trace:
[ 1123.212000] [<8006c140>] put_page+0x34/0xbc
[ 1123.212000] [<801baa1c>] skb_release_data+0xf8/0x178
[ 1123.212000] [<801baab8>] kfree_skb+0x1c/0x1b8
[ 1123.212000] [<801c3a60>] net_tx_action+0xa0/0x1e0
[ 1123.212000] [<800204d0>]
do_softirq+0xc8/0x1b4
[ 1123.212000] [<80020760>] do_softirq+0x5c/0x94
[ 1123.212000] [<80020994>] irq_exit+0x4c/0x7c
[ 1123.212000] [<80005744>] ret_from_irq+0x0/0x4
[ 1123.212000] [<8025992c>] mutex_unlock+0x18/0xa0
[ 1123.212000] [<82f07a24>] b43_controller_restart+0x860/0xa3c [b43]
[ 1123.212000] [<801a3f24>] ssb_pci_write32+0x0/0x94
[ 1123.212000]
[ 1123.212000]
Code: 00a42024 10800008 00000000 <c0640000> 2485ffff e0650000 10a0fffc 00000000 0801b06c
[ 1123.472000] ---[ end trace 562f8b910bfe7f02 ]---
[ 1123.484000] Kernel panic - not syncing: Fatal exception in interrupt
[ 1123.484000] Rebooting in 3 seconds..

Tried to fix it by
sysctl -w kernel.sched_rt_runtime_us=-1
as noted here:
https://patchwork.kernel.org/patch/1607891/
Now there is no
[sched_delayed] sched: RT throttling activated
but the crash persists:
[ 1539.296000] Unhandled kernel unaligned access#1:
[ 1539.296000] Cpu 0
[ 1539.296000] $ 0 : 00000000 1000dc00 83ab8908 00000028
[ 1539.296000] $ 4 : 25fb2f2a 82d6ab60 8108220c 0000002d
[ 1539.296000] $ 8 : 00000020 81080000 00000004 00000001
[ 1539.296000] $12 : 8301d410 00000000 00000000 00000000
[ 1539.296000] $16 : 83b8fb60 00000001 802acc10 802e0000
[ 1539.296000] $20 : 00000009 00000008 808e0000 808e0000
[ 1539.296000] $24 : 00000000 82ee0d68
[ 1539.296000] $28 : 82c26000 82c27ce8 00208140 801baa1c
[ 1539.296000] Hi : 00000000
[ 1539.296000] Lo : 00000000
[ 1539.296000] epc : 8006c10c put_page+0x0/0xbc
[ 1539.296000] Tainted: G O
[ 1539.296000] ra : 801baa1c skb_release_data+0xf8/0x178
[ 1539.296000] Status: 1000dc03 KERNEL EXL IE
[ 1539.296000] Cause : 00800010
[ 1539.296000] BadVA : 25fb2f2a
[ 1539.296000] PrId : 00029006 (Broadcom BMIPS3300)
[ 1539.296000] Modules linked in: ide_gd_mod aec62xx ide_core usb_storage ohci_hcd nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc ext4 jbd2 mbcache b43legacy(O) b43(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt cfg80211(O) compat(O) ssb_hcd bcma_hcd arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_robo(O) switch_core(O) b44 diag(O)
[ 1539.296000] Process irq/6-b43 (pid: 932, threadinfo=82c26000, task=83022540, tls=00000000)
[ 1539.296000] Stack : 83be06e8 82ee0e08 00000040 830528e0 82d6ab60 83b8fb60 82c0e460 801baab8

802d0000 801c487c 82d6ab60 83b8fb60 83b8fb60 801c3a60 82c27d20 82c27d20
808e1204 00000007 00000001 808e1208 00000003 00000002 00000100 800204d0
802d0a80 8005826c 802d0000 00010000 fffffffe 802d0000 1000dc00 838de680
802d0a80 8005826c 802d0000 00010000 fffffffe 802d0000 80060000 80020760
...

[ 1539.296000] Call Trace:
[ 1539.296000] [<8006c10c>] put_page+0x0/0xbc
[ 1539.296000] [<801baa1c>] skb_release_data+0xf8/0x178
[ 1539.296000] [<801baab8>] kfree_skb+0x1c/0x1b8
[ 1539.296000] [<801c3a60>] net_tx_action+0xa0/0x1e0
[ 1539.296000] [<800204d0>]
do_softirq+0xc8/0x1b4
[ 1539.296000] [<80020760>] do_softirq+0x5c/0x94
[ 1539.296000] [<80020994>] irq_exit+0x4c/0x7c
[ 1539.296000] [<80005744>] ret_from_irq+0x0/0x4
[ 1539.296000] [<80059974>] note_interrupt+0xc/0x388
[ 1539.296000] [<80057e78>] irq_thread+0xcc/0x1fc
[ 1539.296000] [<80036d3c>] kthread+0x88/0x90
[ 1539.296000] [<800074c4>] kernel_thread_helper+0x10/0x18
[ 1539.296000]
[ 1539.296000]
Code: 3c058007 0801afe7 24a5b038 <8c830000> 3063c000 10600003 00801021 0801ad70 00000000
[ 1539.560000] ---[ end trace 87b1ad3ff1329b4e ]---
[ 1539.568000] Kernel panic - not syncing: Fatal exception in interrupt
[ 1539.568000] ------------[ cut here ]------------
[ 1539.568000] WARNING: at lib/vsprintf.c:1376 vsnprintf+0x6c/0x3a4()
[ 1539.568000] Modules linked in: ide_gd_mod aec62xx ide_core usb_storage ohci_hcd nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables tun ppp_async ppp_generic slhc ext4 jbd2 mbcache b43legacy(O) b43(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc16 crc_ccitt cfg80211(O) compat(O) ssb_hcd bcma_hcd arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi switch_robo(O) switch_core(O) b44 diag(O)
[ 1539.568000] Call Trace:
[ 1539.568000] [<80255ee4>] dump_stack+0x8/0x34
[ 1539.568000] [<80018078>] warn_slowpath_common+0x78/0xa4
[ 1539.568000] [<800180bc>] warn_slowpath_null+0x18/0x24
[ 1539.568000] [<80130cd8>] vsnprintf+0x6c/0x3a4
[ 1539.568000] [<8005c67c>] crashlog_printf+0x4c/0x68
[ 1539.568000] [<8005c6ec>] crashlog_do_dump+0x54/0x138
[ 1539.568000] [<8001b788>] kmsg_dump+0x10c/0x148
[ 1539.568000] [<80255fb4>] panic+0xa4/0x1e4
[ 1539.568000] [<8000b168>] die+0x138/0x140
[ 1539.568000] [<8000c83c>] do_ade+0x35c/0x380
[ 1539.568000] [<80005720>] ret_from_exception+0x0/0x24
[ 1539.568000] [<8006c10c>] put_page+0x0/0xbc
[ 1539.568000] [<801baa1c>] skb_release_data+0xf8/0x178
[ 1539.568000] [<801baab8>] kfree_skb+0x1c/0x1b8
[ 1539.568000] [<801c3a60>] net_tx_action+0xa0/0x1e0
[ 1539.568000] [<800204d0>]
do_softirq+0xc8/0x1b4
[ 1539.568000] [<80020760>] do_softirq+0x5c/0x94
[ 1539.568000] [<80020994>] irq_exit+0x4c/0x7c
[ 1539.568000] [<80005744>] ret_from_irq+0x0/0x4
[ 1539.568000] [<80059974>] note_interrupt+0xc/0x388
[ 1539.568000] [<80057e78>] irq_thread+0xcc/0x1fc
[ 1539.568000] [<80036d3c>] kthread+0x88/0x90
[ 1539.568000] [<800074c4>] kernel_thread_helper+0x10/0x18
[ 1539.568000]
[ 1539.568000] ---[ end trace 87b1ad3ff1329b4f ]---
[ 1539.568000] Rebooting in 3 seconds..

Attachments (1)

crash_on_torrent_start.zip (14.2 KB) - added by Lieta 5 years ago.
both crashes and startup dump

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by Lieta

both crashes and startup dump

comment:1 Changed 5 years ago by hauke

  • Owner changed from developers to hauke
  • Status changed from new to accepted

comment:2 Changed 5 years ago by Lieta

I added WiFi USB stick and rt2800usb driver. Disabled built-in BCM4318 WiFi and enabled rt2800usb WiFi. Now when I start torrent download there is no kernel panic, but
bcm47xx_wdt: Watchdog will fire soon!!!
and router restart.

comment:3 Changed 5 years ago by Lieta

I think this issue is the same as reported in #11091.

comment:4 Changed 4 years ago by hauke

Could you try a recent trunk build please and report back if this "Unhandled kernel unaligned access" problem still exists?

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.