Errors when using 8822CE wifi module on Rock 3A

Hi,i’m using a Realtek 8822CE wifi module on Rock 3A,but after booting up i got a lof of errors.

This error occurs as soon as the system boot and it will keep repeat at intervals from a few seconds to about 5 minutes,but sometimes it could be like 20 times per second and make the console nearly unusable :

rockchip_canfd fe580000.can can0: rockchip_canfd_get_berr_counter RX_ERR_CNT=0x00000000, TX_ERR_CNT=0x00000000

When trying to connect to a wifi network will get another error:

root@rock-3a:/home/rock# nm[   39.547631] rockchip_canfd fe580000.can can0: rockchip_canfd_get_berr_counter RX_ERR_CNT=0x00000000, TX_ERR_CNT=0x00000000
cli dev wifi connect ssid password password
[   68.791181] ------------[ cut here ]------------
[   68.791395] WARNING: CPU: 1 PID: 369 at net/wireless/nl80211.c:15676 cfg80211_ch_switch_notify+0xdc/0x118
[   68.791442] Modules linked in: 8021q rtl88x2ce btusb btrtl btbcm btintel bluetooth ecdh_generic sch_fq_codel ip_tables x_tables ipv6 dwc3 udc_core dwc3_of_simple realtek
[   68.791528] CPU: 1 PID: 369 Comm: RTW_CMD_THREAD Not tainted 4.19.193-36-rockchip-gd05f98887579 #rockchip
[   68.791557] Hardware name: Radxa ROCK 3 Model A (DT)
[   68.791577] pstate: 40c00009 (nZcv daif +PAN +UAO)
[   68.791605] pc : cfg80211_ch_switch_notify+0xdc/0x118
[   68.791630] lr : cfg80211_ch_switch_notify+0xdc/0x118
[   68.791652] sp : ffffff800c25bc70
[   68.791672] x29: ffffff800c25bc70 x28: ffffffc059bd6a00
[   68.791696] x27: ffffff8000f7a288 x26: ffffff800c0421f4
[   68.791720] x25: 0000000000000001 x24: ffffffc05a291400
[   68.791741] x23: ffffffc05a290000 x22: ffffffc05a291000
[   68.791758] x21: 0000000000000976 x20: ffffffc059490000
[   68.791776] x19: ffffff800c25bd08 x18: 000000000000000a
[   68.791793] x17: 0000000000000000 x16: 0000000000000000
[   68.791816] x15: 00000000000c128d x14: 0720072007200720
[   68.791840] x13: 0720072007200720 x12: 0720072007200720
[   68.791862] x11: 0720072007200720 x10: 0720072007200720
[   68.791885] x9 : 0720072007200720 x8 : 0720072007200720
[   68.791909] x7 : 0720072d072d072d x6 : ffffffc05cbbc908
[   68.791932] x5 : ffffffc05cbbc908 x4 : 0000000000000000
[   68.791955] x3 : ffffffc05cbc4928 x2 : d3e1dbb257ba9700
[   68.791981] x1 : 0000000000000000 x0 : 0000000000000024
[   68.792017]
[   68.792017] PC: 0xffffff8008bd6fb0:
[   68.792035] 6fb0  52800800 900035c2 911ae042 1ac00c60 937d7c00 f8626800 9ac32400 36000120
[   68.792065] 6fd0  f9401035 b40000f5 a94002a3 aa1303e2 aa1703e1 d63f0060 f8418ea0 b5ffff60
[   68.792094] 6ff0  a9400660 a9160680 a9410660 a9170680 a9400660 a9140680 a9410660 a9150680
[   68.792161] 7010  b9400a80 7100081f 540000e1 f9409e80 b5000200 b0001c60 91029800 940289be
[   68.792194] 7030  d4210000 aa1303e2 910422e1 aa1603e0 52800004 52800b03 97ffff2f a94153f3
[   68.792228] 7050  a9425bf5 f9401bf7 a8c47bfd d65f03c0 f9400261 f9003401 17fffff3 a9b97bfd
[   68.792261] 7070  910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0503f4 2a0103f7
[   68.792296] 7090  aa0003f3 2a0203f8 aa1e03e0 aa0303f5 12001c99 d503201f f00035b6 911a22c0
[   68.792329]
[   68.792329] LR: 0xffffff8008bd6fb0:
[   68.792346] 6fb0  52800800 900035c2 911ae042 1ac00c60 937d7c00 f8626800 9ac32400 36000120
[   68.792379] 6fd0  f9401035 b40000f5 a94002a3 aa1303e2 aa1703e1 d63f0060 f8418ea0 b5ffff60
[   68.792414] 6ff0  a9400660 a9160680 a9410660 a9170680 a9400660 a9140680 a9410660 a9150680
[   68.792448] 7010  b9400a80 7100081f 540000e1 f9409e80 b5000200 b0001c60 91029800 940289be
[   68.792483] 7030  d4210000 aa1303e2 910422e1 aa1603e0 52800004 52800b03 97ffff2f a94153f3
[   68.792516] 7050  a9425bf5 f9401bf7 a8c47bfd d65f03c0 f9400261 f9003401 17fffff3 a9b97bfd
[   68.792550] 7070  910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0503f4 2a0103f7
[   68.792578] 7090  aa0003f3 2a0203f8 aa1e03e0 aa0303f5 12001c99 d503201f f00035b6 911a22c0
[   68.792614]
[   68.792614] SP: 0xffffff800c25bbf0:
[   68.792637] bbf0  5a291400 ffffffc0 00000001 00000000 0c0421f4 ffffff80 00f7a288 ffffff80
[   68.792672] bc10  59bd6a00 ffffffc0 0c25bc70 ffffff80 08bd7030 ffffff80 0c25bc70 ffffff80
[   68.792705] bc30  08bd7030 ffffff80 40c00009 00000000 00000000 00000000 00000003 00000000
[   68.792740] bc50  ffffffff ffffffff 00000976 00000000 0c25bc70 ffffff80 08bd7030 ffffff80
[   68.792775] bc70  0c25bcb0 ffffff80 00fd71d8 ffffff80 00000980 00000000 0c041000 ffffff80
[   68.792808] bc90  00000976 00000000 00000001 00000000 00000001 00000000 0c041000 ffffff80
[   68.792838] bcb0  0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000 ffffff80 00000003 00000000
[   68.792871] bcd0  00000001 00000000 00000001 00000000 0c25bdd6 ffffff80 0c25bdd5 ffffff80
[   68.792908]
[   68.792908] X3: 0xffffffc05cbc48a8:
[   68.792933] 48a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.792968] 48c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793001] 48e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793034] 4908  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793063] 4928  5cbbc908 ffffffc0 00000000 00000000 00000000 00000000 00000000 dead4ead
[   68.793099] 4948  ffffffff 00000000 ffffffff ffffffff 5cbc4958 ffffffc0 5cbc4958 ffffffc0
[   68.793135] 4968  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[   68.793169] 4988  ffffffff ffffffff 00000000 00000000 5cbc4998 ffffffc0 5cbc4998 ffffffc0
[   68.793206]
[   68.793206] X5: 0xffffffc05cbbc888:
[   68.793227] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793262] c8a8  5c6e2000 ffffffc0 00000004 00000000 5c6b1e80 ffffffc0 00000000 00000000
[   68.793296] c8c8  00000000 00000000 00000000 00000000 13ea6c87 00000001 2ec224d1 00000000
[   68.793327] c8e8  5cbc60c8 ffffffc0 5acf3c80 ffffffc0 00000001 00000000 00000007 00000000
[   68.793361] c908  00000000 00000000 08111dc0 ffffff80 00000000 00000000 00000000 00000000
[   68.793394] c928  00000000 00000000 00000000 00000000 081132ac ffffff80 00000000 00000000
[   68.793428] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793462] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793497]
[   68.793497] X6: 0xffffffc05cbbc888:
[   68.793519] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793548] c8a8  5c6e2000 ffffffc0 00000004 00000000 5c6b1e80 ffffffc0 00000000 00000000
[   68.793581] c8c8  00000000 00000000 00000000 00000000 13ea6c87 00000001 2ec224d1 00000000
[   68.793614] c8e8  5cbc60c8 ffffffc0 5acf3c80 ffffffc0 00000001 00000000 00000007 00000000
[   68.793647] c908  00000000 00000000 08111dc0 ffffff80 00000000 00000000 00000000 00000000
[   68.793680] c928  00000000 00000000 00000000 00000000 081132ac ffffff80 00000000 00000000
[   68.793713] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793746] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.793786]
[   68.793786] X19: 0xffffff800c25bc88:
[   68.793803] bc88  0c041000 ffffff80 00000976 00000000 00000001 00000000 00000001 00000000
[   68.793837] bca8  0c041000 ffffff80 0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000 ffffff80
[   68.793871] bcc8  00000003 00000000 00000001 00000000 00000001 00000000 0c25bdd6 ffffff80
[   68.793904] bce8  0c25bdd5 ffffff80 0c25bdd4 ffffff80 0c04185e ffffff80 00000001 00000000
[   68.793938] bd08  5a2aa8d8 ffffffc0 00000002 00000980 00000000 d3e1dbb2 0c25bd50 ffffff80
[   68.793971] bd28  57ba9700 d3e1dbb2 0c25bd80 ffffff80 00f7a4dc ffffff80 0c041000 ffffff80
[   68.794005] bd48  0c04185d ffffff80 0c04185e ffffff80 0c041cd2 ffffff80 0111fd80 ffffff80
[   68.794034] bd68  0111f000 ffffff80 0111f000 ffffff80 0c041cd2 ffffff80 0c25bde0 ffffff80
[   68.794069]
[   68.794069] X20: 0xffffffc05948ff80:
[   68.794091] ff80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794126] ffa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794158] ffc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794192] ffe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794225] 0000  5a291400 ffffffc0 00000002 00000000 5a291960 ffffffc0 5a291960 ffffffc0
[   68.794258] 0020  5a290000 ffffffc0 00000001 00000000 53f5ea80 ffffffc0 52457c80 ffffffc0
[   68.794286] 0040  00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 00000000 00000000
[   68.794319] 0060  00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 00000000 00000000
[   68.794354]
[   68.794354] X22: 0xffffffc05a290f80:
[   68.794378] 0f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794414] 0fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794450] 0fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794487] 0fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794522] 1000  01121af8 ffffff80 093daec8 ffffff80 093daec8 ffffff80 00000000 00000000
[   68.794561] 1020  00000000 00000000 08bb07f8 ffffff80 5a2aa000 ffffffc0 ffffffe0 0000000f
[   68.794590] 1040  5a291040 ffffffc0 5a291040 ffffffc0 08bb0838 ffffff80 00000000 00000000
[   68.794625] 1060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794657]
[   68.794657] X23: 0xffffffc05a28ff80:
[   68.794674] ff80  71003f9f 1a809400 11000400 b9006ba0 17ffffde b9006bbf 90000000 b9400000
[   68.794704] ffa0  71000c1f 54000288 52800001 f9403ba0 97fffa9d 12003c13 90000000 b9400000
[   68.794732] ffc0  71000c1f 54000228 b9406ba0 0b000273 7101267f 540011cc 52800014 3400121a
[   68.794759] ffe0  910203bc 90000000 91000000 f90033a0 14000037 b9406ba1 90000000 91000000
[   68.794786] 0000  31706c77 00003073 00000000 00000000 00000000 00000000 5b91d448 ffffffc0
[   68.794821] 0020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794849] 0040  00000000 00000000 00000007 00000000 093ca150 ffffff80 5ac14050 ffffffc0
[   68.794878] 0060  0c045038 ffffff80 0c045038 ffffff80 5a290070 ffffffc0 5a290070 ffffffc0
[   68.794908]
[   68.794908] X24: 0xffffffc05a291380:
[   68.794924] 1380  ffffffe0 0000000f 5a291388 ffffffc0 5a291388 ffffffc0 08bae988 ffffff80
[   68.794952] 13a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.794981] 13c0  00000000 00000000 00000000 00000000 ffffffe0 0000000f 5a2913d8 ffffffc0
[   68.795016] 13e0  5a2913d8 ffffffc0 08bae948 ffffff80 00000000 00000000 00000000 00000000
[   68.795045] 1400  c7c4cd28 0000a551 00000000 00000000 00000000 00000000 010b0f58 ffffff80
[   68.795079] 1420  00000000 00000000 00000000 00000000 0010000e 00220010 00000001 000000a0
[   68.795107] 1440  00000000 00000000 00000000 00000001 00000000 00000009 00000900 00000001
[   68.795134] 1460  ffffffff 00000000 00000005 00000000 010b0f90 ffffff80 00000000 00000000
[   68.795163]
[   68.795163] X26: 0xffffff800c042174:
[   68.795183] 2174  00000000 ffffffff ffffffff 00000000 00000000 0c042188 ffffff80 0c042188
[   68.795213] 2194  ffffff80 54c10040 ffffffc0 54c10040 ffffffc0 00000000 dead4ead ffffffff
[   68.795241] 21b4  00000000 ffffffff ffffffff 00000021 00000000 59bd6a00 ffffffc0 59bd6800
[   68.795270] 21d4  ffffffc0 59492404 ffffffc0 59492400 ffffffc0 00000121 00000000 00000000
[   68.795307] 21f4  00000001 0c041000 ffffff80 00000000 00000000 00000000 dead4ead ffffffff
[   68.795336] 2214  00000000 ffffffff ffffffff 00000000 00000000 0c042228 ffffff80 0c042228
[   68.795364] 2234  ffffff80 0000009a 00000000 00000000 00000000 00000000 00000000 0000009a
[   68.795391] 2254  00000000 0c041000 ffffff80 0c041000 ffffff80 58634000 ffffffc0 010258a0
[   68.795420]
[   68.795420] X27: 0xffffff8000f7a208:
[   68.795437] a208  b0000981 91244021 91252021 b0000b40 91160000 95f3fd42 17fffff2 2a1603e5
[   68.795464] a228  2a1503e4 2a1403e3 f96c7e62 b0000981 91244021 91252021 b0000b40 91168000
[   68.795493] a248  95f3fd37 f0001220 b9499800 71000c1f 54fff949 2a1603e5 2a1503e4 2a1403e3
[   68.795521] a268  f96c7e62 b0000981 91244021 91252021 b0000b40 91170000 95f3fd29 17ffffbf
[   68.795557] a288  a9ba7bfd 910003fd a90153f3 f90017f6 aa0003f3 aa0103f4 aa1e03e0 d503201f
[   68.795585] a2a8  900418a0 f9434401 f9002fa1 d2800001 91334a76 39015fbf b94baa60 36700220
[   68.795614] a2c8  370807c0 b90baa7f aa1303e0 940017ac 91400660 9102c000 95c6e74e 52800041
[   68.795641] a2e8  aa1303e0 9400109e d2800002 52800161 aa1303e0 9401cd56 b94baa60 370806c0
[   68.795670]
[   68.795670] X28: 0xffffffc059bd6980:
[   68.795686] 6980  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.795714] 69a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.795748] 69c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.795777] 69e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.795812] 6a00  00000168 809f7690 0003e0eb 00000006 70706944 00007265 00000000 00000000
[   68.795841] 6a20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.795869] 6a40  00000000 00000000 00000000 00000000 00000000 00000001 ffffffe1 ffffffff
[   68.795897] 6a60  00000000 00000064 00000000 00000003 00000001 968b8482 6c482412 6030180c
[   68.795927]
[   68.795927] X29: 0xffffff800c25bbf0:
[   68.795943] bbf0  5a291400 ffffffc0 00000001 00000000 0c0421f4 ffffff80 00f7a288 ffffff80
[   68.795972] bc10  59bd6a00 ffffffc0 0c25bc70 ffffff80 08bd7030 ffffff80 0c25bc70 ffffff80
[   68.796007] bc30  08bd7030 ffffff80 40c00009 00000000 00000000 00000000 00000003 00000000
[   68.796036] bc50  ffffffff ffffffff 00000976 00000000 0c25bc70 ffffff80 08bd7030 ffffff80
[   68.796070] bc70  0c25bcb0 ffffff80 00fd71d8 ffffff80 00000980 00000000 0c041000 ffffff80
[   68.796105] bc90  00000976 00000000 00000001 00000000 00000001 00000000 0c041000 ffffff80
[   68.796134] bcb0  0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000 ffffff80 00000003 00000000
[   68.796161] bcd0  00000001 00000000 00000001 00000000 0c25bdd6 ffffff80 0c25bdd5 ffffff80
[   68.796190]
[   68.796204] Call trace:
[   68.796244]  cfg80211_ch_switch_notify+0xdc/0x118
[   68.796477]  rtw_cfg80211_ch_switch_notify+0xe4/0x140 [rtl88x2ce]
[   68.796655]  rtw_chk_start_clnt_join+0x84/0x168 [rtl88x2ce]
[   68.796822]  join_cmd_hdl+0x254/0x36c [rtl88x2ce]
[   68.796981]  rtw_cmd_thread+0x348/0x60c [rtl88x2ce]
[   68.797035]  kthread+0x124/0x134
[   68.797069]  ret_from_fork+0x10/0x18
[   68.797096] ---[ end trace 19e44819c30024ff ]---
[   68.797307] ------------[ cut here ]------------
[   68.797462] WARNING: CPU: 1 PID: 369 at net/wireless/nl80211.c:2883 nl80211_send_chandef+0x54/0x180
[   68.797489] Modules linked in: 8021q rtl88x2ce btusb btrtl btbcm btintel bluetooth ecdh_generic sch_fq_codel ip_tables x_tables ipv6 dwc3 udc_core dwc3_of_simple realtek
[   68.797564] CPU: 1 PID: 369 Comm: RTW_CMD_THREAD Tainted: G        W         4.19.193-36-rockchip-gd05f98887579 #rockchip
[   68.797588] Hardware name: Radxa ROCK 3 Model A (DT)
[   68.797605] pstate: 40c00009 (nZcv daif +PAN +UAO)
[   68.797628] pc : nl80211_send_chandef+0x54/0x180
[   68.797646] lr : nl80211_send_chandef+0x54/0x180
[   68.797660] sp : ffffff800c25bbb0
[   68.797674] x29: ffffff800c25bbb0 x28: ffffffc05a290108
[   68.797693] x27: ffffff800c25bd08 x26: 0000000000000000
[   68.797711] x25: ffffff800908a000 x24: ffffffc05a291000
[   68.797729] x23: ffffffc0598c4d00 x22: ffffff800928e000
[   68.797746] x21: ffffff800c25bc64 x20: ffffff800928e000
[   68.797764] x19: ffffff800c25bd08 x18: 000000000000000a
[   68.797781] x17: 0000000000000000 x16: 0000000000000000
[   68.797798] x15: 00000000000c2a7b x14: 0720072007200720
[   68.797814] x13: 0720072007200720 x12: 0720072007200720
[   68.797831] x11: 0720072007200720 x10: 0720072007200720
[   68.797849] x9 : 0720072007200720 x8 : 0720072007200720
[   68.797866] x7 : 0720072d072d072d x6 : ffffffc05cbbc908
[   68.797882] x5 : ffffffc05cbbc908 x4 : 0000000000000000
[   68.797900] x3 : ffffffc05cbc4928 x2 : d3e1dbb257ba9700
[   68.797916] x1 : 0000000000000000 x0 : 0000000000000024
[   68.797936]
[   68.797936] PC: 0xffffff8008bc2750:
[   68.797952] 2750  37000094 53017e94 110006b5 17fffff5 d2800003 52800002 2a1503e1 aa1303e0
[   68.797984] 2770  97e39134 34ffff00 17ffffe6 a9bb7bfd 910003fd a90153f3 a9025bf5 f9001bf7
[   68.798011] 2790  aa0103f3 aa0003f7 aa1e03e0 d503201f 90003676 911a22c0 f9400001 f90027a1
[   68.798039] 27b0  d2800001 aa1303e0 94007fc1 72001c1f 54000541 d0001d00 91029800 9402dbd6
[   68.798066] 27d0  d4210000 128002b5 911a22c1 2a1503e0 f94027a2 f9400021 ca010041 b40007e1
[   68.798093] 27f0  97d3ba45 52800000 14000033 b9400a60 aa1403e3 b90047a0 52800082 528013e1
[   68.798120] 2810  aa1703e0 97e3910b 35000640 b9400e60 aa1403e3 b90047a0 52800082 52801401
[   68.798148] 2830  aa1703e0 97e39103 2a0003f5 35000520 b9401260 34fffca0 b90047a0 aa1403e3
[   68.798177]
[   68.798177] LR: 0xffffff8008bc2750:
[   68.798194] 2750  37000094 53017e94 110006b5 17fffff5 d2800003 52800002 2a1503e1 aa1303e0
[   68.798222] 2770  97e39134 34ffff00 17ffffe6 a9bb7bfd 910003fd a90153f3 a9025bf5 f9001bf7
[   68.798250] 2790  aa0103f3 aa0003f7 aa1e03e0 d503201f 90003676 911a22c0 f9400001 f90027a1
[   68.798276] 27b0  d2800001 aa1303e0 94007fc1 72001c1f 54000541 d0001d00 91029800 9402dbd6
[   68.798303] 27d0  d4210000 128002b5 911a22c1 2a1503e0 f94027a2 f9400021 ca010041 b40007e1
[   68.798330] 27f0  97d3ba45 52800000 14000033 b9400a60 aa1403e3 b90047a0 52800082 528013e1
[   68.798358] 2810  aa1703e0 97e3910b 35000640 b9400e60 aa1403e3 b90047a0 52800082 52801401
[   68.798389] 2830  aa1703e0 97e39103 2a0003f5 35000520 b9401260 34fffca0 b90047a0 aa1403e3
[   68.798421]
[   68.798421] SP: 0xffffff800c25bb30:
[   68.798437] bb30  5a291000 ffffffc0 0908a000 ffffff80 00000000 00000000 0c25bd08 ffffff80
[   68.798465] bb50  5a290108 ffffffc0 0c25bbb0 ffffff80 08bc27d0 ffffff80 0c25bbb0 ffffff80
[   68.798492] bb70  08bc27d0 ffffff80 40c00009 00000000 0c25bd50 00000000 08be2708 ffffff80
[   68.798520] bb90  ffffffff ffffffff 000000b2 00000000 0c25bbb0 ffffff80 08bc27d0 ffffff80
[   68.798548] bbb0  0c25bc00 ffffff80 08bd6dd0 ffffff80 598c4d00 ffffffc0 0928e000 ffffff80
[   68.798576] bbd0  0c25bc64 ffffff80 00000058 00000000 5a292014 ffffffc0 0928e000 ffffff80
[   68.798603] bbf0  0c25bc00 ffffff80 57ba9700 d3e1dbb2 0c25bc70 ffffff80 08bd704c ffffff80
[   68.798630] bc10  0c25bd08 ffffff80 59490000 ffffffc0 00000976 00000000 5a291000 ffffffc0
[   68.798661]
[   68.798661] X3: 0xffffffc05cbc48a8:
[   68.798678] 48a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.798707] 48c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.798735] 48e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.798763] 4908  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.798790] 4928  5cbbc908 ffffffc0 00000000 00000000 00000000 00000000 00000000 dead4ead
[   68.798818] 4948  ffffffff 00000000 ffffffff ffffffff 5cbc4958 ffffffc0 5cbc4958 ffffffc0
[   68.798844] 4968  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[   68.798872] 4988  ffffffff ffffffff 00000000 00000000 5cbc4998 ffffffc0 5cbc4998 ffffffc0
[   68.798911]
[   68.798911] X5: 0xffffffc05cbbc888:
[   68.798928] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.798956] c8a8  5c6e2000 ffffffc0 00000004 00000000 5c6b1e80 ffffffc0 00000000 00000000
[   68.798982] c8c8  00000000 00000000 00000000 00000000 13ea6c87 00000001 2f1f7ab2 00000000
[   68.799009] c8e8  5cbc60c8 ffffffc0 5acf3c80 ffffffc0 00000001 00000000 00000007 00000000
[   68.799036] c908  00000000 00000000 08111dc0 ffffff80 00000000 00000000 00000000 00000000
[   68.799063] c928  00000000 00000000 00000000 00000000 081132ac ffffff80 00000000 00000000
[   68.799090] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.799117] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.799145]
[   68.799145] X6: 0xffffffc05cbbc888:
[   68.799161] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.799195] c8a8  5c6e2000 ffffffc0 00000004 00000000 5c6b1e80 ffffffc0 00000000 00000000
[   68.799222] c8c8  00000000 00000000 00000000 00000000 13ea6c87 00000001 2f1f7ab2 00000000
[   68.799249] c8e8  5cbc60c8 ffffffc0 5acf3c80 ffffffc0 00000001 00000000 00000007 00000000
[   68.799277] c908  00000000 00000000 08111dc0 ffffff80 00000000 00000000 00000000 00000000
[   68.799303] c928  00000000 00000000 00000000 00000000 081132ac ffffff80 00000000 00000000
[   68.799330] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.799357] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.799390]
[   68.799390] X19: 0xffffff800c25bc88:
[   68.799408] bc88  0c041000 ffffff80 00000976 00000000 00000001 00000000 00000001 00000000
[   68.799435] bca8  0c041000 ffffff80 0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000 ffffff80
[   68.799463] bcc8  00000003 00000000 00000001 00000000 00000001 00000000 0c25bdd6 ffffff80
[   68.799489] bce8  0c25bdd5 ffffff80 0c25bdd4 ffffff80 0c04185e ffffff80 00000001 00000000
[   68.799517] bd08  5a2aa8d8 ffffffc0 00000002 00000980 00000000 d3e1dbb2 0c25bd50 ffffff80
[   68.799544] bd28  57ba9700 d3e1dbb2 0c25bd80 ffffff80 00f7a4dc ffffff80 0c041000 ffffff80
[   68.799571] bd48  0c04185d ffffff80 0c04185e ffffff80 0c041cd2 ffffff80 0111fd80 ffffff80
[   68.799598] bd68  0111f000 ffffff80 0111f000 ffffff80 0c041cd2 ffffff80 0c25bde0 ffffff80
[   68.799626]
[   68.799626] X20: 0xffffff800928df80:
[   68.799642] df80  09121b09 831d9e83 2c58742c 1a342e1a 1b362d1b 6edcb26e 5ab4ee5a a05bfba0
[   68.799674] dfa0  52a4f652 3b764d3b d6b761d6 b37dceb3 29527b29 e3dd3ee3 2f5e712f 84139784
[   68.799701] dfc0  53a6f553 d1b968d1 00000000 edc12ced 20406020 fce31ffc b179c8b1 5bb6ed5b
[   68.799729] dfe0  6ad4be6a cb8d46cb be67d9be 39724b39 4a94de4a 4c98d44c 58b0e858 cf854acf
[   68.799756] e000  d0bb6bd0 efc52aef aa4fe5aa fbed16fb 4386c543 4d9ad74d 33665533 85119485
[   68.799783] e020  458acf45 f9e910f9 02040602 7ffe817f 50a0f050 3c78443c 9f25ba9f a84be3a8
[   68.799811] e040  51a2f351 a35dfea3 4080c040 8f058a8f 923fad92 9d21bc9d 38704838 f5f104f5
[   68.799837] e060  bc63dfbc b677c1b6 daaf75da 21426321 10203010 ffe51aff f3fd0ef3 d2bf6dd2
[   68.799865]
[   68.799865] X21: 0xffffff800c25bbe4:
[   68.799881] bbe4  ffffffc0 0928e000 ffffff80 0c25bc00 ffffff80 57ba9700 d3e1dbb2 0c25bc70
[   68.799910] bc04  ffffff80 08bd704c ffffff80 0c25bd08 ffffff80 59490000 ffffffc0 00000976
[   68.799938] bc24  00000000 5a291000 ffffffc0 5a290000 ffffffc0 5a291400 ffffffc0 00000001
[   68.799966] bc44  00000000 0c0421f4 ffffff80 00f7a288 ffffff80 59bd6a00 ffffffc0 0c25bc70
[   68.799993] bc64  00000004 57ba9700 d3e1dbb2 0c25bcb0 ffffff80 00fd71d8 ffffff80 00000980
[   68.800021] bc84  00000000 0c041000 ffffff80 00000976 00000000 00000001 00000000 00000001
[   68.800048] bca4  00000000 0c041000 ffffff80 0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000
[   68.800075] bcc4  ffffff80 00000003 00000000 00000001 00000000 00000001 00000000 0c25bdd6
[   68.800103]
[   68.800103] X22: 0xffffff800928df80:
[   68.800124] df80  09121b09 831d9e83 2c58742c 1a342e1a 1b362d1b 6edcb26e 5ab4ee5a a05bfba0
[   68.800151] dfa0  52a4f652 3b764d3b d6b761d6 b37dceb3 29527b29 e3dd3ee3 2f5e712f 84139784
[   68.800178] dfc0  53a6f553 d1b968d1 00000000 edc12ced 20406020 fce31ffc b179c8b1 5bb6ed5b
[   68.800205] dfe0  6ad4be6a cb8d46cb be67d9be 39724b39 4a94de4a 4c98d44c 58b0e858 cf854acf
[   68.800232] e000  d0bb6bd0 efc52aef aa4fe5aa fbed16fb 4386c543 4d9ad74d 33665533 85119485
[   68.800262] e020  458acf45 f9e910f9 02040602 7ffe817f 50a0f050 3c78443c 9f25ba9f a84be3a8
[   68.800291] e040  51a2f351 a35dfea3 4080c040 8f058a8f 923fad92 9d21bc9d 38704838 f5f104f5
[   68.800318] e060  bc63dfbc b677c1b6 daaf75da 21426321 10203010 ffe51aff f3fd0ef3 d2bf6dd2
[   68.800347]
[   68.800347] X23: 0xffffffc0598c4c80:
[   68.800364] 4c80  000000be 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800392] 4ca0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800418] 4cc0  ffff0000 00000000 00000000 00000000 00000000 00000000 000000be 000000c0
[   68.800446] 4ce0  586cf400 ffffffc0 586cf400 ffffffc0 00000300 00000001 00100873 00000000
[   68.800474] 4d00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800502] 4d20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800528] 4d40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800556] 4d60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800583]
[   68.800583] X24: 0xffffffc05a290f80:
[   68.800599] 0f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800626] 0fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800652] 0fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800679] 0fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800706] 1000  01121af8 ffffff80 093daec8 ffffff80 093daec8 ffffff80 00000000 00000000
[   68.800734] 1020  00000000 00000000 08bb07f8 ffffff80 5a2aa000 ffffffc0 ffffffe0 0000000f
[   68.800762] 1040  5a291040 ffffffc0 5a291040 ffffffc0 08bb0838 ffffff80 00000000 00000000
[   68.800789] 1060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800817]
[   68.800817] X25: 0xffffff8009089f80:
[   68.800834] 9f80  00000001 00000007 00000000 00000000 00000000 00000000 00000000 00000000
[   68.800862] 9fa0  00000000 00000000 00000000 00000000 5b8a6a00 ffffffc0 00000000 00000000
[   68.800889] 9fc0  08cb3623 ffffff80 00000000 00000001 00000011 00000000 00000000 00000000
[   68.800917] 9fe0  5c5bf800 ffffffc0 5c5bfa00 ffffffc0 00000806 00000000 5c5bfc00 ffffffc0
[   68.800944] a000  f0000001 f0000002 081827c0 ffffff80 08181818 ffffff80 08d0cdf0 ffffff80
[   68.800971] a020  09323290 ffffff80 09323270 ffffff80 09323250 ffffff80 09323100 ffffff80
[   68.800999] a040  09323120 ffffff80 09323140 ffffff80 00000000 00000000 00000000 00000000
[   68.801029] a060  0821b6b8 ffffff80 08577ec4 ffffff80 08579104 ffffff80 00000000 00000000
[   68.801063]
[   68.801063] X27: 0xffffff800c25bc88:
[   68.801079] bc88  0c041000 ffffff80 00000976 00000000 00000001 00000000 00000001 00000000
[   68.801109] bca8  0c041000 ffffff80 0c25bd30 ffffff80 00f7a1a4 ffffff80 0c041000 ffffff80
[   68.801137] bcc8  00000003 00000000 00000001 00000000 00000001 00000000 0c25bdd6 ffffff80
[   68.801165] bce8  0c25bdd5 ffffff80 0c25bdd4 ffffff80 0c04185e ffffff80 00000001 00000000
[   68.801194] bd08  5a2aa8d8 ffffffc0 00000002 00000980 00000000 d3e1dbb2 0c25bd50 ffffff80
[   68.801221] bd28  57ba9700 d3e1dbb2 0c25bd80 ffffff80 00f7a4dc ffffff80 0c041000 ffffff80
[   68.801248] bd48  0c04185d ffffff80 0c04185e ffffff80 0c041cd2 ffffff80 0111fd80 ffffff80
[   68.801275] bd68  0111f000 ffffff80 0111f000 ffffff80 0c041cd2 ffffff80 0c25bde0 ffffff80
[   68.801305]
[   68.801305] X28: 0xffffffc05a290088:
[   68.801321] 0088  5a290080 ffffffc0 5a290090 ffffffc0 5a290090 ffffffc0 5262a670 ffffffc0
[   68.801355] 00a8  5262c670 ffffffc0 5a2900b0 ffffffc0 5a2900b0 ffffffc0 5a2900c0 ffffffc0
[   68.801382] 00c8  5a2900c0 ffffffc0 00006801 00000000 00004801 00000100 00004801 00000000
[   68.801410] 00e8  00000020 00000000 10000001 00000000 00000001 00000000 00000000 00000000
[   68.801438] 0108  00000004 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.801466] 0128  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.801494] 0148  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.801521] 0168  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   68.801550]
[   68.801550] X29: 0xffffff800c25bb30:
[   68.801566] bb30  5a291000 ffffffc0 0908a000 ffffff80 00000000 00000000 0c25bd08 ffffff80
[   68.801593] bb50  5a290108 ffffffc0 0c25bbb0 ffffff80 08bc27d0 ffffff80 0c25bbb0 ffffff80
[   68.801620] bb70  08bc27d0 ffffff80 40c00009 00000000 0c25bd50 00000000 08be2708 ffffff80
[   68.801647] bb90  ffffffff ffffffff 000000b2 00000000 0c25bbb0 ffffff80 08bc27d0 ffffff80
[   68.801674] bbb0  0c25bc00 ffffff80 08bd6dd0 ffffff80 598c4d00 ffffffc0 0928e000 ffffff80
[   68.801703] bbd0  0c25bc64 ffffff80 00000058 00000000 5a292014 ffffffc0 0928e000 ffffff80
[   68.801730] bbf0  0c25bc00 ffffff80 57ba9700 d3e1dbb2 0c25bc70 ffffff80 08bd704c ffffff80
[   68.801757] bc10  0c25bd08 ffffff80 59490000 ffffffc0 00000976 00000000 5a291000 ffffffc0
[   68.801786]
[   68.801799] Call trace:
[   68.801835]  nl80211_send_chandef+0x54/0x180
[   68.801859]  nl80211_ch_switch_notify.isra.18.constprop.50+0xcc/0x184
[   68.801879]  cfg80211_ch_switch_notify+0xf8/0x118
[   68.802109]  rtw_cfg80211_ch_switch_notify+0xe4/0x140 [rtl88x2ce]
[   68.802281]  rtw_chk_start_clnt_join+0x84/0x168 [rtl88x2ce]
[   68.802437]  join_cmd_hdl+0x254/0x36c [rtl88x2ce]
[   68.802567]  rtw_cmd_thread+0x348/0x60c [rtl88x2ce]
[   68.802602]  kthread+0x124/0x134
[   68.802628]  ret_from_fork+0x10/0x18
[   68.802648] ---[ end trace 19e44819c3002500 ]---
[   68.937188] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Device 'wlp1s0' successfully activated with '1179ea76-0ff7-4b02-b3fb-d68272b00d7b'.

