Hi all, My mesh node gets crashed in a case when it's transmitting data but the destination node is not available anymore. After a certain fail average, mesh_plink_broken() function is called and then mesh_path_err_tx() is called. If I commented out the mesh_path_error_tx() then it does not crash anymore. The kernel panic output is as shown below. Environment: open802.11s, ath5k, openwrt. It would be really helpful if you guys can help me debugging it. Please let me know if you need anymore information.
Also, I've another question. How do I obtain the list of nodes that are one hop, two hop, three hop way from a given node. Any good away of doing it? My current idea is as follows. In a C program, if I use popen() system call to execute "iw mpath dump" and then parse the output for all the list of destinations, next hops and metrics. Then use arp system call to map the mac's to ip's. But, would that be efficient if I need to do that, at least twice every second. Thanks in advance. Regards, Siva. root@OpenWrt:/# [ 368.800000] CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == 80ed14e4, ra == 80ed1488 [ 368.930000] Oops[#1]: [ 368.930000] Cpu 0 [ 368.930000] $ 0 : 00000000 1000f000 00000000 00000000 [ 368.930000] $ 4 : 80e00a80 0000000c 00000000 0000002b [ 368.930000] $ 8 : 00000000 80e00af8 00000000 07000000 [ 368.930000] $12 : 00000004 00000000 00000050 00000000 [ 368.930000] $16 : 80922520 80e01760 80ee6ca8 80e0502c [ 368.930000] $20 : 00000001 1000f001 00000000 a02e30e0 [ 368.930000] $24 : 00000003 804366e0 [ 368.930000] $28 : 802c2000 802c3c68 0000d000 80ed1488 [ 368.930000] Hi : 00000000 [ 368.930000] Lo : 00000000 [ 368.930000] epc : 80ed14e4 ath5k_tx_queue+0x2c4/0xbac [ath5k] [ 368.930000] Tainted: G O [ 368.930000] ra : 80ed1488 ath5k_tx_queue+0x268/0xbac [ath5k] [ 368.930000] Status: 1000f003 KERNEL EXL IE [ 368.930000] Cause : 10800008 [ 368.930000] BadVA : 00000004 [ 368.930000] PrId : 0001800a (MIPS 4Kc) [ 368.930000] Modules linked in: nf_nat_irc nf_conntrack_irc nf_nat_ftp 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 pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath5k(O) ath(O) mac80211(O) crc_ccitt cfg80211(O) compat(O) arc4 aes_generic crypto_algapi [ 368.930000] Process swapper (pid: 0, threadinfo=802c2000, task=802c5ce0, tls=00000000) [ 368.930000] Stack : 80665600 00000000 80396000 80f47380 00000001 00000000 00ff0000 80432038 [ 368.930000] 80942380 000000dd 07000000 3f00adb4 8043c300 80f47380 8092d900 80e00a80 [ 368.930000] 8092d900 801c4920 80e00a80 8092d900 80e05020 80e00a80 8092d900 80402694 [ 368.930000] 00000000 00000000 802c3d50 80e00a80 80f47830 802c3d50 00000000 00000001 [ 368.930000] 0000002b 0000000c 0000d000 8041e8ec 00000000 00008800 1000f001 8092d900 [ 368.930000] ... [ 368.930000] Call Trace: [ 368.930000] [<80ed14e4>] ath5k_tx_queue+0x2c4/0xbac [ath5k] [ 368.930000] [<8041e8ec>] ieee80211_rts_get+0x300/0x700 [mac80211] [ 368.930000] [ 368.930000] [ 368.930000] Code: 2405000c 8c630000 70453002 <8c630004> 00c31021 104000ca 24050013 8e060018 92080022 [ 371.360000] ---[ end trace 9e9fa42da3c99e99 ]--- [ 371.420000] Kernel panic - not syncing: Fatal exception in interrupt [ 371.500000] Rebooting in 3 seconds..+Ethernet eth1: MAC address 00:15:6d:ed:32:bc IP: 0.0.0.0/255.255.255.0, Gateway: 0.0.0.0 Default server: 0.0.0.0
_______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
