coolsnowwolf / lede

Lean's LEDE source
Other
29.85k stars 19.53k forks source link

关于easymesh无法使用,最新batman-adv崩溃 #8417

Closed ntlf9t closed 2 years ago

ntlf9t commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:easymesh设置保存后路由失联无限重启,ttl连接查明是batman-adv 2021.04问题,建议大家近期先别集成或者回退batman-adv 至2021.03版

(2) 路由器型号和固件版本

A:cm520 新3 等

(3) 详细日志

A: [ 36.726825] 8<--- cut here --- [ 36.726862] Unable to handle kernel NULL pointer dereference at virtual address 000002fc [ 36.728801] pgd = e6966e8d [ 36.737041] [000002fc] pgd=9c8dd835, pte=00000000, *ppte=00000000 [ 36.739567] Internal error: Oops: 17 [#1] SMP ARM [ 36.745708] Modules linked in: pppoe ppp_async iptable_nat batman_adv ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_CT pppox ppp_mppe ppp_generic nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_amanda nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_socket xt_policy xt_multiport xt_mark xt_mac xt_limit xt_esp xt_comment xt_TPROXY xt_TCPMSS xt_LOG ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm tcp_bbr slhc nf_tproxy_ipv6 nf_tproxy_ipv4 nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables hwmon crc_ccitt compat [ 36.745894] asn1_decoder ledtrig_usbport cryptodev xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 tunnel6 tunnel4 tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat nls_utf8 nls_iso8859_1 nls_cp437 shortcut_fe_ipv6 shortcut_fe crypto_user algif_skcipher algif_rng algif_hash algif_aead af_alg sha1_generic sha1_arm_neon sha1_arm md5 ghash_generic ghash_arm_ce gf128mul gcm echainiv cmac ccm authenc arc4 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom sd_mod scsi_mod gpio_button_hotplug ext4 mbcache jbd2 exfat(C) antfs crc32c_generic [ 36.901884] CPU: 1 PID: 1868 Comm: batctl Tainted: G C 5.4.162 #0 [ 36.924113] Hardware name: Generic DT based system [ 36.931708] PC is at batadv_tt_local_add+0x38c/0x794 [batman_adv] [ 36.936263] LR is at batadv_tt_local_add+0x2e8/0x794 [batman_adv] [ 36.942407] pc : [] lr : [] psr: 60000093 [ 36.948483] sp : dd19d9c0 ip : ddee76f8 fp : c0c03d00 [ 36.954574] r10: dd281000 r9 : 00000000 r8 : 000002c0 [ 36.959768] r7 : 00000000 r6 : df4dc040 r5 : 00000001 r4 : 00000000 [ 36.964998] r3 : 00000000 r2 : 00000000 r1 : 1f006000 r0 : 60000013 [ 36.971594] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 36.978112] Control: 10c5387d Table: 9d23406a DAC: 00000051 [ 36.985313] Process batctl (pid: 1868, stack limit = 0x6ad728eb) [ 36.991126] Stack: (0xdd19d9c0 to 0xdd19e000) [ 36.997209] d9c0: ddee7000 c09cb270 c0c04f7c c0c04e70 ddee74c0 dd282b00 dd281b00 00000000 [ 37.001465] d9e0: 00000000 00000000 ddee7000 c0c2d5ec c0c28380 00000000 00000005 00000000 [ 37.009606] da00: ddee74c0 00000000 dd37d11c ddee7568 00000000 ddee7000 dd8dae00 bf7efa84 [ 37.017805] da20: 00000000 c07c9ae0 ddee7000 00000005 ddee7000 00000000 dd19dab0 00000005 [ 37.025945] da40: 00000000 bf7e61d4 dd19da48 dd19da48 ddee7000 a28d91cf c0850b84 ffffffe9 [ 37.034105] da60: bf61d020 00000000 dd19dab0 00000005 00000000 ddee7000 dd8dae00 c033ee18 [ 37.042272] da80: ddee7000 00000001 00000000 00000000 dd19dd5c c033ef0c 00000000 ddee7000 [ 37.050425] daa0: 00000001 c073ef60 dd19dd5c c0c28380 ddee7000 00000000 bf7fb0c8 c0c28380 [ 37.058585] dac0: bf7ee98c c0c28380 bf7fb0c8 c0754e54 dd19dd5c dd19dd5c dd8dae00 00000000 [ 37.066770] dae0: c09b9184 dd49a210 c09b923c c0c28380 00000000 c0c04e48 dd8dae00 ddc8ce40 [ 37.074912] db00: 00000000 00000000 00000000 00000000 dd49a230 dd49a23c 00000000 00000000 [ 37.083070] db20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.091222] db40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.099377] db60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.107540] db80: 00000000 00000000 00000000 00000000 00000001 c0c2e780 00000008 c0c56a08 [ 37.115703] dba0: 00000000 c0423560 dd19dca4 00000201 dff7cf38 dff7cf14 00000000 00000000 [ 37.123880] dbc0: 00000000 dd49a220 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.132029] dbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.140182] dc00: dd49a22c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.148337] dc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.156526] dc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.164657] dc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.172801] dc80: 00000000 00000000 30746162 00000000 00000000 00000000 61746162 00007664 [ 37.180960] dca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.189120] dcc0: 00000000 00000000 00000000 00000000 00000000 a28d91cf dd19dd88 dd8dae00 [ 37.197280] dce0: ddc8ce40 dd49a200 dd19dd5c ddc8ce40 dd19dd5c c0c6648c 00000000 c0755024 [ 37.205441] dd00: 00000000 df4c1cc0 dd49a200 c0c6648c ddc8ce40 c074f4f0 c0c2efc0 dfb4a0c0 [ 37.213600] dd20: df437000 c05715a8 df437000 c077b1e8 c0c28380 ddc8ce40 c0c04e48 c074f2c8 [ 37.221758] dd40: dd49a200 00000040 dda6e400 00000000 00000000 c077d598 c0778fe0 00000000 [ 37.229917] dd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 a28d91cf [ 37.238076] dd80: df437000 dda6e400 00000040 ddc8ce40 00000000 c077ce3c dd49a200 7fffffff [ 37.246237] dda0: dd19df68 dd49a200 ddc8ce40 dd19df70 00000040 c077d068 ffffe000 dd19de74 [ 37.254396] ddc0: dd19de0c dd19de74 00000008 dd19deb4 00000008 dda48240 00000000 0000074c [ 37.262555] dde0: 00000000 00000000 dd19de70 dd19df68 00000040 00000000 c0c04e48 dd19de1c [ 37.270716] de00: df386400 00000000 c077cec4 c0717fa8 dd19df68 dd19df70 00000000 dd19de70 [ 37.278876] de20: 00000051 c0718758 dd19de70 dd19df70 9c00175f b6e89c8c 0000000c a28d91cf [ 37.287035] de40: 00000001 c0c04e48 dd19df68 00000000 df386400 00000000 00000000 00000128 [ 37.295196] de60: 00000001 c0718838 00000000 00000000 00000000 b6f1b020 00000040 c0c29f40 [ 37.303354] de80: 00000001 60000013 00000000 00000003 dd19deac 00000000 00000001 c035dd9c [ 37.311534] dea0: 00000000 dd19deac c0301204 00000000 00000000 00000010 00000000 00000000 [ 37.319692] dec0: 0000000c bea2a67c 0000000c b6e89c80 0000000c 00000000 b6e89c80 c0717c24 [ 37.327857] dee0: c0c04e48 df386400 b6e89c80 bea2a67c c0301204 dd19c000 0000011e c071929c [ 37.336015] df00: 00000119 00000000 00000000 00000010 0000074c 00000000 00008000 c071da3c [ 37.344172] df20: 00000002 c0446138 df419490 c0c29ef4 df386480 a28d91cf df419490 bea2a650 [ 37.352330] df40: 00000000 df386400 00000128 c0301204 dd19c000 c0719a40 00000000 00000000 [ 37.360503] df60: 00000000 fffffff7 dd19deb4 0000000c 00000005 00000000 00000000 dd19de7c [ 37.368651] df80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.376803] dfa0: b6e89c80 c0301000 00000000 00000000 00000003 bea2a650 00000000 00000000 [ 37.384964] dfc0: 00000000 00000000 b6e89c80 00000128 bea2a888 bea2a894 bea2a898 00000001 [ 37.393130] dfe0: bea2a5f8 bea2a5e8 b6ef34cc b6ef2988 60000010 00000003 00000000 00000000 [ 37.401419] [] (batadv_tt_local_add [batman_adv]) from [] (batadv_softif_create_vlan+0xb0/0x110 [batman_adv]) [ 37.409504] [] (batadv_softif_create_vlan [batman_adv]) from [] (batadv_hard_if_event+0xb8/0x5ac [batman_adv]) [ 37.421121] [] (batadv_hard_if_event [batman_adv]) from [] (notifier_call_chain+0x48/0x84) [ 37.432741] [] (notifier_call_chain) from [] (raw_notifier_call_chain+0x18/0x20) [ 37.442712] [] (raw_notifier_call_chain) from [] (register_netdevice+0x304/0x4c4) [ 37.451976] [] (register_netdevice) from [] (rtnl_newlink+0x5cc/0x75c) [ 37.461085] [] (__rtnl_newlink) from [] (rtnl_newlink+0x40/0x5c) [ 37.469590] [] (rtnl_newlink) from [] (rtnetlink_rcv_msg+0x228/0x2a4) [ 37.477317] [] (rtnetlink_rcv_msg) from [] (netlink_rcv_skb+0xb8/0x110) [ 37.485392] [] (netlink_rcv_skb) from [] (netlink_unicast+0x158/0x1e0) [ 37.493546] [] (netlink_unicast) from [] (netlink_sendmsg+0x1a4/0x35c) [ 37.501886] [] (netlink_sendmsg) from [] (__sys_sendmsg+0x1cc/0x248) [ 37.510130] [] (__syssendmsg) from [] (sys_sendmsg+0x6c/0x98) [ 37.518373] [] (_sys_sendmsg) from [] (sys_sendmsg+0x40/0x6c) [ 37.526273] [] (sys_sendmsg) from [] (ret_fast_syscall+0x0/0x54) [ 37.534253] Exception stack(0xdd19dfa8 to 0xdd19dff0) [ 37.542066] dfa0: 00000000 00000000 00000003 bea2a650 00000000 00000000 [ 37.547194] dfc0: 00000000 00000000 b6e89c80 00000128 bea2a888 bea2a894 bea2a898 00000001 [ 37.555346] dfe0: bea2a5f8 bea2a5e8 b6ef34cc b6ef2988 [ 37.563509] Code: e10f0000 f10c0080 e59d3020 ee1d1f90 (e59332fc) [ 37.568539] ---[ end trace 5a27e94e40c20e19 ]--- [ 37.586577] Kernel panic - not syncing: Fatal exception [ 37.586616] CPU0: stopping [ 37.590607] CPU: 0 PID: 1390 Comm: kworker/0:6 Tainted: G D C 5.4.162 #0 [ 37.593384] Hardware name: Generic DT based system [ 37.601295] Workqueue: events linkwatch_event [ 37.605982] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 37.610410] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 37.618220] [] (dump_stack) from [] (handle_IPI+0x164/0x19c) [ 37.625253] [] (handle_IPI) from [] (gic_handle_irq+0x8c/0x90) [ 37.632804] [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90) [ 37.640175] Exception stack(0xdd03de98 to 0xdd03dee0) [ 37.647725] de80: c0c29698 dcd65d80 [ 37.652766] dea0: 00000000 00000000 dd03c000 ffffe000 c0c296a0 dd03c000 00000002 00000000 [ 37.660928] dec0: 00000000 ffffe000 dcd65d81 dd03dee8 ffffe000 c03643e4 60000013 ffffffff [ 37.669093] [] (irq_svc) from [] (mutex_spin_on_owner+0x94/0xcc) [ 37.677250] [] (mutex_spin_on_owner) from [] (mutex_lock.constprop.8+0x94/0x508) [ 37.685065] [] (mutex_lock.constprop.8) from [] (linkwatch_event+0x8/0x34) [ 37.694352] [] (linkwatch_event) from [] (process_one_work+0x218/0x470) [ 37.703289] [] (process_one_work) from [] (worker_thread+0x44/0x5dc) [ 37.711362] [] (worker_thread) from [] (kthread+0x14c/0x150) [ 37.719694] [] (kthread) from [] (ret_from_fork+0x14/0x2c) [ 37.727065] Exception stack(0xdd03dfb0 to 0xdd03dff8) [ 37.734095] dfa0: 00000000 00000000 00000000 00000000 [ 37.739222] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 37.747382] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 37.755540] CPU2: stopping [ 37.761958] CPU: 2 PID: 1408 Comm: netifd Tainted: G D C 5.4.162 #0 [ 37.764736] Hardware name: Generic DT based system [ 37.772298] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 37.776897] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 37.784797] [] (dump_stack) from [] (handle_IPI+0x164/0x19c) [ 37.791832] [] (handle_IPI) from [] (gic_handle_irq+0x8c/0x90) [ 37.799378] [] (gic_handle_irq) from [] (irq_svc+0x6c/0x90) [ 37.806751] Exception stack(0xdd17dd70 to 0xdd17ddb8) [ 37.814303] dd60: 000418ee dff8a978 1f015000 c0b43630 [ 37.819346] dd80: df401e00 dff8a978 dceee100 00000001 dd17ddfc c0326f5c 00000000 00000000 [ 37.827504] dda0: 00000001 dd17ddc0 c0327e70 c0431504 a0000013 ffffffff [ 37.835667] [] (irq_svc) from [] (kfree+0xc4/0x1e8) [ 37.842093] [] (kfree) from [] (do_proc_dointvec+0x294/0x390) [ 37.849037] [] (do_proc_dointvec) from [] (proc_dointvec+0x38/0x40) [ 37.856502] [] (proc_dointvec) from [] (addrconf_sysctl_disable+0x6c/0x180) [ 37.864839] [] (addrconf_sysctl_disable) from [] (proc_sys_call_handler+0x140/0x188) [ 37.873347] [] (proc_sys_call_handler) from [] (proc_sys_write+0x14/0x1c) [ 37.883066] [] (proc_sys_write) from [] (vfs_write+0x1c/0x1a4) [ 37.891484] [] (vfs_write) from [] (vfs_write+0xa4/0x188) [ 37.899294] [] (vfs_write) from [] (ksys_write+0x48/0xb4) [ 37.906326] [] (ksys_write) from [] (ret_fast_syscall+0x0/0x54) [ 37.913608] Exception stack(0xdd17dfa8 to 0xdd17dff0) [ 37.921076] dfa0: 00000000 00000000 00000012 0002fac6 00000001 00000000 [ 37.926290] dfc0: 00000000 00000000 00000012 00000004 b6ec36c0 00000000 b6e31a13 b6e31a05 [ 37.934446] dfe0: bef019a8 bef01998 b6f454cc b6f44988 [ 37.942603] CPU3: stopping [ 37.947634] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D C 5.4.162 #0 [ 37.950242] Hardware name: Generic DT based system [ 37.957800] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 37.962402] [] (show_stack) from [] (dump_stack+0x94/0xa8) [ 37.970301] [] (dump_stack) from [] (handle_IPI+0x164/0x19c) [ 37.977332] [] (handle_IPI) from [] (gic_handle_irq+0x8c/0x90) [ 37.984884] [] (gic_handle_irq) from [] (irq_svc+0x6c/0x90) [ 37.992255] Exception stack(0xdf475f60 to 0xdf475fa8) [ 37.999810] 5f60: 00000000 0000ea04 dfb652b4 c0313c40 ffffe000 c0c04e68 c0c04ea8 00000008 [ 38.004851] 5f80: 00000000 c0b3fe28 c0c0dfc0 00000000 1f024000 df475fb0 c03083c0 c03083c4 [ 38.013003] 5fa0: 60000013 ffffffff [ 38.021164] [] (irq_svc) from [] (arch_cpu_idle+0x38/0x3c) [ 38.024471] [] (arch_cpu_idle) from [] (do_idle+0x1e4/0x21c) [ 38.032108] [] (do_idle) from [] (cpu_startup_entry+0x18/0x1c) [ 38.039483] [] (cpu_startup_entry) from [<803024ac>] (0x803024ac) [ 38.061083] Rebooting in 3 seconds..

MortalM commented 2 years ago

那么如何回退至2021.3呢大佬。

ntlf9t commented 2 years ago

feeds.conf.default 修改 src-git routing https://git.openwrt.org/feed/routing.git^a7b79a1d4fce4f443854115ee4b2ed2aafba5c06

MortalM commented 2 years ago

经过测试ec33ebf0f638dcf793d13a9d88dc860f06a677e1的2021.4的也可以使用,但是不能用最新的master分支,否则无限重启

zhq1 commented 2 years ago

我说怎么弄了之后一开就死机,无限循环 还以为是easymesh的问题

haohaoget commented 2 years ago

经过测试ec33ebf0f638dcf793d13a9d88dc860f06a677e1的2021.4的也可以使用,但是不能用最新的master分支,否则无限重启

请问使用的哪个分支呢?我现mt7621硬路由在还是一开启easymesh就无限重启。但是同时编译的x86版本的easymesh可以正常启用(batman版本相同,easymesh版本也相同)

loydcheung commented 2 years ago

请问现在最新的源解决了吗?还是只能用之前版本的batman?

zhq1 commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

zhengmz commented 2 years ago

@ntlf9t 大侠,目前有什么新变化,还是只能用 2021-3 版本吗?

我使用的是 mt7621,使用 batman-adv 2022.0 版本可以编译通过,但配置完成后,互相看不到对应的 node

后台运行命令的结果是:

root@OpenWrt:~# batctl n 2
[B.A.T.M.A.N. adv 2022.0-openwrt-1, MainIF/MAC: mesh_radio1/MAC地址 (bat0/d2:8f:d6:9c:c3:7b BATMAN_IV)]
IF             Neighbor              last-seen

我的网络是由一个主路由,一个副路由(纯AP),都刷了 Lean 的 LEDE,R22.4.1 主副路由之间用有线连接

主路由设置是:

config easymesh 'config'
        option enabled '1'
        option apRadio 'radio1'
        option encryption '1'
        option key 'easy@mesh'
        option kvr '1'
        option rssi_val '-60'
        option ap_mode '0'
        option low_rssi_val '-88'
        option mobility_domain 'abcd'
        option role 'server'
        option mesh_id 'easymesh'

副路由设置是:

config easymesh 'config'
        option enabled '1'
        option apRadio 'radio1'
        option encryption '1'
        option key 'easy@mesh'
        option kvr '1'
        option rssi_val '-60'
        option ap_mode '0'
        option low_rssi_val '-88'
        option mobility_domain 'abcd'
        option role 'client'
        option mesh_id 'easymesh'

不知道设置有没有问题

主路由的系统日志:

Wed Apr 27 15:27:36 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is enabled
Wed Apr 27 15:27:36 2022 kern.info kernel: [  898.259030] br-lan: port 6(wlan1-1) entered disabled state
Wed Apr 27 15:27:39 2022 daemon.notice wpa_supplicant[1765]: mesh_radio1: interface state UNINITIALIZED->ENABLED
Wed Apr 27 15:27:39 2022 daemon.notice wpa_supplicant[1765]: mesh_radio1: AP-ENABLED
Wed Apr 27 15:27:39 2022 daemon.notice wpa_supplicant[1765]: mesh_radio1: joining mesh easymesh
Wed Apr 27 15:27:39 2022 user.info mwan3rtmon[30682]: Detect rtchange event.
Wed Apr 27 15:27:40 2022 daemon.notice wpa_supplicant[1765]: mesh_radio1: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
Wed Apr 27 15:27:40 2022 daemon.notice wpa_supplicant[1765]: mesh_radio1: MESH-GROUP-STARTED ssid="easymesh" id=0
Wed Apr 27 15:27:40 2022 daemon.notice netifd: Network device 'mesh_radio1' link is up
Wed Apr 27 15:27:40 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' has link connectivity
Wed Apr 27 15:27:40 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is setting up now
Wed Apr 27 15:27:40 2022 kern.info kernel: [  901.883380] br-lan: port 6(wlan1-1) entered blocking state
Wed Apr 27 15:27:40 2022 kern.info kernel: [  901.888934] br-lan: port 6(wlan1-1) entered forwarding state
Wed Apr 27 15:27:40 2022 daemon.notice netifd: Network device 'wlan1-1' link is up
Wed Apr 27 15:27:40 2022 kern.info kernel: [  901.897628] IPv6: ADDRCONF(NETDEV_CHANGE): mesh_radio1: link becomes ready
Wed Apr 27 15:27:40 2022 kern.info kernel: [  901.986811] batman_adv: bat0: Adding interface: mesh_radio1
Wed Apr 27 15:27:40 2022 kern.info kernel: [  901.992555] batman_adv: bat0: Interface activated: mesh_radio1
Wed Apr 27 15:27:40 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is now up

副路由的系统日志:

Wed Apr 27 15:27:24 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is enabled
Wed Apr 27 15:27:25 2022 kern.info kernel: [  544.423778] br-lan: port 7(wlan1-1) entered disabled state
Wed Apr 27 15:27:27 2022 kern.info kernel: [  546.423280] mt7530 mdio-bus:1f wan: Link is Down
Wed Apr 27 15:27:27 2022 kern.info kernel: [  546.428015] br-lan: port 4(wan) entered disabled state
Wed Apr 27 15:27:27 2022 daemon.notice netifd: Network device 'wan' link is down
Wed Apr 27 15:27:28 2022 daemon.notice wpa_supplicant[1749]: mesh_radio1: interface state UNINITIALIZED->ENABLED
Wed Apr 27 15:27:28 2022 daemon.notice wpa_supplicant[1749]: mesh_radio1: AP-ENABLED
Wed Apr 27 15:27:28 2022 daemon.notice wpa_supplicant[1749]: mesh_radio1: joining mesh easymesh
Wed Apr 27 15:27:28 2022 daemon.notice netifd: Network device 'mesh_radio1' link is up
Wed Apr 27 15:27:28 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' has link connectivity
Wed Apr 27 15:27:28 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is setting up now
Wed Apr 27 15:27:28 2022 kern.info kernel: [  548.006466] IPv6: ADDRCONF(NETDEV_CHANGE): mesh_radio1: link becomes ready
Wed Apr 27 15:27:28 2022 daemon.notice wpa_supplicant[1749]: mesh_radio1: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
Wed Apr 27 15:27:28 2022 daemon.notice wpa_supplicant[1749]: mesh_radio1: MESH-GROUP-STARTED ssid="easymesh" id=0
Wed Apr 27 15:27:28 2022 kern.info kernel: [  548.015908] br-lan: port 7(wlan1-1) entered blocking state
Wed Apr 27 15:27:28 2022 kern.info kernel: [  548.021428] br-lan: port 7(wlan1-1) entered forwarding state
Wed Apr 27 15:27:28 2022 daemon.notice netifd: Network device 'wlan1-1' link is up
Wed Apr 27 15:27:28 2022 kern.info kernel: [  548.088447] batman_adv: bat0: Adding interface: mesh_radio1
Wed Apr 27 15:27:28 2022 kern.info kernel: [  548.094117] batman_adv: bat0: Interface activated: mesh_radio1
Wed Apr 27 15:27:28 2022 daemon.notice netifd: Interface 'nwi_mesh_radio1' is now up

主副路由的 dawn 都正常启动

zhengmz commented 2 years ago

已经可以了,谢谢。

ayancn commented 2 years ago

kmod-batman-adv | 5.10.100+2022.0-1 这个版本还是有同样问题打开简单mesh保存设置就无限重启,能解决吗

alps2006 commented 2 years ago

目前我使用最新 master 源码编译, 第一次编译的简洁版本开启简单mesh 使用并没有问题, 后面陆续增加插件编译, 确实会出现开启就卡死的情况.

经过编译插件信息对比发现应该是 adbyby-plus 插件与 ssr-plus 插件所依赖的 adbyby 冲突导致的, 把 adbyby-plus 插件替换为 adblock 即解决.

loydcheung commented 2 years ago

目前我使用最新 master 源码编译, 第一次编译的简洁版本开启简单mesh 使用并没有问题, 后面陆续增加插件编译, 确实会出现开启就卡死的情况.

经过编译插件信息对比发现应该是 adbyby-plus 插件与 ssr-plus 插件所依赖的 adbyby 冲突导致的, 把 adbyby-plus 插件替换为 adblock 即解决.

这个信息很有用,感谢大佬反馈测试结果。

haohaoget commented 2 years ago

目前我使用最新 master 源码编译, 第一次编译的简洁版本开启简单mesh 使用并没有问题, 后面陆续增加插件编译, 确实会出现开启就卡死的情况.

经过编译插件信息对比发现应该是 adbyby-plus 插件与 ssr-plus 插件所依赖的 adbyby 冲突导致的, 把 adbyby-plus 插件替换为 adblock 即解决.

请问ssr-plus可以用passwall之类的替换吗?