<div dir="ltr"><div>Using OpenWrt trunk r42000 on 2 different boards (gw2388-4 & router station pro) causes kernel oops when restarting the network or wifi.<br></div><div><br></div><div>The setting that causes the oops is connecting in adhoc mode to a batman-adv mesh network.</div>
<div><br></div><div>As comparison WDS mode works fine for the same boards.</div><div><br></div><div>Also Adhoc mode using wpa_supplicant appears to be broken. </div><div>With wpa2 security only allows connections at 54 Mbps, removing security allows for 802.11n rates.</div>
<div><br></div><div>Don't know if the 2 issues are related or not.</div><div><br></div><div>Below the kernel oops from the router station.</div><div><br></div><div>Regards,</div><div>Bruno</div><div><br></div><div><div>
root@RSPro1:/# wifi</div><div>root@RSPro1:/# [ 182.040000] batman_adv: bat0: Interface deactivated: adhoc0</div><div>[ 182.050000] batman_adv: bat0: Removing interface: adhoc0</div><div>[ 182.080000] br-mesh: port 2(bat0) entered disabled state</div>
<div>[ 182.080000] device bat0 left promiscuous mode</div><div>[ 182.090000] br-mesh: port 2(bat0) entered disabled state</div><div>[ 182.100000] CPU 0 Unable to handle kernel paging request at virtual address 00000020, epc == 87090884, ra == 870963e8</div>
<div>[ 182.110000] Oops[#1]:</div><div>[ 182.110000] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 3.10.49 #2</div><div>[ 182.110000] Workqueue: bat_events batadv_softif_vlan_get [batman_adv]</div><div>[ 182.110000] task: 878294f0 ti: 87844000 task.ti: 87844000</div>
<div>[ 182.110000] $ 0 : 00000000 00000001 00000020 00000000</div><div>[ 182.110000] $ 4 : 00000000 00008004 80321e28 803825a2</div><div>[ 182.110000] $ 8 : 00180041 00180041 00000001 873d7080</div><div>[ 182.110000] $12 : 00000020 00000001 00170041 00000000</div>
<div>[ 182.110000] $16 : 00000000 86913200 00000000 8690b100</div><div>[ 182.110000] $20 : 000001b0 00000000 00200200 ffffd1f2</div><div>[ 182.110000] $24 : 00000000 00000000 </div><div>[ 182.110000] $28 : 87844000 87845da0 802eb3b0 870963e8</div>
<div>[ 182.110000] Hi : 00000009</div><div>[ 182.110000] Lo : 00009c40</div><div>[ 182.110000] epc : 87090884 batadv_softif_vlan_free_ref+0x14/0xe0 [batman_adv]</div><div>[ 182.110000] Not tainted</div><div>
[ 182.110000] ra : 870963e8 batadv_tt_free+0xc0/0x2e4 [batman_adv]</div><div>[ 182.110000] Status: 1000fc03 KERNEL EXL IE </div><div>[ 182.110000] Cause : 00800008</div><div>[ 182.110000] BadVA : 00000020</div><div>
[ 182.110000] PrId : 00019374 (MIPS 24Kc)</div><div>[ 182.110000] Modules linked in: ath9k ath9k_htc ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic pl2303 nf_nat_ipv4 nf_conntrack_ipvh</div><div>
[ 182.110000] Process kworker/u2:0 (pid: 6, threadinfo=87844000, task=878294f0, tls=00000000)</div><div>[ 182.110000] Stack : 00000000 8692ebc0 8692e800 87845e30 8692ebc0 870963e8 ffffd1f2 ffffd1f2</div><div> 8692ebc0 8692ebc0 8692ebc0 8692e800 87845e30 80310000 80310f20 00000000</div>
<div> ffffd1f2 8708a374 ffffd1f2 87084fd4 87845e30 00000001 80310f20 8692e800</div><div> 8692e800 8708fa24 00000000 87845e0c 00000000 8692ea08 8692ea08 801b2b74</div><div> 878294f0 8027c780 00000000 8692e800 87845e30 87845e30 87813900 8692ecb8</div>
<div> ...</div><div>[ 182.110000] Call Trace:</div><div>[ 182.110000] [<87090884>] batadv_softif_vlan_free_ref+0x14/0xe0 [batman_adv]</div><div>[ 182.110000] [<870963e8>] batadv_tt_free+0xc0/0x2e4 [batman_adv]</div>
<div>[ 182.110000] [<8708a374>] batadv_mesh_free+0x54/0x88 [batman_adv]</div><div>[ 182.110000] [<8708fa24>] batadv_purge_outstanding_packets+0x2fc/0x8d8 [batman_adv]</div><div>[ 182.110000] </div><div>[ 182.110000] </div>
<div>Code: afb00010 afbf0014 00808021 <c0430000> 2464ffff e0440000 1080fffc 00000000 24020001 </div><div>[ 182.360000] ---[ end trace 19fd45c8593c0fb4 ]---</div><div>[ 182.370000] Kernel panic - not syncing: Fatal exception in interrupt</div>
<div>[ 182.370000] Rebooting in 3 seconds..+</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>