[OpenWrt-Devel] Wifi-related kernel-oops on mt7621 after 4.14 update

John Crispin john at phrozen.org
Thu Apr 12 07:02:22 EDT 2018



On 12/04/18 12:42, Kristian Evensen wrote:
> Hello,
>
> I have recently updated some ramips mt7621-devices (ZBT WG3526) to the
> latest nightly. Almost everything seems to work fine, but using either
> wifi interface in client mode seems triggers an oops. I see two
> different oops-messages:
>
> Message 1:
> [   66.442802] CPU 1 Unable to handle kernel paging request at virtual
> address e9e9e0d5, epc == 8f3e060c, ra == 8ec86fac
> [   66.453460] Oops[#1]:
> [   66.455743] CPU: 1 PID: 3679 Comm: wifib Tainted: G        W       4.14.32 #0
> [   66.462857] task: 8e223200 task.stack: 8e1b4000
> [   66.467374] $ 0   : 00000000 00000001 7abc2e80 00000020
> [   66.472612] $ 4   : 8ec48bc0 8e76dc20 e9e9dae0 8e1b5848
> [   66.477847] $ 8   : 8ec4902c 80452968 00ee4000 ffffff80
> [   66.483061] $12   : 80583f8c 00000040 00000000 77f0f3c0
> [   66.488276] $16   : 8ec49560 8f578000 8e76d480 8ec48bc0
> [   66.493493] $20   : 00000000 00000002 8e1b5cb8 00000008
> [   66.498711] $24   : 00000000 77e74ff0
> [   66.503937] $28   : 8e1b4000 8e1b5780 00000000 8ec86fac
> [   66.509153] Hi    : 00000000
> [   66.512020] Lo    : 00000068
> [   66.514913] epc   : 8f3e060c 0x8f3e060c
> [   66.518866] ra    : 8ec86fac sta_set_sinfo+0xcc/0xbb0 [mac80211]
> [   66.524843] Status: 11007c03 KERNEL EXL IE
> [   66.529015] Cause : 40800008 (ExcCode 02)
> [   66.533005] BadVA : e9e9e0d5
> [   66.535869] PrId  : 0001992f (MIPS 1004Kc)
> [   66.539941] Modules linked in: rt2800pci rt2800mmio rt2800lib
> qcserial ppp_async option usb_wwan rt2x00pci rt2x00mmio rt2x00lib
> rndis_host qmi_wwan ppp_generic nf_nat_pptp nf_conntrack_pptp
> nf_conntrack_ipv6p
> [   66.610889]  nf_nat_snmp_basic nf_nat_sip nf_nat_redirect
> nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4
> nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4
> nf_flow_tablt
> [   66.681822]  ip_set_hash_netiface ip_set_hash_netport
> ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet
> ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip
> ip_set_hash_ipport ip_set_hash_ipmarm
> [   66.753184]  ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd
> gpio_button_hotplug usbcore nls_base usb_common mii
> [   66.763357] Process wifib (pid: 3679, threadinfo=8e1b4000,
> task=8e223200, tls=77f10ec0)
> [   66.771321] Stack : 00000000 00000000 00000000 00000000 00000000
> 00000000 8e1b5848 8f578000
> [   66.779654]         8e76d480 8ec48bc0 8f578130 00000002 8e1b5cb8
> 00000008 00000000 8ec86fac
> [   66.787987]         01000000 8e134628 00000007 8e1b5b98 8e134628
> 00000000 8e1b5b90 8ec49014
> [   66.796325]         8e76d000 00000000 fffffffe 00000002 8e1b5cb8
> 8ec9e338 8ec315ac 00000000
> [   66.804661]         000001d2 80580000 00000000 00000000 00000000
> 8e134628 8e068840 8ec1fb28
> [   66.812996]         ...
> [   66.815446] Call Trace:
> [   66.817894] [<8f3e060c>] 0x8f3e060c
> [   66.821370] Code: 000630c0  02063021  94f40002 <90d205f5> 00e0b025
> 16800002  3253ffff  2414001f  96d50004
> [   66.831098]
> [   66.833187] ---[ end trace 8c8a003de3eabcd8 ]---
> [   66.841897] Kernel panic - not syncing: Fatal exception
> [   66.849317] Rebooting in 3 seconds..
>
> Message 2:
> [  132.613293] CPU 0 Unable to handle kernel paging request at virtual
> address ea9160d5, epc == 8f2c060c, ra == 8ec86fac
> [  132.623927] Oops[#1]:
> [  132.626199] CPU: 0 PID: 41 Comm: kworker/u8:3 Tainted: G        W
>      4.14.32 #0
> [  132.633882] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
> [  132.639431] task: 8fd48c80 task.stack: 8fd94000
> [  132.643933] $ 0   : 00000000 00000001 7ac52e80 00000020
> [  132.649141] $ 4   : 8f2d0bc0 8e04dc20 ea915ae0 8f122400
> [  132.654350] $ 8   : 00000000 80452970 8fc02b00 0005376b
> [  132.659558] $12   : 000012d8 00000000 ffffffff 0000001c
> [  132.664766] $16   : 8f2d1560 8f58a000 8e04d480 8f2d0bc0
> [  132.669973] $20   : 00000000 00000001 8f2d1014 00000000
> [  132.675181] $24   : 3b9aca00 00000000
> [  132.680390] $28   : 8fd94000 8fd95c88 8ece1618 8ec86fac
> [  132.685605] Hi    : 000007d0
> [  132.688473] Lo    : 00000bb8
> [  132.691357] epc   : 8f2c060c 0x8f2c060c
> [  132.695235] ra    : 8ec86fac sta_set_sinfo+0xcc/0xbb0 [mac80211]
> [  132.701212] Status: 11008403 KERNEL EXL IE
> [  132.705391] Cause : 40800008 (ExcCode 02)
> [  132.709380] BadVA : ea9160d5
> [  132.712247] PrId  : 0001992f (MIPS 1004Kc)
> [  132.716320] Modules linked in: rt2800pci rt2800mmio rt2800lib
> qcserial ppp_async option usb_wwan rt2x00pci rt2x00mmio rt2x00lib
> rndis_host qmi_wwan ppp_generic nf_nat_pptp nf_conntrack_pptp
> nf_conntrack_ipv6p
> [  132.787381]  nf_nat_snmp_basic nf_nat_sip nf_nat_redirect
> nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4
> nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4
> nf_flow_tablt
> [  132.858369]  ip_set_hash_netiface ip_set_hash_netport
> ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet
> ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip
> ip_set_hash_ipport ip_set_hash_ipmarm
> [  132.929808]  ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd
> gpio_button_hotplug usbcore nls_base usb_common mii
> [  132.939989] Process kworker/u8:3 (pid: 41, threadinfo=8fd94000,
> task=8fd48c80, tls=00000000)
> [  132.948385] Stack : 00000001 8f2c08fc 8f2d1330 8e04d480 8f2d0bc0
> 8e04d480 8f122400 8f58a000
> [  132.956736]         8e04d480 8f2d0bc0 8f58a130 00000001 8f2d1014
> 00000000 8ece1618 8ec86fac
> [  132.965084]         00000002 8f58a000 00000001 8ec86df4 8f58a000
> 8f2d0bc0 8f58a000 8f122400
> [  132.973434]         8e04d480 8e04d480 8fd95d38 00000001 8f2d1014
> 8ec87a10 00000000 8007be44
> [  132.981784]         00000000 00000000 00000000 8fd95d10 8fd95d30
> 8f2d102c 8f2d102c 8ec87de8
> [  132.990130]         ...
> [  132.992578] Call Trace:
> [  132.995025] [<8f2c060c>] 0x8f2c060c
> [  132.998506] Code: 000630c0  02063021  94f40002 <90d205f5> 00e0b025
> 16800002  3253ffff  2414001f  96d50004
> [  133.008251]
> [  133.011063] ---[ end trace 43bd4ffe21fcd0aa ]---
> [  133.019992] Kernel panic - not syncing: Fatal exception
> [  133.027692] Rebooting in 3 seconds..
>
> The WG3526 uses mt7603 for 2.4GHz and mt7612 for 5GHz, and the error
> happens with either. Using the interfaces as APs works fine (at least
> in my tests), and using the interfaces as clients works fine with
> kernel 4.9.


try enabling KALLSYMS to get a verbose stack trace.
     John

>
> Thanks in advance for any help,
> Kristian
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list