kiddin9 / Kwrt

一分钟在线定制编译 X86/64, NanoPi R2S R4S R5S R6S, 斐讯 Phicomm N1 K2P, 树莓派 Raspberry Pi, 香橙派 Orange Pi, 红米AX6, 小米AX3600, 小米AX9000, 红米AX6S 小米AX3200, 红米AC2100, 华硕ASUS, 网件NETGEAR 等主流软硬路由
https://openwrt.ai
MIT License
7.75k stars 3.09k forks source link

k2s接上RTL8821CU的USB网卡后无法启动 #1367

Open a15355447898a opened 1 year ago

a15355447898a commented 1 year ago

我把RTL8821CU网卡插入R2S,然后插上电源启动,发现系统卡在启动上面

在启动后插入网卡,日记输出如下

Sat May 13 15:56:30 2023 kern.info kernel: [  295.744210] usb 1-1: new high-speed USB device number 2 using ehci-platform
Sat May 13 15:56:30 2023 kern.info kernel: [  295.901465] usb-storage 1-1:1.0: USB Mass Storage device detected
Sat May 13 15:56:30 2023 kern.info kernel: [  295.902094] scsi host0: usb-storage 1-1:1.0
Sat May 13 15:56:30 2023 kern.info kernel: [  296.048611] usb 1-1: USB disconnect, device number 2
Sat May 13 15:56:31 2023 kern.info kernel: [  296.436191] usb 1-1: new high-speed USB device number 3 using ehci-platform
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.594528] RTW: [HALMAC]11692M
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.594528] HALMAC_MAJOR_VER = 1
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.594528] HALMAC_PROTOTYPE_VER = 4
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.594528] HALMAC_MINOR_VER = 19
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.594528] HALMAC_PATCH_VER = 3
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.596053] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853456] RTW: HW EFUSE
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853471] RTW: 0x000: 29 81 00 BC  09 00 31 00  6F 04 A4 34  12 00 30 0B
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853510] RTW: 0x010: 25 26 27 2A  2A 2A 2D 2D  2D 2E 2E 11  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853545] RTW: 0x020: FF FF 25 25  26 27 24 24  22 29 29 29  2F 2E 2E 2F
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853581] RTW: 0x030: 10 FF FF FF  FF FF 00 FF  FF FF 2D 2D  2D 2D 2D 2D
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853616] RTW: 0x040: 31 31 31 30  31 02 FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853652] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853687] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853722] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853758] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853794] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853829] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853864] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 39 1E 00  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853900] RTW: 0x0C0: FF 21 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853935] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.853970] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854006] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854042] RTW: 0x100: DA 0B 20 C8  C3 46 02 90  DE 80 AF 90  3F 09 03 52
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854077] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854112] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854148] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854183] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854219] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854254] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854289] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854324] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854360] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854396] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854431] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854466] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854501] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854537] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854572] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.854924] RTW: hal_com_config_channel_plan chplan:0x7F
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.867923] RTW: [HALMAC][ALWAYS]shall R reg twice!!
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.879302] RTW: WARN [HALMAC][WARN]H2C/C2H ver is compatible!!
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.989058] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.989306] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.989552] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.989802] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.990052] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.990306] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.990553] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.991288] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.993725] RTW: rtw_ndev_init(wlan0) if1 mac_addr=90:de:80:af:90:3f
Sat May 13 15:56:31 2023 kern.warn kernel: [  296.994680] RTW: rtw_ndev_init(wlan1) if2 mac_addr=92:de:80:af:90:3f

此时luci界面工作正常,但是点击启用AP后luci界面会卡死,显示/usr/lib/lua/luci/dispatcher.lua:431: /etc/config/luci seems to be corrupt, unable to find section 'main'

我在GitHub上面找到了一样的问题 https://github.com/immortalwrt/immortalwrt/issues/504

a15355447898a commented 1 year ago

使用r2s的官方固件可以正常使用此网卡

固件下载地址:https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R2S/zh#.E5.AE.89.E8.A3.85.E7.B3.BB.E7.BB.9F

固件名称:rk3328-sd-friendlywrt-22.03-docker-YYYYMMDD.img.gz