nbd168 / bridger

18 stars 5 forks source link

Device connectivity issues with running bridger on RT3200 #1

Open graysky2 opened 1 year ago

graysky2 commented 1 year ago

If I boot my RT3200 with the following in /etc/modules.d/mt7915e: mt7915e wed_enable=Y and with bridger enabled, some connected devices no longer detect a routable internet despite being connected to the SSID.

This particular device is configured to be a dumb AP and is configured with VLANs if that makes a difference. Happy to provide any config or debug files to help troubleshoot. I see nothing in dmesg nor in the output of logread

wired-dev commented 1 year ago

What devices are you having issues with?

graysky2 commented 1 year ago

Initially it was just a single ipad air 2 but more recently, something crashed on the RT3200 itself which took down all of the SIDDs on my 5 GHz radio. Required a reboot to recover. All I could see for debugging were these lines from dmesg:

[58088.418578] mt7915e 0000:01:00.0: Message 000026ed (seq 3) timeout
[58108.898430] mt7915e 0000:01:00.0: Message 00005aed (seq 4) timeout
[58129.378269] mt7915e 0000:01:00.0: Message 000026ed (seq 5) timeout
[58149.858130] mt7915e 0000:01:00.0: Message 000026ed (seq 6) timeout
graysky2 commented 1 year ago

@nbd168 - I am not totally sure that the problem I encountered is due to bridger.

I left bridger installed but disabled it yet I kept options mt7915e wed_enable=Y in my /etc/modules.conf. I encountered a very similar loss of WiFi:

I found this in dmesg:

[ 3093.719338] mt7915e 0000:01:00.0: Message 00005aed (seq 4) timeout
[ 3114.108265] mt7915e 0000:01:00.0: Message 000026ed (seq 5) timeout
[ 3134.588086] mt7915e 0000:01:00.0: Message 000025ed (seq 6) timeout
[ 3134.594315] wlan1-1: failed to remove key (0, xx:xx:xx:xx:xx:xx) from hardware (-110)
[ 3155.067961] mt7915e 0000:01:00.0: Message 000026ed (seq 7) timeout
[ 3175.547821] mt7915e 0000:01:00.0: Message 000025ed (seq 8) timeout
[ 3175.554154] ------------[ cut here ]------------
[ 3175.558774] WARNING: CPU: 0 PID: 3916 at ___ieee80211_stop_tx_ba_session+0x36c/0x3d0 [mac80211]
[ 3175.567580] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat cls_flower act_vlan cls_bpf act_bpf sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact seqiv usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd gpio_button_hotplug usbcore usb_common
[ 3175.645851] CPU: 0 PID: 3916 Comm: kworker/u4:0 Tainted: G S                5.15.73 #0
[ 3175.653778] Hardware name: Linksys E8450 (UBI) (DT)
[ 3175.658657] Workqueue: phy1 ieee80211_ba_session_work [mac80211]
[ 3175.664743] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 3175.671714] pc : ___ieee80211_stop_tx_ba_session+0x36c/0x3d0 [mac80211]
[ 3175.678399] lr : ___ieee80211_stop_tx_ba_session+0x218/0x3d0 [mac80211]
[ 3175.685084] sp : ffffffc00ab5bca0
[ 3175.688396] x29: ffffffc00ab5bca0 x28: ffffffc008b8d810 x27: ffffff8004cd1000
[ 3175.695528] x26: 0000000000000000 x25: ffffffc008b8d000 x24: ffffff80024c1080
[ 3175.702659] x23: ffffff800256a0e8 x22: ffffffc000a164ec x21: 0000000000000001
[ 3175.709790] x20: ffffff8000800500 x19: ffffff8004cd1000 x18: 000000000000018e
[ 3175.716921] x17: 0000000000000000 x16: 0000000000000002 x15: 0000365dce5b1d78
[ 3175.724052] x14: 00003631c19ea3e0 x13: ffffffc008818680 x12: 00000000f5257d14
[ 3175.731183] x11: 00000000f5257d14 x10: 000000000000b67e x9 : 0000000000000001
[ 3175.738314] x8 : 00000000005b4dc0 x7 : 0000000000000001 x6 : ffffff801fea8140
[ 3175.745444] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffffff8000d22c00
[ 3175.752573] x2 : 0000000000000000 x1 : ffffff8000d22c00 x0 : 00000000ffffff92
[ 3175.759705] Call trace:
[ 3175.762142]  ___ieee80211_stop_tx_ba_session+0x36c/0x3d0 [mac80211]
[ 3175.768423]  ieee80211_ba_session_work+0x36c/0x390 [mac80211]
[ 3175.774182]  process_one_work+0x200/0x3b4
[ 3175.778189]  worker_thread+0x17c/0x4dc
[ 3175.781931]  kthread+0x11c/0x130
[ 3175.785153]  ret_from_fork+0x10/0x20
[ 3175.788722] ---[ end trace 7a34be0feb127501 ]---
[ 3196.027701] mt7915e 0000:01:00.0: Message 000026ed (seq 9) timeout
[ 3216.507557] mt7915e 0000:01:00.0: Message 000025ed (seq 10) timeout
[ 3216.513896] wlan1-1: HW problem - can not stop rx aggregation for xx:xx:xx:xx:xx:xx tid 0
[ 3236.987433] mt7915e 0000:01:00.0: Message 00005aed (seq 11) timeout
[ 3257.467301] mt7915e 0000:01:00.0: Message 000025ed (seq 12) timeout
[ 3277.947176] mt7915e 0000:01:00.0: Message 0000aded (seq 13) timeout
[ 3298.427053] mt7915e 0000:01:00.0: Message 00005aed (seq 14) timeout
[ 3318.906938] mt7915e 0000:01:00.0: Message 00005aed (seq 15) timeout
[ 3339.386809] mt7915e 0000:01:00.0: Message 00005aed (seq 1) timeout
[ 3359.866694] mt7915e 0000:01:00.0: Message 000026ed (seq 2) timeout