Beryl Wifi Crash

Hi All,

I just started using the new Beryl MT1300 router.
The setup is as follows:
Router to WAN.
PC to LAN and to Wifi.
Wireguard to remote server.
Now every minute my Wifi times out for 4 pings and reports this Kernel log:

[ 533.071976] scan_ch_restore,central ch=42,bw=2
[ 533.071976]
[ 533.334909] 189, flush one!
[ 533.444875] 18a, flush one!
[ 533.554948] 18b, flush one!
[ 533.677455] 18c, flush one!
[ 534.764964] apclix0: ===> apcli_virtual_if_open
[ 534.769553] RTMP_COM_IoctlHandle → CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
[ 534.775845] wifi_sys_open(), wdev idx = 5
[ 534.779868] TxBfModuleEnCtrl:i = 0, pRadioCtrl->IsBfBand = 0
[ 534.785530] TxBfModuleEnCtrl:i = 1, pRadioCtrl->IsBfBand = 1
[ 534.791181] TxBfModuleEnCtrl:u1BfNum = 1, u1BfBitmap = 1, u1BfSelBand[0] = 1
[ 534.798472] MtCmdSetDbdcCtrl:(ret = 0)
[ 534.802413] APCLI inf up for apcli_1(func_idx) OmacIdx=2
[ 536.465015] /work/work/openwrt190704/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt7615-5.0.3.0/mt_wifi_ap/…/mt_wifi/embedded/common/scan.c:99 assert (ch != 0)failed
[ 536.481603] CPU: 0 PID: 4551 Comm: RtmpMlmeTask Not tainted 4.14.195 #0
[ 536.488230] Stack : 00000000 00532150 00000001 8007271c 805b0000 80553d50 00000000 00000000
[ 536.496608] 8051f640 8c7a1dd4 8feac99c 8058e907 8051a430 00000001 8c7a1d78 ac07f5da
[ 536.504962] 00000000 00000000 806f0000 00018828 00000000 000007ad 00000007 00000000
[ 536.513310] 00000000 80590000 00075943 00000000 00000000 805b0000 00000000 00000000
[ 536.521663] c12344b0 8d72ab6c 00000001 00532150 00000002 8029cee8 00000000 806f0000
[ 536.530015] …
[ 536.532458] Call Trace:
[ 536.534939] [<8000c7b0>] show_stack+0x58/0x100
[ 536.539390] [<8045b234>] dump_stack+0xa4/0xe0
[ 536.545087] [<8d506ffc>] scan_ch_restore+0x84/0x4bc [mt_wifi]
[ 536.551856] [<8d4f2888>] MlmeHandler+0x58c/0x760 [mt_wifi]
[ 536.558497] [<8d4f29ec>] MlmeHandler+0x6f0/0x760 [mt_wifi]
[ 536.564596] scan_ch_restore,central ch=0,bw=0
[ 536.564596]

Anyone an idea on how to fix this?

As I have replied you via email, the message is warning.

If it does not affect your usage it should be fine. But I bring it to the attention of developers and they will have a check.

Hi Alzhao,

Thank you for your quick response.
Maybe I was not complete with my question, but this problem does impact operations as my wifi connections stops working every couple of minutes while this message occurs at the same moment.
If you need more information, please let me know!

I filed a bug internally and let wait for firmware upgrade.

Any Update on this?

I have a brand new Beryl and this bug keeps me from using it completely, since the WiFi goes offline every few minutes and I have to restart the whole router manually.