The network seems actually working with these problems,but it’s annoying when these output interrupt an unfinished command,or makes the text editor look messy.
Tested on latest debian and ubuntu image,they all have the same problem.


我尝试在Rock 3A上使用Realtek 8822CE wifi 模块,但是启动之后会有很多报错。
下面这个错误刚开机就会产生,而且会一直重复刷出来,大概每几秒钟到几分钟就会出现一次,还有概率会以差不多一秒20多次的频率刷屏,这时控制台几乎没法用。

rockchip_canfd fe580000.can can0: rockchip_canfd_get_berr_counter RX_ERR_CNT=0x00000000, TX_ERR_CNT=0x00000000

当连接wifi时会遇到另外一个错误:

太长超出字数限制了,请看上面的吧

虽然有这些报错,但实际上还是可以成功连接到wifi且能上网,不过一直刷这些错误常常会打断正在输入的命令,在使用文本编辑器时还可能会把文件内容打乱,非常难受。
测试了最新的debian和ubuntu都有类似的问题。

diff --git a/drivers/net/wireless/rockchip_wlan/rtl8822ce/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rockchip_wlan/rtl8822ce/os_dep/linux/ioctl_cfg80211.c
index c7a91f2d8..49a3ed5d9 100755
--- a/drivers/net/wireless/rockchip_wlan/rtl8822ce/os_dep/linux/ioctl_cfg80211.c
+++ b/drivers/net/wireless/rockchip_wlan/rtl8822ce/os_dep/linux/ioctl_cfg80211.c
@@ -430,7 +430,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset, u8
        u8 ret = _SUCCESS;
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
-       struct cfg80211_chan_def chdef;
+       struct cfg80211_chan_def chdef = {};
 
        if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
                goto exit;
