Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1650 - Kernel panic when activating ad-hoc mode on 5GHz interface of Linksys E3000 #7952

Closed
openwrt-bot opened this issue Jul 13, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

Arduous:

17.01.2, r3435-65eec8bd5f
root@E3000-test03:~# cat /proc/cpuinfo
system type : Broadcom BCM4716
machine : Linksys E3000 V1

iw - 4.9-1
iwinfo - 2016-09-21-fd9e17be-1
kernel - 4.4.71-1-3793d10ad2a0edb9d5642f8f862068f3
kmod-b43 - 4.4.71+2017-01-31-2 (open source driver, not the bcm binary)

Once the the 5GHz wireless interface is brought up an error occurs leading to a kernel panic and reboot. I know there are many gotchas with [[https://openwrt.org/docs/techref/hardware/soc/soc.broadcom.bcm47xx| BCM47xx]] and the Wi-Fi but I think the 5GHz should be working, and was working, in my mind, with previous OpenWRT releases
I reproduced on two different units to rule out an hardware issue.
How to reproduce:

  1. http://192.168.1.1/cgi-bin/luci/admin/network/wireless
  2. Generic MAC80211 802.11a (radio1) click scan

Avoid doing it through UCI configuration... I had to recover the unit from the bootloop through serial failsafe mode (as I think network 192.168.1.1 + ssh does not work on E3000)

Below is the system log excerpt with the error, attach is the full bootlog

[   28.904044] b43-phy1: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   28.959863] Data bus error, epc == 8016d7d0, ra == 801de8f0
[   28.965535] Oops[#1]:
[   28.967865] CPU: 0 PID: 974 Comm: ip Not tainted 4.4.71 #0
[   28.973439] task: 8399f758 ti: 833bc000 task.ti: 833bc000
[   28.978921] $ 0   : 00000000 1100b400 00000002 1100b403
[   28.984279] $ 4   : a80003fa 838b4058 00000108 00007000
[   28.989620] $ 8   : 00000023 00000000 00000001 00000006
[   28.994962] $12   : 00000000 00000000 00000000 771ff2b0
[   29.000303] $16   : 838b4000 838b4058 000003fa 838b4328
[   29.005645] $20   : 838b4034 0000029a 00000002 00000001
[   29.010987] $24   : 00000001 801de8a8
[   29.016328] $28   : 833bc000 833bdb38 00000001 801de8f0
[   29.021671] Hi    : 00000000
[   29.024601] Lo    : 0f5c28f6
[   29.027540] epc   : 8016d7d0 0x8016d7d0
[   29.031436] ra    : 801de8f0 0x801de8f0
[   29.035328] Status: 1100b403 KERNEL EXL IE
[   29.039608] Cause : c080801c (ExcCode 07)
[   29.043682] PrId  : 00019740 (MIPS 74Kc)
[   29.047665] Modules linked in: pppoe ppp_async iptable_nat b43 pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 b
gmac_bcma xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect n
f_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat bgmac_bcma_mdio
 bgmac ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ipip tunnel4 ip_tunnel leds_gpio ohci_platform ohci_hcd ehci_plat
form ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd bcma_hcd
[   29.117647] Process ip (pid: 974, threadinfo=833bc000, task=8399f758, tls=772fcd48)
[   29.125413] Stack : 31303228 32302d31 00000000 00000000 00000000 771ff2b0 803d0000 803bb908
          00000000 00000000 803b0000 00000001 803b0000 803d0000 00000000 00000080
          00000004 838b4000 838b4058 801de72c 838b4058 801de84c 00000001 801eb57c
          cf14e000 838b4000 838b4058 801de72c 00000000 83213a94 1100b400 803b22ec
          00000080 83248ee0 00000074 838b4000 838b4058 833bdbf0 838b4058 801de8d0
          ...

[   29.161747] Call Trace:[<801de72c>] 0x801de72c
[   29.166316] [<801de84c>] 0x801de84c
[   29.169869] [<801eb57c>] 0x801eb57c
[   29.173421] [<801de72c>] 0x801de72c
[   29.176979] [<83213a94>] 0x83213a94 [b43@83200000+0x55470]
[   29.182564] [<801de8d0>] 0x801de8d0
[   29.186129] [<801de8d0>] 0x801de8d0
[   29.189688] [<83213a30>] 0x83213a30 [b43@83200000+0x55470]
[   29.195273] [<83212284>] 0x83212284 [b43@83200000+0x55470]
[   29.200856] [<83212948>] 0x83212948 [b43@83200000+0x55470]
[   29.206448] [<83216f5c>] 0x83216f5c [b43@83200000+0x55470]
[   29.212035] [<801de72c>] 0x801de72c
[   29.215589] [<801de2e8>] 0x801de2e8
[   29.219147] [<801de72c>] 0x801de72c
[   29.222717] [<832131b8>] 0x832131b8 [b43@83200000+0x55470]
[   29.228310] [<83213230>] 0x83213230 [b43@83200000+0x55470]
[   29.233907] [<83206be0>] 0x83206be0 [b43@83200000+0x55470]
[   29.239508] [<83207560>] 0x83207560 [b43@83200000+0x55470]
[   29.245103] [<83182ff8>] 0x83182ff8 [mac80211@83180000+0x60840]
[   29.251137] [<831960f8>] 0x831960f8 [mac80211@83180000+0x60840]
[   29.257164] [<8020ae74>] 0x8020ae74
[   29.260716] [<8020b17c>] 0x8020b17c
[   29.264271] [<800942ec>] 0x800942ec
[   29.267826] [<8020b260>] 0x8020b260
[   29.271378] [<80220278>] 0x80220278
[   29.274926] [<800947cc>] 0x800947cc
[   29.278489] [<80273c24>] 0x80273c24
[   29.282047] [<801ef848>] 0x801ef848
[   29.285607] [<800bb1e8>] 0x800bb1e8
[   29.289156] [<800abffc>] 0x800abffc
[   29.292708] [<800bdb34>] 0x800bdb34
[   29.296260] [<801ee328>] 0x801ee328
[   29.299810] [<800c4400>] 0x800c4400
[   29.303366] [<800bb2f0>] 0x800bb2f0
[   29.306915] [<80003338>] 0x80003338
[   29.310473] [<80003534>] 0x80003534
[   29.314021] [<80032454>] 0x80032454
[   29.317574]
[   29.319092]
Code: 03e00008  304200ff  94820000 <03e00008> 3042ffff  8c820000  03e00008  00000000  308400ff
[   29.329590] ---[ end trace 0da69daa4aff2f70 ]---
[   29.338332] Fatal exception: panic in 5 seconds
[   29.867482] br-lan: port 1(eth0.1) entered forwarding state
[   34.347656] Kernel panic - not syncing: Fatal exception
[   34.355247] Rebooting in 3 seconds..
@openwrt-bot
Copy link
Author

Arduous:

please rename to:

Kernel panic when activating 5GHz interface of Linksys E3000

@openwrt-bot
Copy link
Author

Arduous:

I think it is the same [[https://dev.archive.openwrt.org/ticket/20136|defect]] already identified on OpenWRT 3 years ago.

I gave it a try with kmod-brcm-wl and wl. here, the wl1 interface is even not available

root@E3000-test01:~# wl -i wl0 status
Not associated. Last associated with SSID: ""
root@E3000-test01:~# wl -i wl1 status
wl: wl driver adapter not found

With some hints in the boot log where only wl0 is found

[   16.925783] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.870207] wl: module license 'unspecified' taints kernel.
[   17.875886] Disabling lock debugging due to kernel taint
[   18.002583] wl0: Broadcom BCM4329 802.11 Wireless Controller 5.10.56.27
[   18.009661] SSB/BCMA glue driver successfully attached
[   18.266512] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.297590] ip_tables: (C) 2000-2006 Netfilter Core Team

I downgraded to CHAOS CALMER (15.05.1, r48532), and the result is identical for both kmod-b43 and kmod-brcm-wl.

E3000 with 5GHz interface in my mind was in fact the unit in its WRT610 (prior to conversion) configuration with DD-WRT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant