<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 04/12/2018 07:02 AM, John Crispin
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f8a493fc-fedd-5f25-e350-01815f22d055@phrozen.org">
<br>
<br>
On 12/04/18 12:42, Kristian Evensen wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
I have recently updated some ramips mt7621-devices (ZBT WG3526)
to the
<br>
latest nightly. Almost everything seems to work fine, but using
either
<br>
wifi interface in client mode seems triggers an oops. I see two
<br>
different oops-messages:
<br>
<br>
Message 1:
<br>
[ 66.442802] CPU 1 Unable to handle kernel paging request at
virtual
<br>
address e9e9e0d5, epc == 8f3e060c, ra == 8ec86fac
<br>
[ 66.453460] Oops[#1]:
<br>
[ 66.455743] CPU: 1 PID: 3679 Comm: wifib Tainted: G
W 4.14.32 #0
<br>
[ 66.462857] task: 8e223200 task.stack: 8e1b4000
<br>
[ 66.467374] $ 0 : 00000000 00000001 7abc2e80 00000020
<br>
[ 66.472612] $ 4 : 8ec48bc0 8e76dc20 e9e9dae0 8e1b5848
<br>
[ 66.477847] $ 8 : 8ec4902c 80452968 00ee4000 ffffff80
<br>
[ 66.483061] $12 : 80583f8c 00000040 00000000 77f0f3c0
<br>
[ 66.488276] $16 : 8ec49560 8f578000 8e76d480 8ec48bc0
<br>
[ 66.493493] $20 : 00000000 00000002 8e1b5cb8 00000008
<br>
[ 66.498711] $24 : 00000000 77e74ff0
<br>
[ 66.503937] $28 : 8e1b4000 8e1b5780 00000000 8ec86fac
<br>
[ 66.509153] Hi : 00000000
<br>
[ 66.512020] Lo : 00000068
<br>
[ 66.514913] epc : 8f3e060c 0x8f3e060c
<br>
[ 66.518866] ra : 8ec86fac sta_set_sinfo+0xcc/0xbb0
[mac80211]
<br>
[ 66.524843] Status: 11007c03 KERNEL EXL IE
<br>
[ 66.529015] Cause : 40800008 (ExcCode 02)
<br>
[ 66.533005] BadVA : e9e9e0d5
<br>
[ 66.535869] PrId : 0001992f (MIPS 1004Kc)
<br>
[ 66.539941] Modules linked in: rt2800pci rt2800mmio rt2800lib
<br>
qcserial ppp_async option usb_wwan rt2x00pci rt2x00mmio
rt2x00lib
<br>
rndis_host qmi_wwan ppp_generic nf_nat_pptp nf_conntrack_pptp
<br>
nf_conntrack_ipv6p
<br>
[ 66.610889] nf_nat_snmp_basic nf_nat_sip nf_nat_redirect
<br>
nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc
nf_conntrack_ipv4
<br>
nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat
nf_log_ipv4
<br>
nf_flow_tablt
<br>
[ 66.681822] ip_set_hash_netiface ip_set_hash_netport
<br>
ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet
<br>
ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip
<br>
ip_set_hash_ipport ip_set_hash_ipmarm
<br>
[ 66.753184] ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd
<br>
gpio_button_hotplug usbcore nls_base usb_common mii
<br>
[ 66.763357] Process wifib (pid: 3679, threadinfo=8e1b4000,
<br>
task=8e223200, tls=77f10ec0)
<br>
[ 66.771321] Stack : 00000000 00000000 00000000 00000000
00000000
<br>
00000000 8e1b5848 8f578000
<br>
[ 66.779654] 8e76d480 8ec48bc0 8f578130 00000002
8e1b5cb8
<br>
00000008 00000000 8ec86fac
<br>
[ 66.787987] 01000000 8e134628 00000007 8e1b5b98
8e134628
<br>
00000000 8e1b5b90 8ec49014
<br>
[ 66.796325] 8e76d000 00000000 fffffffe 00000002
8e1b5cb8
<br>
8ec9e338 8ec315ac 00000000
<br>
[ 66.804661] 000001d2 80580000 00000000 00000000
00000000
<br>
8e134628 8e068840 8ec1fb28
<br>
[ 66.812996] ...
<br>
[ 66.815446] Call Trace:
<br>
[ 66.817894] [<8f3e060c>] 0x8f3e060c
<br>
[ 66.821370] Code: 000630c0 02063021 94f40002
<90d205f5> 00e0b025
<br>
16800002 3253ffff 2414001f 96d50004
<br>
[ 66.831098]
<br>
[ 66.833187] ---[ end trace 8c8a003de3eabcd8 ]---
<br>
[ 66.841897] Kernel panic - not syncing: Fatal exception
<br>
[ 66.849317] Rebooting in 3 seconds..
<br>
<br>
Message 2:
<br>
[ 132.613293] CPU 0 Unable to handle kernel paging request at
virtual
<br>
address ea9160d5, epc == 8f2c060c, ra == 8ec86fac
<br>
[ 132.623927] Oops[#1]:
<br>
[ 132.626199] CPU: 0 PID: 41 Comm: kworker/u8:3 Tainted:
G W
<br>
4.14.32 #0
<br>
[ 132.633882] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
<br>
[ 132.639431] task: 8fd48c80 task.stack: 8fd94000
<br>
[ 132.643933] $ 0 : 00000000 00000001 7ac52e80 00000020
<br>
[ 132.649141] $ 4 : 8f2d0bc0 8e04dc20 ea915ae0 8f122400
<br>
[ 132.654350] $ 8 : 00000000 80452970 8fc02b00 0005376b
<br>
[ 132.659558] $12 : 000012d8 00000000 ffffffff 0000001c
<br>
[ 132.664766] $16 : 8f2d1560 8f58a000 8e04d480 8f2d0bc0
<br>
[ 132.669973] $20 : 00000000 00000001 8f2d1014 00000000
<br>
[ 132.675181] $24 : 3b9aca00 00000000
<br>
[ 132.680390] $28 : 8fd94000 8fd95c88 8ece1618 8ec86fac
<br>
[ 132.685605] Hi : 000007d0
<br>
[ 132.688473] Lo : 00000bb8
<br>
[ 132.691357] epc : 8f2c060c 0x8f2c060c
<br>
[ 132.695235] ra : 8ec86fac sta_set_sinfo+0xcc/0xbb0
[mac80211]
<br>
[ 132.701212] Status: 11008403 KERNEL EXL IE
<br>
[ 132.705391] Cause : 40800008 (ExcCode 02)
<br>
[ 132.709380] BadVA : ea9160d5
<br>
[ 132.712247] PrId : 0001992f (MIPS 1004Kc)
<br>
[ 132.716320] Modules linked in: rt2800pci rt2800mmio rt2800lib
<br>
qcserial ppp_async option usb_wwan rt2x00pci rt2x00mmio
rt2x00lib
<br>
rndis_host qmi_wwan ppp_generic nf_nat_pptp nf_conntrack_pptp
<br>
nf_conntrack_ipv6p
<br>
[ 132.787381] nf_nat_snmp_basic nf_nat_sip nf_nat_redirect
<br>
nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc
nf_conntrack_ipv4
<br>
nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat
nf_log_ipv4
<br>
nf_flow_tablt
<br>
[ 132.858369] ip_set_hash_netiface ip_set_hash_netport
<br>
ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet
<br>
ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip
<br>
ip_set_hash_ipport ip_set_hash_ipmarm
<br>
[ 132.929808] ohci_hcd ehci_platform sd_mod scsi_mod ehci_hcd
<br>
gpio_button_hotplug usbcore nls_base usb_common mii
<br>
[ 132.939989] Process kworker/u8:3 (pid: 41,
threadinfo=8fd94000,
<br>
task=8fd48c80, tls=00000000)
<br>
[ 132.948385] Stack : 00000001 8f2c08fc 8f2d1330 8e04d480
8f2d0bc0
<br>
8e04d480 8f122400 8f58a000
<br>
[ 132.956736] 8e04d480 8f2d0bc0 8f58a130 00000001
8f2d1014
<br>
00000000 8ece1618 8ec86fac
<br>
[ 132.965084] 00000002 8f58a000 00000001 8ec86df4
8f58a000
<br>
8f2d0bc0 8f58a000 8f122400
<br>
[ 132.973434] 8e04d480 8e04d480 8fd95d38 00000001
8f2d1014
<br>
8ec87a10 00000000 8007be44
<br>
[ 132.981784] 00000000 00000000 00000000 8fd95d10
8fd95d30
<br>
8f2d102c 8f2d102c 8ec87de8
<br>
[ 132.990130] ...
<br>
[ 132.992578] Call Trace:
<br>
[ 132.995025] [<8f2c060c>] 0x8f2c060c
<br>
[ 132.998506] Code: 000630c0 02063021 94f40002
<90d205f5> 00e0b025
<br>
16800002 3253ffff 2414001f 96d50004
<br>
[ 133.008251]
<br>
[ 133.011063] ---[ end trace 43bd4ffe21fcd0aa ]---
<br>
[ 133.019992] Kernel panic - not syncing: Fatal exception
<br>
[ 133.027692] Rebooting in 3 seconds..
<br>
<br>
The WG3526 uses mt7603 for 2.4GHz and mt7612 for 5GHz, and the
error
<br>
happens with either. Using the interfaces as APs works fine (at
least
<br>
in my tests), and using the interfaces as clients works fine
with
<br>
kernel 4.9.
<br>
</blockquote>
<br>
</blockquote>
I saw similar crash on my dual core sunx1 system, with 4.14.<br>
Seems to happen when the CPU is doing more than routing traffic.<br>
<br>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"
id="docs-internal-guid-61740e3a-bc6d-e6f4-223c-c5b5cff423cb"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.124237] Unable to handle kernel NULL pointer deref8</span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.132661] pgd = edc4ad00 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.135502] [00000028] *pgd=6e733003, *pmd=7fc26003 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.140895] Internal error: Oops: 207 [#1] PREEMPT SMP ARM </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.146387] Modules linked in: rt2800usb rt2800lib rt2x00usb rt2x00lib pppoet</span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.217382] ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJEm</span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.235828] CPU: 0 PID: 4028 Comm: e2guardian Not tainted 4.14.25 #0 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.242172] Hardware name: Allwinner sun7i (A20) Family </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.247391] task: edf71500 task.stack: edf7c000 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.251928] PC is at tcp_push+0x44/0xfc </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.255761] LR is at 0xed34eb34 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.258899] pc : [<c06285d4>] lr : [<ed34eb34>] psr: 40000013 </span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">[45729.265156] sp : edf7de00 ip : ed416780 fp : ed34eb34
</span></p>
<blockquote type="cite"
cite="mid:f8a493fc-fedd-5f25-e350-01815f22d055@phrozen.org">
<br>
try enabling KALLSYMS to get a verbose stack trace.
<br>
John
<br>
<br>
</blockquote>
<blockquote type="cite"
cite="mid:f8a493fc-fedd-5f25-e350-01815f22d055@phrozen.org">
<blockquote type="cite">
<br>
Thanks in advance for any help,
<br>
Kristian
<br>
_______________________________________________
<br>
openwrt-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
Lede-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Lede-dev@lists.infradead.org">Lede-dev@lists.infradead.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.infradead.org/mailman/listinfo/lede-dev">http://lists.infradead.org/mailman/listinfo/lede-dev</a>
<br>
</blockquote>
<br>
</body>
</html>