[ 8797.910062] /home/zjh/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt7615-5.0.3.0/mt_wifi_ap/…/mt_wifi/embedded/mcu/andes_core.c:881 assert FALSEfailed
[ 8797.925167] CPU: 1 PID: 2685 Comm: gltertf Not tainted 4.14.221 #0
[ 8797.931319] Stack : 00000000 8ef80a14 8f789f00 8007345c 80600000 8059f784 00000000 00000000
[ 8797.939657] 8056912c 8becbacc 8d2629bc 805dc9c7 80563ec0 00000001 8becba70 ac07f5c4
[ 8797.947989] 00000000 00000000 80740000 000194c8 00000000 000007dc 00000007 00000000
[ 8797.956327] 00000000 805e0000 000e1def 00000000 80000000 80600000 00000000 c131bb48
[ 8797.964662] c131bb10 c131bb30 8e217280 8ef80a14 00000001 802c34c0 00000004 80740004
[ 8797.972999] …
[ 8797.975438] Call Trace:
[ 8797.977905] [<8000c7b0>] show_stack+0x58/0x100
[ 8797.982352] [<8049cf04>] dump_stack+0xa4/0xe0
[ 8797.987981] [<8d53da20>] AndesSendCmdMsg+0x80c/0x978 [mt_wifi]
[ 8797.994576] [<8d54fd1c>] MtCmdGetTxStatistic+0xf4/0x168 [mt_wifi]
[ 8798.001529] [<8d4ab550>] RTMPGetLastTxRate+0x34/0x154 [mt_wifi]
[ 8798.008142] [<8d4ab818>] RTMPIoctlGetMacTableStaInfo+0x1a8/0x2a4 [mt_wifi]
[ 8798.015752] [<8d435c94>] RTMP_AP_IoctlHandle+0x3bc/0x8c8 [mt_wifi]
[ 8798.022687] [<8d4427ac>] rt28xx_ap_ioctl+0x9bc/0xc90 [mt_wifi]
[ 8798.029195] [<8d5e0a74>] rt28xx_ioctl+0x58/0x7c [mt_wifi]
[ 8798.035061] [<8049b5e0>] wext_handle_ioctl+0x1d8/0x288
[ 8798.040214] [<8039a508>] dev_ioctl+0x5d4/0x64c
[ 8798.044647] [<8013eeac>] do_vfs_ioctl+0x780/0x81c
[ 8798.049328] [<8013ef98>] SyS_ioctl+0x50/0x98
[ 8798.053599] [<80016578>] syscall_common+0x34/0x58
[ 8798.058628] MtCmdGetTxStatistic:(ret = 1)
[ 8801.109910] /home/zjh/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/mt7615-5.0.3.0/mt_wifi_ap/…/mt_wifi/embedded/mcu/andes_core.c:881 assert FALSEfailed
[ 8801.125035] CPU: 0 PID: 2685 Comm: gltertf Not tainted 4.14.221 #0
[ 8801.131188] Stack : 00000000 8ef80a14 866973c0 8007345c 80600000 8059f784 00000000 00000000
[ 8801.139525] 8056912c 8becbacc 8d2629bc 805dc9c7 80563ec0 00000001 8becba70 ac07f5c4
[ 8801.147854] 00000000 00000000 80740000 00019b90 00000000 000007f4 00000007 00000000
[ 8801.156186] 00000000 805e0000 0001e86b 00000000 80000000 80600000 00000000 c131bb48
[ 8801.164517] c131bb10 c131bb30 8fd00b00 8ef80a14 00000001 802c34c0 00000000 80740000
[ 8801.172849] …
[ 8801.175285] Call Trace:
[ 8801.177751] [<8000c7b0>] show_stack+0x58/0x100
[ 8801.182195] [<8049cf04>] dump_stack+0xa4/0xe0
[ 8801.187819] [<8d53da20>] AndesSendCmdMsg+0x80c/0x978 [mt_wifi]
[ 8801.194369] [<8d54fd1c>] MtCmdGetTxStatistic+0xf4/0x168 [mt_wifi]
[ 8801.201173] [<8d4ab550>] RTMPGetLastTxRate+0x34/0x154 [mt_wifi]
[ 8801.207774] [<8d4ab818>] RTMPIoctlGetMacTableStaInfo+0x1a8/0x2a4 [mt_wifi]
[ 8801.215327] [<8d435c94>] RTMP_AP_IoctlHandle+0x3bc/0x8c8 [mt_wifi]
[ 8801.222329] [<8d4427ac>] rt28xx_ap_ioctl+0x9bc/0xc90 [mt_wifi]
[ 8801.228843] [<8d5e0a74>] rt28xx_ioctl+0x58/0x7c [mt_wifi]
[ 8801.234598] [<8049b5e0>] wext_handle_ioctl+0x1d8/0x288
[ 8801.239738] [<8039a508>] dev_ioctl+0x5d4/0x64c
[ 8801.244171] [<8013eeac>] do_vfs_ioctl+0x780/0x81c
[ 8801.248853] [<8013ef98>] SyS_ioctl+0x50/0x98
[ 8801.253123] [<80016578>] syscall_common+0x34/0x58
[ 8801.258068] MtCmdGetTxStatistic:(ret = 1)
[ 8802.239843] :MtCmdFwLog2Host: McuDest(0):HOST2N9
[ 9045.419279] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down

Can you please change one power adapter?

I have one power adapter (not the one comes with the router) which cause this problem on 5G wifi.

I have verified that it only happen to that power adapter and not yet know the root problem.