1 Like

Thanks for help!
I patched source code and follow this instructions https://wiki.radxa.com/Rock3/dev/Debian to build a new kernel then installed on the device.
But the problem still exists.

[   76.471666] ------------[ cut here ]------------
[   76.471912] WARNING: CPU: 3 PID: 341 at net/wireless/nl80211.c:15676 cfg80211_ch_switch_notify+0xdc/0x118
[   76.471952] Modules linked in: 8021q btusb btrtl btbcm btintel rtl88x2ce bluetooth ecdh_generic ip_tables x_tables ipv6 dwc3 udc_core dwc3_of_simple realtek
[   76.472055] CPU: 3 PID: 341 Comm: RTW_CMD_THREAD Not tainted 4.19.193-100-rockchip-g526c758e05e0 #rockchip
[   76.472085] Hardware name: Radxa ROCK 3 Model A (DT)
[   76.472117] pstate: 40c00009 (nZcv daif +PAN +UAO)
[   76.472141] pc : cfg80211_ch_switch_notify+0xdc/0x118
[   76.472172] lr : cfg80211_ch_switch_notify+0xdc/0x118
[   76.472197] sp : ffffff800ba03c70
[   76.472220] x29: ffffff800ba03c70 x28: ffffffc0701a5200
[   76.472250] x27: ffffff8000f0f280 x26: ffffff800b3641f4
[   76.472278] x25: 0000000000000001 x24: ffffffc06e729400
[   76.472306] x23: ffffffc06e728000 x22: ffffffc06e729000
[   76.472334] x21: 0000000000000976 x20: ffffffc07090c000
[   76.472362] x19: ffffff800ba03d08 x18: 000000000000000a
[   76.472381] x17: 0000000000000000 x16: 0000000000000000
[   76.472400] x15: 0000000000073272 x14: ffffff808942ee27
[   76.472419] x13: ffffffffffffffff x12: 0000000000000030
[   76.472448] x11: 00000000fffffffe x10: ffffff800942ee2f
[   76.472475] x9 : 0000000005f5e0ff x8 : 2d5d206572656820
[   76.472501] x7 : 00000000017ed73b x6 : ffffffc076edc908
[   76.472528] x5 : ffffffc076edc908 x4 : 0000000000000000
[   76.472554] x3 : ffffffc076ee4928 x2 : e0d2419b5dc6f000
[   76.472580] x1 : 0000000000000000 x0 : 0000000000000024
[   76.472610]
[   76.472610] PC: 0xffffff8008bc4a78:
[   76.472634] 4a78  52800800 d0003542 911ae042 1ac00c60 937d7c00 f8626800 9ac32400 36000120
[   76.472671] 4a98  f9401035 b40000f5 a94002a3 aa1303e2 aa1703e1 d63f0060 f8418ea0 b5ffff60
[   76.472713] 4ab8  a9400660 a9160680 a9410660 a9170680 a9400660 a9140680 a9410660 a9150680
[   76.472754] 4ad8  b9400a80 7100081f 540000e1 f9409e80 b5000200 90001c60 91329800 94028ddd
[   76.472796] 4af8  d4210000 aa1303e2 910422e1 aa1603e0 52800004 52800b03 97ffff2f a94153f3
[   76.472837] 4b18  a9425bf5 f9401bf7 a8c47bfd d65f03c0 f9400261 f9003401 17fffff3 a9b97bfd
[   76.472878] 4b38  910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0503f4 2a0103f7
[   76.472921] 4b58  aa0003f3 2a0203f8 aa1e03e0 aa0303f5 12001c99 d503201f d0003556 911a22c0
[   76.472957]
[   76.472957] LR: 0xffffff8008bc4a78:
[   76.473000] 4a78  52800800 d0003542 911ae042 1ac00c60 937d7c00 f8626800 9ac32400 36000120
[   76.473034] 4a98  f9401035 b40000f5 a94002a3 aa1303e2 aa1703e1 d63f0060 f8418ea0 b5ffff60
[   76.473067] 4ab8  a9400660 a9160680 a9410660 a9170680 a9400660 a9140680 a9410660 a9150680
[   76.473100] 4ad8  b9400a80 7100081f 540000e1 f9409e80 b5000200 90001c60 91329800 94028ddd
[   76.473214] 4af8  d4210000 aa1303e2 910422e1 aa1603e0 52800004 52800b03 97ffff2f a94153f3
[   76.473248] 4b18  a9425bf5 f9401bf7 a8c47bfd d65f03c0 f9400261 f9003401 17fffff3 a9b97bfd
[   76.473288] 4b38  910003fd a90153f3 a9025bf5 a90363f7 a9046bf9 a90573fb aa0503f4 2a0103f7
[   76.473329] 4b58  aa0003f3 2a0203f8 aa1e03e0 aa0303f5 12001c99 d503201f d0003556 911a22c0
[   76.473372]
[   76.473372] SP: 0xffffff800ba03bf0:
[   76.473397] 3bf0  6e729400 ffffffc0 00000001 00000000 0b3641f4 ffffff80 00f0f280 ffffff80
[   76.473438] 3c10  701a5200 ffffffc0 0ba03c70 ffffff80 08bc4af8 ffffff80 0ba03c70 ffffff80
[   76.473480] 3c30  08bc4af8 ffffff80 40c00009 00000000 00000000 00000000 00000003 00000000
[   76.473513] 3c50  ffffffff ffffffff 00000976 00000000 0ba03c70 ffffff80 08bc4af8 ffffff80
[   76.473553] 3c70  0ba03cb0 ffffff80 00f6c390 ffffff80 00000980 00000000 0b363000 ffffff80
[   76.473595] 3c90  00000976 00000000 00000001 00000000 00000001 00000000 0b363000 ffffff80
[   76.473635] 3cb0  0ba03d30 ffffff80 00f0f19c ffffff80 0b363000 ffffff80 00000003 00000000
[   76.473676] 3cd0  00000001 00000000 00000001 00000000 0ba03dd6 ffffff80 0ba03dd5 ffffff80
[   76.473721]
[   76.473721] X3: 0xffffffc076ee48a8:
[   76.473748] 48a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.473780] 48c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.473821] 48e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.473861] 4908  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.473901] 4928  76edc908 ffffffc0 00000000 00000000 00000000 00000000 00000000 dead4ead
[   76.473942] 4948  ffffffff 00000000 ffffffff ffffffff 76ee4958 ffffffc0 76ee4958 ffffffc0
[   76.473982] 4968  00000000 00000000 00000000 00000000 00000000 dead4ead ffffffff 00000000
[   76.474015] 4988  ffffffff ffffffff 00000000 00000000 76ee4998 ffffffc0 76ee4998 ffffffc0
[   76.474052]
[   76.474052] X5: 0xffffffc076edc888:
[   76.474077] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474117] c8a8  746e2400 ffffffc0 00000004 00000000 746b1e00 ffffffc0 00000000 00000000
[   76.474161] c8c8  00000000 00000000 00000000 00000000 5efc2ea6 00000001 21d3a143 00000000
[   76.474195] c8e8  76ee60c8 ffffffc0 0a6b7f80 ffffffc0 00000001 00000000 00000007 00000000
[   76.474228] c908  00000000 00000000 08110c94 ffffff80 00000000 00000000 00000000 00000000
[   76.474267] c928  00000000 00000000 00000000 00000000 08112180 ffffff80 00000000 00000000
[   76.474300] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474340] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474384]
[   76.474384] X6: 0xffffffc076edc888:
[   76.474409] c888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474451] c8a8  746e2400 ffffffc0 00000004 00000000 746b1e00 ffffffc0 00000000 00000000
[   76.474493] c8c8  00000000 00000000 00000000 00000000 5efc2ea6 00000001 21d3a143 00000000
[   76.474533] c8e8  76ee60c8 ffffffc0 0a6b7f80 ffffffc0 00000001 00000000 00000007 00000000
[   76.474566] c908  00000000 00000000 08110c94 ffffff80 00000000 00000000 00000000 00000000
[   76.474605] c928  00000000 00000000 00000000 00000000 08112180 ffffff80 00000000 00000000
[   76.474645] c948  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474684] c968  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474729]
[   76.474729] X10: 0xffffff800942edaf:
[   76.474754] edac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474796] edcc  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.474829] edec  00000000 0000000e 00000000 71dabb00 ffffffc0 ce41491a 00000011 00000004
[   76.474869] ee0c  00000000 00000000 00000000 738b86b8 ffffffc0 000003d8 00000000 2020205b
[   76.474911] ee2c  342e3637 36383437 65205d39 20633065 30303020 30303030 30302030 30303030
[   76.474951] ee4c  36203733 35303235 20393364 33363032 35363033 33303320 32303330 30332030
[   76.474992] ee6c  33333033 33203032 33303332 20303333 33333033 30333032 3065380a 20306535
[   76.475034] ee8c  636f7223 6968636b 745f0a70 656c6261 70692073 64203676 20336377 5f636475
[   76.475067] eeac  65726f63 63776420 666f5f33 6d69735f 20656c70 6c616572 0a6b6574 676e6963
[   76.475106]
[   76.475106] X14: 0xffffff808942eda7:
[   76.475130] eda4  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475194] edc4  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475240] ede4  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475284] ee04  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475327] ee24  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475361] ee44  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475403] ee64  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475447] ee84  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475492] eea4  ******** ******** ******** ******** ******** ******** ******** ********
[   76.475543]
[   76.475543] X19: 0xffffff800ba03c88:
[   76.475568] 3c88  0b363000 ffffff80 00000976 00000000 00000001 00000000 00000001 00000000
[   76.475602] 3ca8  0b363000 ffffff80 0ba03d30 ffffff80 00f0f19c ffffff80 0b363000 ffffff80
[   76.475643] 3cc8  00000003 00000000 00000001 00000000 00000001 00000000 0ba03dd6 ffffff80
[   76.475684] 3ce8  0ba03dd5 ffffff80 0ba03dd4 ffffff80 0b36385e ffffff80 00000001 00000000
[   76.475724] 3d08  7202b8d8 ffffffc0 00000002 00000980 00000000 00000000 00000000 00000000
[   76.475765] 3d28  5dc6f000 e0d2419b 0ba03d80 ffffff80 00f0f4d4 ffffff80 0b363000 ffffff80
[   76.475806] 3d48  0b36385d ffffff80 0b36385e ffffff80 0b363cd2 ffffff80 010b4d80 ffffff80
[   76.475839] 3d68  010b4000 ffffff80 010b4000 ffffff80 0b363cd2 ffffff80 0ba03de0 ffffff80
[   76.475898]
[   76.475898] X20: 0xffffffc07090bf80:
[   76.475919] bf80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.475962] bfa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.475996] bfc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476038] bfe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476070] c000  6e729400 ffffffc0 00000002 00000000 6e729960 ffffffc0 6e729960 ffffffc0
[   76.476103] c020  6e728000 ffffffc0 00000001 00000000 6de33780 ffffffc0 6af85180 ffffffc0
[   76.476148] c040  00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 00000000 00000000
[   76.476193] c060  00000000 dead4ead ffffffff 00000000 ffffffff ffffffff 00000000 00000000
[   76.476230]
[   76.476230] X22: 0xffffffc06e728f80:
[   76.476247] 8f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476279] 8fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476310] 8fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476342] 8fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476374] 9000  010b6af8 ffffff80 093b80c8 ffffff80 093b80c8 ffffff80 00000000 00000000
[   76.476417] 9020  00000000 00000000 08b9e2bc ffffff80 7202b000 ffffffc0 ffffffe0 0000000f
[   76.476450] 9040  6e729040 ffffffc0 6e729040 ffffffc0 08b9e2fc ffffff80 00000000 00000000
[   76.476483] 9060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476516]
[   76.476516] X23: 0xffffffc06e727f80:
[   76.476532] 7f80  41000ed3 0000000b 0000009c 000066bc fffec9a8 0000020c 700e4100 9e0c9d41
[   76.476565] 7fa0  6e727fc8 ffffffc0 039a4302 964d0499 44089507 06970598 41d5d65a 0a43d7d8
[   76.476598] 7fc0  da41d3d4 41db41d9 00000000 00000000 d9da41d3 dd41db41 41000ede 0a93700e
[   76.476630] 7fe0  0c9d0994 964c0b9e 41089507 06970598 99039a41 029b4104 d7d6d546 dbdad9d8
[   76.476680] 8000  31706c77 00003073 00000000 00000000 00000000 00000000 738d62f0 ffffffc0
[   76.476713] 8020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476744] 8040  00000000 00000000 00000007 00000000 093a7350 ffffff80 0a604050 ffffffc0
[   76.476777] 8060  0b367038 ffffff80 0b367038 ffffff80 6e728070 ffffffc0 6e728070 ffffffc0
[   76.476812]
[   76.476812] X24: 0xffffffc06e729380:
[   76.476829] 9380  ffffffe0 0000000f 6e729388 ffffffc0 6e729388 ffffffc0 08b9c44c ffffff80
[   76.476861] 93a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.476893] 93c0  00000000 00000000 00000000 00000000 ffffffe0 0000000f 6e7293d8 ffffffc0
[   76.476927] 93e0  6e7293d8 ffffffc0 08b9c40c ffffff80 00000000 00000000 00000000 00000000
[   76.476970] 9400  c7c4cd28 0000a551 00000000 00000000 00000000 00000000 01045fd8 ffffff80
[   76.477003] 9420  00000000 00000000 00000000 00000000 0010000e 00220010 00000001 000000a0
[   76.477034] 9440  00000000 00000000 00000000 00000001 00000000 00000009 00000900 00000001
[   76.477066] 9460  ffffffff 00000000 00000005 00000000 01046010 ffffff80 00000000 00000000
[   76.477112]
[   76.477112] X26: 0xffffff800b364174:
[   76.477130] 4174  00000000 ffffffff ffffffff 00000000 00000000 0b364188 ffffff80 0b364188
[   76.477165] 4194  ffffff80 6de339c0 ffffffc0 6de339c0 ffffffc0 00000000 dead4ead ffffffff
[   76.477211] 41b4  00000000 ffffffff ffffffff 00000083 00000000 701a5200 ffffffc0 701a5000
[   76.477244] 41d4  ffffffc0 7090fc04 ffffffc0 7090fc00 ffffffc0 00000183 00000000 00000000
[   76.477276] 41f4  00000001 0b363000 ffffff80 00000000 00000000 00000000 dead4ead ffffffff
[   76.477319] 4214  00000000 ffffffff ffffffff 00000000 00000000 0b364228 ffffff80 0b364228
[   76.477353] 4234  ffffff80 000000d0 00000000 00000000 00000000 00000000 00000000 000000d0
[   76.477384] 4254  00000000 0b363000 ffffff80 0b363000 ffffff80 72228000 ffffffc0 00fbaa64
[   76.477425]
[   76.477425] X27: 0xffffff8000f0f200:
[   76.477441] f200  b0000981 91244021 91252021 b0000b40 91180000 95f56415 17fffff2 2a1603e5
[   76.477474] f220  2a1503e4 2a1403e3 f96c7e62 b0000981 91244021 91252021 b0000b40 91188000
[   76.477507] f240  95f5640a f0001220 b9499800 71000c1f 54fff949 2a1603e5 2a1503e4 2a1403e3
[   76.477539] f260  f96c7e62 b0000981 91244021 91252021 b0000b40 91190000 95f563fc 17ffffbf
[   76.477580] f280  a9ba7bfd 910003fd a90153f3 f90017f6 aa0003f3 aa0103f4 aa1e03e0 d503201f
[   76.477623] f2a0  f0041ae0 f9434401 f9002fa1 d2800001 91334a76 39015fbf b94baa60 36700220
[   76.477657] f2c0  370807c0 b90baa7f aa1303e0 9400179e 91400660 9102c000 95c88eff 52800041
[   76.477691] f2e0  aa1303e0 94001094 d2800002 52800161 aa1303e0 9401cdc8 b94baa60 370806c0
[   76.477737]
[   76.477737] X28: 0xffffffc0701a5180:
[   76.477755] 5180  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.477787] 51a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.477843] 51c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.477877] 51e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.477909] 5200  00000168 809f7690 0003e0eb 00000006 70706944 00007265 00000000 00000000
[   76.477941] 5220  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   76.477972] 5240  00000000 00000000 00000000 00000000 00000000 00000001 ffffffd9 ffffffff
[   76.478005] 5260  00000000 00000064 00000000 00000003 00000001 968b8482 6c482412 6030180c
[   76.478040]
[   76.478040] X29: 0xffffff800ba03bf0:
[   76.478058] 3bf0  6e729400 ffffffc0 00000001 00000000 0b3641f4 ffffff80 00f0f280 ffffff80
[   76.478090] 3c10  701a5200 ffffffc0 0ba03c70 ffffff80 08bc4af8 ffffff80 0ba03c70 ffffff80
[   76.478122] 3c30  08bc4af8 ffffff80 40c00009 00000000 00000000 00000000 00000003 00000000
[   76.478154] 3c50  ffffffff ffffffff 00000976 00000000 0ba03c70 ffffff80 08bc4af8 ffffff80
[   76.478187] 3c70  0ba03cb0 ffffff80 00f6c390 ffffff80 00000980 00000000 0b363000 ffffff80
[   76.478220] 3c90  00000976 00000000 00000001 00000000 00000001 00000000 0b363000 ffffff80
[   76.478252] 3cb0  0ba03d30 ffffff80 00f0f19c ffffff80 0b363000 ffffff80 00000003 00000000
[   76.478283] 3cd0  00000001 00000000 00000001 00000000 0ba03dd6 ffffff80 0ba03dd5 ffffff80
[   76.478316]
[   76.478333] Call trace:
[   76.478385]  cfg80211_ch_switch_notify+0xdc/0x118
[   76.478666]  rtw_cfg80211_ch_switch_notify+0xec/0x148 [rtl88x2ce]
[   76.478905]  rtw_chk_start_clnt_join+0x84/0x168 [rtl88x2ce]
[   76.479137]  join_cmd_hdl+0x254/0x36c [rtl88x2ce]
[   76.479350]  rtw_cmd_thread+0x348/0x60c [rtl88x2ce]
[   76.479386]  kthread+0x124/0x134
[   76.479414]  ret_from_fork+0x10/0x18
[   76.479436] ---[ end trace 7ff757b9e582fea5 ]---

I haven’t use the rockchip 4.19 kernel for sometime, but I remember in my case the call trace only happens at boot for one time and never comes out after patching.
I don’t know whether you install just the kernel image file or kernel deb. It’s recommended to build kernel deb because the deb file contains not only kernel image but also kernel modules.

I did installed the kernel deb.The call trace will happens every time when i connect to a wifi,and
rockchip_canfd fe580000.can can0: rockchip_canfd_get_berr_counter RX_ERR_CNT=0x00000000, TX_ERR_CNT=0x00000000 is still here.

can0 is controlled by dtb overlay, you can disable it by editing config file in /boot.
I only connect to wifi at boot time, my patch should have solved something.

I tried disable can0,it works.So now I could use it if I just ignore these call trace.But it’s best to fix them if possible to avoid more serious problems that might happen in long-term use.I aslo found on the wiki that this card is tested and supported, which means normally it should work perfectly as expected,but no.

I did try to fix it, but failed. Now I use kernel 5.17 with rtw88 driver, it works fine.

I have build rtw88 driver with the official kernel on my machine before and it doesn’t work.Maybe I should consider moving to kernel 5.17.