Open fanck0605 opened 4 years ago
I compiled as a kernel module, but it does not work
root@FriendlyWrt:~# uname -a Linux FriendlyWrt 5.4.41 #1 SMP Mon May 18 08:14:45 UTC 2020 aarch64 GNU/Linux root@FriendlyWrt:~# lsmod | grep rtl8821CU cfg80211 614400 5 rtlwifi,mac80211,rtl8822bu,rtl8821CU,rtl8812au rtl8821CU 2404352 0
Here is the error log
Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.608609] usb 2-1: new high-speed USB device number 2 using ehci-platform Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.765633] usb 2-1: New USB device found, idVendor=0bda, idProduct=c811, bcdDevice= 2.00 Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.766419] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.767080] usb 2-1: Product: 802.11ac NIC Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.767469] usb 2-1: Manufacturer: Realtek Thu Jan 21 17:24:12 2016 kern.info kernel: [ 1596.767858] usb 2-1: SerialNumber: 123456 Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.770955] RTW: [HALMAC]11692M Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.770955] HALMAC_MAJOR_VER = 1 Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.770955] HALMAC_PROTOTYPE_VER = 6 Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.770955] HALMAC_MINOR_VER = 5 Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.770955] HALMAC_PATCH_VER = 5 Thu Jan 21 17:24:12 2016 kern.warn kernel: [ 1596.774335] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 user.notice root: only support sun8iw7p1|sun50iw2p1. exiting... Thu Jan 21 17:24:13 2016 user.notice root: ACTION=add DEVPATH=/devices/platform/ff5c0000.usb/usb2/2-1 SUBSYSTEM=usb DEVTYPE=usb_device PRODUCT=bda/c811/200 MODALIAS= Thu Jan 21 17:24:13 2016 user.notice root: only support sun8iw7p1|sun50iw2p1. exiting... Thu Jan 21 17:24:13 2016 user.notice root: ACTION=add DEVPATH=/devices/platform/ff5c0000.usb/usb2/2-1/2-1:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=bda/c811/200 MODALIAS=usb:v0BDApC811d0200dc00dsc00dp00icFFiscFFipFFin00 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.066893] RTW: HW EFUSE Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.067175] RTW: 0x000: 29 81 00 BC 09 00 21 00 6E 04 A4 10 10 00 30 0B Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.067831] RTW: 0x010: 23 23 23 23 23 23 2B 2B 2B 2B 2B 02 FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.068531] RTW: 0x020: FF FF 26 26 25 25 25 25 25 25 25 25 22 22 22 22 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.069188] RTW: 0x030: 24 FF FF FF FF FF D0 FF FF FF 23 23 23 23 23 23 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.069836] RTW: 0x040: 2B 2B 2B 2B 2B 02 FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.070485] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.071134] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.071783] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.072431] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.073119] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.073767] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.074483] RTW: 0x0B0: FF FF FF FF FF FF FF FF 7F 2D 1B 00 FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.075138] RTW: 0x0C0: FF 22 00 41 00 00 00 00 00 FF 22 FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.075798] RTW: 0x0D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.076491] RTW: 0x0E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.077144] RTW: 0x0F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.077782] RTW: 0x100: DA 0B 11 C8 E3 46 02 20 0D B0 41 60 C3 09 03 52 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.078418] RTW: 0x110: 65 61 6C 74 65 6B 0E 03 38 30 32 2E 31 31 61 63 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.079055] RTW: 0x120: 20 4E 49 43 08 03 31 32 33 34 35 36 FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.079701] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.080347] RTW: 0x140: FF FF FF FF 00 00 31 0F FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.081013] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.081661] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.082301] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.082939] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.083578] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.084217] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.084868] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.085514] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.086154] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.086790] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.087426] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.088454] RTW: hal_com_config_channel_plan chplan:0x7F Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.102337] RTW: [HALMAC][ALWAYS]shall R reg twice!! Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.209209] RTW: WARN [HALMAC][WARN]the H2C ver. does not match halmac Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.221965] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.222711] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.223446] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.224230] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.225077] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.225820] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.226573] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.227374] RTW: [RF_PATH] IC's RF PATH:RF_1T1R, max_tx_cnt:1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.227900] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.228433] RTW: [RF_PATH] Registry's RF PATH:UNKNOWN Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.228921] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x11, max_tx_cnt:1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.229490] RTW: [RF_PATH] HALDATA's RF PATH:RF_1T1R Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.229936] RTW: [RF_PATH] NumTotalRFPath:1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.230316] RTW: [TRX_Nss] HALSPEC - tx_nss :1, rx_nss:1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.230794] RTW: [TRX_Nss] Registry - tx_nss :0, rx_nss:0 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.231275] RTW: [TRX_Nss] HALDATA - tx_nss :1, rx_nss:1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.233129] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1 Thu Jan 21 17:24:13 2016 kern.warn kernel: [ 1597.234960] RTW: rtw_ndev_init(wlan0) if1 mac_addr=20:0d:b0:41:60:c3 Thu Jan 21 17:24:13 2016 user.notice root: only support sun8iw7p1|sun50iw2p1. exiting... Thu Jan 21 17:24:13 2016 user.notice root: ACTION=bind DEVPATH=/devices/platform/ff5c0000.usb/usb2/2-1/2-1:1.0 SUBSYSTEM=usb DEVTYPE=usb_interface PRODUCT=bda/c811/200 MODALIAS=usb:v0BDApC811d0200dc00dsc00dp00icFFiscFFipFFin00 Thu Jan 21 17:24:13 2016 user.notice root: rtl8821cu: insert Thu Jan 21 17:24:13 2016 user.notice root: first init for rtl8821cu Thu Jan 21 17:24:14 2016 kern.warn kernel: [ 1597.876734] RTW: rtw_ndev_uninit(wlan0) if1 Thu Jan 21 17:24:14 2016 daemon.info netdata[2409]: Initializing file /var/cache/netdata/system.interrupts/30.db. Thu Jan 21 17:24:14 2016 daemon.info netdata[2409]: Initializing file /var/cache/netdata/system.interrupts/165.db. Thu Jan 21 17:24:14 2016 daemon.info netdata[2409]: Initializing file /var/cache/netdata/cpu.cpu0_interrupts/30.db. Thu Jan 21 17:24:14 2016 daemon.info netdata[2409]: Initializing file /var/cache/netdata/cpu.cpu0_interrupts/165.db. Thu Jan 21 17:24:15 2016 daemon.notice netifd: Interface 'lan' is now down Thu Jan 21 17:24:17 2016 authpriv.info dropbear[7490]: Child connection from 192.168.2.235:62333 Thu Jan 21 17:24:24 2016 authpriv.notice dropbear[7490]: Password auth succeeded for 'root' from 192.168.2.235:62333 Thu Jan 21 17:25:21 2016 daemon.info procd: Instance samba::instance2 pid 1860 not stopped on SIGTERM, sending SIGKILL instead Thu Jan 21 17:26:16 2016 user.notice root: only support sun8iw7p1|sun50iw2p1. exiting... Thu Jan 21 17:26:16 2016 user.notice root: ACTION=bind DEVPATH=/devices/platform/ff5c0000.usb/usb2/2-1 SUBSYSTEM=usb DEVTYPE=usb_device PRODUCT=bda/c811/200 MODALIAS= Thu Jan 21 17:26:16 2016 user.notice root: rtl8821cu: insert Thu Jan 21 17:26:16 2016 user.notice root: not first init for rtl8821cu Thu Jan 21 17:26:21 2016 daemon.info procd: Instance network::instance1 pid 1454 not stopped on SIGTERM, sending SIGKILL instead Thu Jan 21 17:26:46 2016 authpriv.info dropbear[2014]: Early exit: Terminated by signal Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.472564] INFO: task netifd:1454 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.473150] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.473488] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.474176] netifd D 0 1454 1 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.474662] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.474890] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.475205] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.475515] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.475795] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.476204] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.476610] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.476991] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.477289] rtnetlink_rcv_msg+0x250/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.477653] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.477993] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.478310] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.478657] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.479007] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.479319] ____sys_sendmsg+0x29c/0x2a8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.479666] ___sys_sendmsg+0x90/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.479992] __sys_sendmsg+0x78/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.480308] __arm64_sys_sendmsg+0x2c/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.480686] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.481111] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.481444] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.481708] INFO: task nmbd:1860 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.482259] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.482598] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.483618] nmbd D 0 1860 1 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.484113] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.484337] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.484682] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.484995] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.485275] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.485683] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.486062] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.486440] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.486736] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.487116] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.487479] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.487819] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.488136] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.488505] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.488857] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.489167] __sys_sendto+0xd4/0x158 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.489484] __arm64_sys_sendto+0x30/0x40 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.489839] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.490262] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.490596] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.490857] INFO: task lcd2usb_echo:1906 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.491468] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.491806] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.492508] lcd2usb_echo D 0 1906 1 0x00400000 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.492999] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.493220] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.493532] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.493842] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.494122] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.494530] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.494908] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.495285] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.495581] rtnl_lock+0x20/0x28 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.495869] compat_sock_ioctl+0x440/0xda0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.496234] __arm64_compat_sys_ioctl+0xc8/0xd80 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.496654] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.497078] el0_svc_compat_handler+0x2c/0x50 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.497464] el0_svc_compat+0x8/0x10 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.497798] INFO: task kworker/2:1:7143 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.498402] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.498740] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.499427] kworker/2:1 D 0 7143 2 0x00000028 Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.499919] Workqueue: ipv6_addrconf addrconf_verify_work Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.500394] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.500626] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.500938] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.501248] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.501528] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.501936] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.502314] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.502692] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.502987] rtnl_lock+0x20/0x28 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.503274] addrconf_verify_work+0x14/0x28 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.503645] process_one_work+0x208/0x458 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.504000] worker_thread+0x50/0x470 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.504326] kthread+0xfc/0x128 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.504619] ret_from_fork+0x10/0x1c Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.504942] INFO: task iw:7415 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.505477] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.505816] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.506503] iw D 0 7415 7389 0x00000008 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.506988] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.507208] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.507520] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.507829] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.508395] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.508844] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.509226] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.509604] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.509901] rtnl_lock+0x20/0x28 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.510229] wiphy_unregister+0x40/0x348 [cfg80211] Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.510760] rtw_wiphy_unregister+0x38/0x70 [rtl8821CU] Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.511289] rtw_os_ndev_unregister+0x94/0xd8 [rtl8821CU] Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.511814] cfg80211_rtw_set_default_mgmt_key+0x4c54/0x515c [rtl8821CU] Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.512444] nl80211_del_interface+0x50/0x180 [cfg80211] Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.512967] genl_family_rcv_msg+0x26c/0x3f0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.513354] genl_rcv_msg+0x60/0xf0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.513664] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.514004] genl_rcv+0x3c/0x50 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.514284] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.514631] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.514979] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.515290] ____sys_sendmsg+0x29c/0x2a8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.515638] ___sys_sendmsg+0x90/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.515963] __sys_sendmsg+0x78/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.516280] __arm64_sys_sendmsg+0x2c/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.516658] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.517083] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.517415] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.517677] INFO: task luci:7476 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.518230] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.518569] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.519257] luci D 0 7476 1579 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.519743] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.519967] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.520287] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.520644] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.520941] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.521359] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.521741] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.522125] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.522426] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.522812] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.523182] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.523530] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.523852] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.524202] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.524582] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.524899] __sys_sendto+0xd4/0x158 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.525218] __arm64_sys_sendto+0x30/0x40 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.525574] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.525996] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.526329] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.526589] INFO: task luci:7537 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.527142] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.527480] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.528168] luci D 0 7537 1579 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.528668] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.528894] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.529207] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.529517] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.529797] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.530207] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.530584] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.530962] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.531257] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.531635] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.531997] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.532337] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.532667] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.533018] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.533366] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.533677] ____sys_sendmsg+0x29c/0x2a8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.534025] ___sys_sendmsg+0x90/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.534349] __sys_sendmsg+0x78/0xd0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.534667] __arm64_sys_sendmsg+0x2c/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.535029] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.535451] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.535783] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.536043] INFO: task smbd:7659 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.536606] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.536946] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.537634] smbd D 0 7659 1 0x00000000 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.538118] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.538340] __switch_to+0x1a0/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.538659] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.538969] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.539250] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.539658] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.540036] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.540414] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.540719] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.541099] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.541461] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.541800] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.542116] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.542463] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.542811] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.543121] __sys_sendto+0xd4/0x158 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.543438] __arm64_sys_sendto+0x30/0x40 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.543793] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.544216] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.544559] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.544818] INFO: task luci:7686 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.545369] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.545707] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.546394] luci D 0 7686 1579 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.546878] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.547098] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.547409] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.547719] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.547999] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.548407] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.548797] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.549176] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.549471] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.549850] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.550213] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.550554] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.550870] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.551217] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.551566] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.551875] __sys_sendto+0xd4/0x158 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.552192] __arm64_sys_sendto+0x30/0x40 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.552566] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.552990] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.553323] el0_svc+0x8/0xc Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.553581] INFO: task luci:7700 blocked for more than 120 seconds. Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.554132] Not tainted 5.4.41 #1 Thu Jan 21 17:27:49 2016 kern.err kernel: [ 1813.554470] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Thu Jan 21 17:27:49 2016 kern.info kernel: [ 1813.555156] luci D 0 7700 1579 0x00000001 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.555641] Call trace: Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.555862] __switch_to+0xbc/0x220 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.556172] __schedule+0x3e4/0x6d0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.556498] schedule+0x3c/0xa8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.556780] schedule_preempt_disabled+0x14/0x20 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.557189] __mutex_lock.isra.9+0x148/0x518 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.557567] __mutex_lock_slowpath+0x24/0x30 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.557945] mutex_lock+0x5c/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.558239] __netlink_dump_start+0x70/0x1c8 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.558617] rtnetlink_rcv_msg+0x1fc/0x378 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.558980] netlink_rcv_skb+0xf0/0x138 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.559320] rtnetlink_rcv+0x28/0x38 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.559637] netlink_unicast+0x1e0/0x250 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.559983] netlink_sendmsg+0x290/0x370 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.560332] sock_sendmsg+0x58/0x68 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.560653] __sys_sendto+0xd4/0x158 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.560971] __arm64_sys_sendto+0x30/0x40 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.561326] el0_svc_common.constprop.1+0xc0/0x118 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.561749] el0_svc_handler+0x34/0xa0 Thu Jan 21 17:27:49 2016 kern.warn kernel: [ 1813.562080] el0_svc+0x8/0xc
I had similar problem when compiled this driver with:
-msoft-float
Got driver working only with -mhard-float and arm v7. Left a some info in README:
https://github.com/brektrou/rtl8821CU#arm-architecture-tweak-for-this-driver-this-solves-compilation-problem-of-this-driver
But you need to find out how to do this on arm v8 system.
I compiled as a kernel module, but it does not work
Here is the error log