请选择 进入手机版 | 继续访问电脑版

forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 3285|回复: 15

    MT-1300 不定期 WiFi 中断

    [复制链接]

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
    发表于 2022-3-4 10:53:45 | 显示全部楼层 |阅读模式
    本帖最后由 twotreeszf 于 2022-3-22 12:59 编辑

    更新:
    关闭Macbook网络唤醒后,问题解决,不会重连WiFi了。


    以下为问题描述,希望官方能帮忙排查解决一下:



    系统:官方原版 3.211 环境:安装 Luci
    WiFi:5G + 2.4G


    问题描述:

    发现会不定期 WiFi 中断,一般几个小时一次,一天好几次。因为每次WiFi中断会自动重开,一般是2.4G的热点先出来,电脑头一天下班时,连得5G,第二天早上上班就变成2.4G了,说明晚上断过。正常使用过程中,也发现过WiFi中断,表现为SSH后台突然不能敲字了,然后发现WiFi连接没了。

    内核日志可疑之处:
    0195.745457] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(1)
    [80196.844628] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [80440.777889] ASSOC - 1 receive DIS-ASSOC request
    [80494.931463] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(1)
    [80496.031517] :MtCmdPktBudgetCtrl: bssid(255),wcid(65535),type(0)
    [80931.038335] [WrapDfsRddReportHandle]:  Radar detected !!!!!!!!!!!!!!!!!
    [80931.044967] [WrapDfsRddReportHandle]:  ucRddIdx: 1
    [80931.049765] [WrapDfsRddReportHandle]PrimCh: 161, Band0Ch:161, Band1Ch:0
    [80931.056390] [WrapDfsRddReportHandle]Update wdev of BssIdx 0
    [80931.061973] [WrapDfsRddReportHandle] Normal Mode. Update Uniform Ch=161, BW=2 
    [80931.070077] [DfsSwitchChAfterRadarDetected] bandIdx: 1, BssIdx: 0, NextCh: 161
    [80932.120181]  [Dot11HCntDownTimeoutAction] 2 
    [80932.125447] APStop(), oper(2) bssid(0)=94:83:c4:16:61:cb
    [80932.145050] wifi_sys_linkdown(), wdev idx = 0
    [80932.145192] ExtEventBeaconLostHandler::FW LOG, Beacon lost (94:83:c4:16:61:cb), Reason 0x10
    [80932.157763]   Beacon lost - AP disabled!!!
    [80932.162646] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 0, CmdBssInfoBmcRate.u2McTransmit = 0
    [80932.174870] wifi_sys_close(), wdev idx = 0
    [80932.179196] <=== APStop()
    [80932.181852] APStartUp(), oper(2) bssid(0)=94:83:c4:16:61:cb
    [80932.187427] wifi_sys_open(), wdev idx = 0
    [80932.191446] wdev_attr_update(): wdevId0 = 94:83:c4:16:61:cb
    [80932.197013] rcUpdateBandForBFMU        PhyCtrl[0].RadioCtrl.IsBfBand = 0
    [80932.203101] rcUpdateBandForBFMU        PhyCtrl[1].RadioCtrl.IsBfBand = 1
    [80932.209166] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
    [80932.214814] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
    [80932.220446] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
    [80932.227632] MtCmdSetDbdcCtrlret = 0)
    [80932.231463]  [RadarStateCheck] RD_NORMAL_MODE 
    [80934.092638] [DfsCacNormalStart] Normal start. Enable MAC TX
    [80934.099850] Caller: wlan_operate_init+0xf4/0x108 [mt_wifi]
    [80934.105502] phy_mode=49, ch=161, wdev_type=1
    [80934.109826] ht_cap->HtCapInfo: ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=1
    [80934.119158] ht_cap->HtCapParm: mdpu_density=5, ampdu_factor=3
    [80934.125300] AP inf up for ra_0(func_idx) OmacIdx=0
    [80934.130179] AsicRadioOnOffCtrl(): DbdcIdx=1 RadioOn
    [80934.135455] ApAutoChannelAtBootUp----------------->
    [80934.140343] ApAutoChannelAtBootUp: AutoChannelBootup[1] = 1
    [80934.146260] MtCmdSetMacTxRxret = 0)
    [80934.150117] MtCmdSetMacTxRxret = 0)
    [80934.153887] ApAutoChannelAtBootUp<-----------------
    [80934.158908] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [80934.165108] wifi_sys_linkup(), wdev idx = 0
    [80934.169396] wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:127 for WDEV_TYPE:1
    [80934.169396]  LinkToOmacIdx = 0, LinkToWdevType = 1
    [80934.321500] bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 8196
    [80934.334423] MtCmdSetDbdcCtrlret = 0)
    [80934.339416] UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
    [80934.345299] APStartUpForMbss: BssIndex = 1 channel = 161
    [80934.350688] MtCmdTxPowerDropCtrl: ucPowerDrop: 1, BandIdx: 1
    [80934.358010] apidx 0 for WscUUIDInit
    [80934.361623] Generate UUID for apidx(0)
    [80934.365521] [PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
    [80934.371558] APStartUpForMbss: BssIndex = 1 channel = 161
    [80934.377073] MtCmdTxPowerDropCtrl: ucPowerDrop: 1, BandIdx: 1
    [80934.384389] Main bssid = 94:83:c4:16:61:cb
    [80934.388864] MtCmdSetDfsTxStartret = 0)
    [80949.906234] Rcv Wcid(1) AddBAReq
    [80949.909551] Start Seq = 00000000


    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9624

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9624

    官方人员

    发表于 2022-3-4 10:56:08 | 显示全部楼层
    执行下面命令再观察一下
    1. /etc/init.d/gl_health stop
    2. /etc/init.d/gl_health disable
    复制代码
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-4 11:19:38 | 显示全部楼层
    好的,我试试
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-5 11:30:51 | 显示全部楼层
    您好,我按上面的方法试过了,今天早上来公司,WiFi还是切到2.4G了,而且路由器断网,WiFi无法dhcp,拔电重启后网络恢复,可疑日志如下:

    [55212.332293] ------------[ cut here ]------------
    [55212.337016] WARNING: CPU: 0 PID: 18838 at mm/rmap.c:235 anon_vma_clone+0xf4/0x204
    [55212.344957] Modules linked in: rt2800usb rt2800lib pppoe ppp_async option usb_wwan sierra_net sierra rt2x00usb rt2x00lib rndis_host qmi_wwan pppox ppp_mppe ppp_generic nf_nat_pptp nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_conntrack_pptp mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm ebtable_nat ebtable_filter ebtable_broute cp210x cfg80211 cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_hashlimit xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_IPMARK xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbserial usbnet ts_fsm ts_bm slhc nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet
    [55212.417441]  nft_reject nft_redir_ipv4 nft_redir nft_quota nft_numgen nft_nat nft_meta nft_masq_ipv4 nft_masq nft_log nft_limit nft_flow_offload nft_exthdr nft_ct nft_counter nft_chain_route_ipv6 nft_chain_route_ipv4 nft_chain_nat_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables_inet nf_tables nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda mt_wifi macvlan iptable_raw iptable_mangle iptable_filter
    [55212.489407]  ipt_ECN ipheth ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt compat_xtables compat cdc_wdm cdc_acm xt_u32 fuse sch_teql sch_sfq sch_red sch_prio sch_pie sch_multiq sch_gred sch_fq sch_dsmark sch_codel sch_cbq em_text em_nbyte em_meta em_cmp act_simple act_police act_pedit act_ipt act_gact act_csum libcrc32c act_connmark 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 i2c_gpio i2c_algo_bit i2c_dev ledtrig_usbport 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
    [55212.561010]  ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb uas mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd uhci_hcd ohci_platform ohci_hcd ahci libahci libata ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat usbcore nls_base usb_common mii crc32c_generic
    [55212.624177] CPU: 0 PID: 18838 Comm: sh Not tainted 4.14.241 #0
    [55212.629996] Stack : 00000000 8bab0f3c 01000000 8007351c 80610000 805a198c 00000000 00000000
    [55212.638355]         8056b22c 8c137cfc 8fd11cfc 805e09e7 80565fc0 00000001 8c137ca0 ac07f5e8
    [55212.646705]         00000000 00000000 80740000 0000cc00 00000000 00000975 00000008 00000000
    [55212.655058]         00000000 805e0000 00098631 00000000 80000000 80600000 00000000 80572e40
    [55212.663415]         8011054c 000000eb 80770000 8bab0f3c 00000001 802c48a0 003beb2f 003beb6f
    [55212.671766]         ...
    [55212.674208] Call Trace:
    [55212.676683] [<8000c7b0>] show_stack+0x58/0x100
    [55212.681136] [<8049ee14>] dump_stack+0xa4/0xe0
    [55212.685491] [<8002f8d8>] __warn+0xe0/0x138
    [55212.689579] [<8002f9c0>] warn_slowpath_null+0x1c/0x2c
    [55212.694626] [<8011054c>] anon_vma_clone+0xf4/0x204
    [55212.699402] [<80110698>] anon_vma_fork+0x3c/0x158
    [55212.704095] [<8002dc04>] copy_process.part.87+0xa04/0x160c
    [55212.709566] [<8002e9c0>] _do_fork+0x100/0x380
    [55212.713910] [<8002eca0>] sys_fork+0x24/0x30
    [55212.718099] [<80016578>] syscall_common+0x34/0x58
    [55212.723436] ---[ end trace 86a93de26a1e1c5e ]---

    麻烦帮忙看一下啊
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9624

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9624

    官方人员

    发表于 2022-3-5 17:27:44 | 显示全部楼层
    twotreeszf 发表于 2022-3-5 11:30
    您好,我按上面的方法试过了,今天早上来公司,WiFi还是切到2.4G了,而且路由器断网,WiFi无法dhcp,拔电重 ...

    是不是有啥东西把内存都占光了啊?
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-5 18:09:41 | 显示全部楼层
    本帖最后由 twotreeszf 于 2022-3-5 18:10 编辑

    内存问题我再观察一下,按理说不应该,晚上都没有流量。

    请教一下,这个机器我这边还有个问题,就是没法刷自己编译的OpenWrt固件,要么完全没法启动一直闪灯,要么只能ssh进去,但是luci没有,而且我看dmesg有报错,麻烦问一下怎么回事,用的这里的固件 https://www.right.com.cn/forum/f ... wthread&tid=7085123

    [  314.784165] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  314.958921] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  314.965776] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  315.117146] SQUASHFS error: xz decompression failed, data probably corrupt
    [  315.124073] SQUASHFS error: squashfs_read_data failed to read block 0x3799fa
    [  315.142993] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  315.149920] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  315.315369] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  315.322267] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  315.490149] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  315.497015] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  315.669030] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  315.676022] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  315.694933] SQUASHFS error: xz decompression failed, data probably corrupt
    [  315.701894] SQUASHFS error: squashfs_read_data failed to read block 0x1200262
    [  315.828030] SQUASHFS error: xz decompression failed, data probably corrupt
    [  315.834990] SQUASHFS error: squashfs_read_data failed to read block 0x1200262
    [  315.872253] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  315.879255] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    [  316.042245] SQUASHFS error: Unable to read fragment cache entry [1199c7e]
    [  316.049104] SQUASHFS error: Unable to read page, block 1199c7e, size b86c
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-6 17:35:37 | 显示全部楼层
    更新一下关于WiFi断开的问题,今天在公司加班,突然发生了断开和5G切到2.4G,我查了一下路由器日志,发现比较正常,于是看了一下Mac电脑的wifi日志/var/log/wifi.log,在日志中发现这么一条,时间点刚好吻合,目前猜测是Mac系统的问题,我暂时关闭了电脑的网络唤醒,再观察一下。


    Sun Mar  6 03:45:22.462 <airport[243]> systemWokenByWiFi: System Wake Reason not found
    Sun Mar  6 03:45:26.488 <airport[243]> ERROR: rapportd (438) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.489 <airport[243]> ERROR: sharingd (492) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.633 <airport[243]> ERROR: rapportd (438) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.634 <airport[243]> ERROR: sharingd (492) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.779 <airport[243]> ERROR: rapportd (438) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.781 <airport[243]> ERROR: sharingd (492) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.928 <airport[243]> ERROR: sharingd (492) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.936 <airport[243]> ERROR: rapportd (438) is not entitled for com.apple.wifi.join_history, will not allow request
    Sun Mar  6 03:45:26.969 <airport[243]> systemWokenByWiFi: System Wake Reason not found
    Sun Mar  6 03:45:27.142 <airport[243]> systemWokenByWiFi: System Wake Reason not found
    Sun Mar  6 03:45:39.566 <airport[243]> __SymptomsMgrDNSFailureSymptomsCallback: __SymptomsMgrDNSFailureSymptomsCallback called at 668202339.566507
    Sun Mar  6 03:45:47.818 Apple80211Set:10289 Processing APPLE80211_IOC_ROAM
    Sun Mar  6 03:45:47.818 Apple80211Set:10303 Processing APPLE80211_IOC_ROAM dataRef:0x7fbddd94e670
    Sun Mar  6 03:45:47.818 Apple80211Set:10324 CFType is CFData
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9624

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9624

    官方人员

    发表于 2022-3-7 09:12:17 | 显示全部楼层
    twotreeszf 发表于 2022-3-6 17:35
    更新一下关于WiFi断开的问题,今天在公司加班,突然发生了断开和5G切到2.4G,我查了一下路由器日志,发现比 ...

    看起来像是系统休眠导致的
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-7 12:18:20 | 显示全部楼层
    我系统并没有休眠,貌似是系统bug,在正常使用过程中被触发网络唤醒,导致了重新联网
    回复

    使用道具 举报

    2

    主题

    12

    帖子

    54

    积分

    注册会员

    Rank: 2

    积分
    54
     楼主| 发表于 2022-3-8 12:55:01 | 显示全部楼层
    更新,这几天没有观察到中断,后面再看看,多谢。
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-4-19 08:20 , Processed in 0.023507 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表