abperiasamy / rtl8812AU_8821AU_linux

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
GNU General Public License v2.0
1.23k stars 434 forks source link

Not working on Kubuntu 19.10 #320

Open lexterror opened 5 years ago

lexterror commented 5 years ago

I did make and make-install, then

sudo modprobe -a rtl8812au

It worked in previous Kubuntu versions

trollkarlen commented 4 years ago

It fails on modprobe in kernel: Linux 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux on OS:

VERSION="19.10 (Eoan Ermine)"
ID=ubuntu

dmks build from commit:

commit fa68771376a637c0b5f9cfa53da008570939a259 (HEAD -> master, origin/master, origin/HEAD)
Author: Brandon Pfeifer <bnpfeife@gmail.com>
Date:   Wed Oct 2 02:02:27 2019 -0400

    Refactor case-statement to if-statement to avoid implicit fallback. (#310)

Here is some info from the dmesg:

[   35.593537] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   35.601903] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   35.611833] rtl8812au: loading out-of-tree module taints kernel.
[   35.612497] rtl8812au: module verification failed: signature and/or required key missing - tainting kernel
[   35.615299] RTL871X: module init start
[   35.615301] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
[   35.615301] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
[   35.671348] ------------[ cut here ]------------
[   35.671396] WARNING: CPU: 0 PID: 387 at net/wireless/core.c:868 wiphy_register.cold+0xe4/0x2e5 [cfg80211]
[   35.671397] Modules linked in: rtl8812au(OE+) cfg80211 parport_pc sunrpc ppdev lp parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops aes_x86_64 ahci crypto_simd libahci e1000e i2c_i801 drm cryptd glue_helper lpc_ich video
[   35.671416] CPU: 0 PID: 387 Comm: systemd-modules Tainted: G           OE     5.3.0-24-generic #26-Ubuntu
[   35.671417] Hardware name:  /D54250WYK, BIOS WYLPT10H.86A.0041.2015.0720.1108 07/20/2015
[   35.671446] RIP: 0010:wiphy_register.cold+0xe4/0x2e5 [cfg80211]
[   35.671450] Code: ff e9 aa 54 fa ff 48 c7 c7 28 40 61 c0 e8 1e c5 ef d6 0f 0b b8 ea ff ff ff e9 92 54 fa ff 48 c7 c7 28 40 61 c0 e8 06 c5 ef d6 <0f> 0b b8 ea ff ff ff e9 7a 54 fa ff 48 c7 c7 28 40 61 c0 e8 ee c4
[   35.671452] RSP: 0018:ffffa744c02f7970 EFLAGS: 00010246
[   35.671453] RAX: 0000000000000024 RBX: 000000000000034e RCX: 0000000000000000
[   35.671455] RDX: 0000000000000000 RSI: ffff8ae858817448 RDI: ffff8ae858817448
[   35.671456] RBP: ffffa744c02f79f0 R08: ffff8ae858817448 R09: 0000000000000004
[   35.671457] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8ae855f9b300
[   35.671458] R13: ffff8ae84a16b000 R14: ffff8ae855fa8430 R15: ffff8ae855fa8430
[   35.671460] FS:  00007f120d244940(0000) GS:ffff8ae858800000(0000) knlGS:0000000000000000
[   35.671461] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   35.671463] CR2: 0000555652aca2d8 CR3: 0000000210e48001 CR4: 00000000001606f0
[   35.671464] Call Trace:
[   35.671510]  ? _rtw_malloc+0x2d/0x2f [rtl8812au]
[   35.671541]  ? _rtw_memcpy+0x10/0x12 [rtl8812au]
[   35.671566]  ? rtw_5g_rates_init+0x1a/0x1c [rtl8812au]
[   35.671592]  ? rtw_spt_band_alloc+0xb0/0xb2 [rtl8812au]
[   35.671624]  rtw_wdev_alloc+0x107/0x2ad [rtl8812au]
[   35.671665]  rtw_usb_if1_init+0x138/0x205 [rtl8812au]
[   35.671708]  rtw_drv_init+0x23a/0x2c5 [rtl8812au]
[   35.671717]  usb_probe_interface+0xed/0x290
[   35.671723]  really_probe+0xfb/0x3a0
[   35.671728]  driver_probe_device+0x5f/0xe0
[   35.671732]  device_driver_attach+0x5d/0x70
[   35.671735]  __driver_attach+0x8f/0x150
[   35.671738]  ? device_driver_attach+0x70/0x70
[   35.671741]  bus_for_each_dev+0x7e/0xc0
[   35.671744]  driver_attach+0x1e/0x20
[   35.671747]  bus_add_driver+0x14f/0x1f0
[   35.671750]  driver_register+0x74/0xc0
[   35.671758]  usb_register_driver+0x7b/0x120
[   35.671761]  ? 0xffffffffc0660000
[   35.671790]  rtw_drv_entry+0x86/0x1000 [rtl8812au]
[   35.671795]  do_one_initcall+0x4a/0x1fa
[   35.671799]  ? kfree+0x1ef/0x210
[   35.671804]  ? _cond_resched+0x19/0x30
[   35.671807]  ? kmem_cache_alloc_trace+0x163/0x230
[   35.671811]  do_init_module+0x62/0x250
[   35.671813]  load_module+0x10d4/0x1220
[   35.671819]  __do_sys_finit_module+0xbe/0x120
[   35.671821]  ? __do_sys_finit_module+0xbe/0x120
[   35.671824]  __x64_sys_finit_module+0x1a/0x20
[   35.671831]  do_syscall_64+0x5a/0x130
[   35.671838]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   35.671840] RIP: 0033:0x7f120e08994d
[   35.671843] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 13 e5 0c 00 f7 d8 64 89 01 48
[   35.671844] RSP: 002b:00007ffe3ecd62a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   35.671846] RAX: ffffffffffffffda RBX: 000055f04cf884c0 RCX: 00007f120e08994d
[   35.671848] RDX: 0000000000000000 RSI: 00007f120dce3cad RDI: 0000000000000006
[   35.671849] RBP: 00007f120dce3cad R08: 0000000000000000 R09: 000055f04cf884c0
[   35.671850] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
[   35.671851] R13: 000055f04cf89c20 R14: 0000000000020000 R15: 000055f04cf884c0
[   35.671854] ---[ end trace fc21e9ae31e8a04b ]---

last time it worked was in kernel 5.0.0-37, Ubuntu 19.04

Im glad to help if you need any more info.

/T