gordboy / rtl8812au-5.9.3.2

Realtek 8812AU driver version 5.9.3.2
94 stars 30 forks source link

Some trouble getting the driver running on 5.4.0-56-generic #62-Ubuntu SMP #3

Closed andreas83 closed 3 years ago

andreas83 commented 3 years ago

I don't get the driver up and running, any help would be nice.

modinfo

filename:       /lib/modules/5.4.0-56-generic/updates/dkms/8812au.ko
version:        v5.9.3.2_37279.20201012
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver

dmesg

[Do Dez  3 14:52:54 2020] usb 2-1.8: USB disconnect, device number 12
[Do Dez  3 14:52:56 2020] usb 5-1: new high-speed USB device number 2 using xhci_hcd
[Do Dez  3 14:52:56 2020] usb 5-1: New USB device found, idVendor=2357, idProduct=0101, bcdDevice= 0.00
[Do Dez  3 14:52:56 2020] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Do Dez  3 14:52:56 2020] usb 5-1: Product: 802.11n NIC
[Do Dez  3 14:52:56 2020] usb 5-1: Manufacturer: Realtek
[Do Dez  3 14:52:56 2020] usb 5-1: SerialNumber: 123456
[Do Dez  3 14:52:57 2020] ------------[ cut here ]------------
[Do Dez  3 14:52:57 2020] WARNING: CPU: 3 PID: 23003 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211]
[Do Dez  3 14:52:57 2020] Modules linked in: rtl8812au(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm binfmt_misc snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp mei_hdcp kvm_intel kvm rtl8xxxu snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio rtl8192cu snd_hda_intel rtl_usb rtl8192c_common snd_intel_dspcfg snd_usb_audio rtlwifi snd_hda_codec snd_usbmidi_lib uvcvideo snd_hda_core mac80211 videobuf2_vmalloc snd_hwdep videobuf2_memops videobuf2_v4l2 snd_seq_midi snd_seq_midi_event joydev videobuf2_common snd_rawmidi videodev libarc4 rapl snd_pcm input_leds mc snd_seq snd_seq_device intel_cstate mxm_wmi snd_timer snd mei_me mei soundcore mac_hid nvidia_uvm(POE) sch_fq_codel nct6775 hwmon_vid coretemp cfg80211 parport_pc ppdev lp parport ip_tables x_tables autofs4 pata_marvell hid_generic usbhid hid nvidia_drm(POE) nvidia_modeset(POE) crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 tg3 nvidia(POE) aesni_intel crypto_simd video i2c_algo_bit cryptd
[Do Dez  3 14:52:57 2020]  glue_helper drm_kms_helper syscopyarea sysfillrect firewire_ohci sysimgblt i2c_i801 fb_sys_fops pata_acpi lpc_ich ipmi_devintf firewire_core ipmi_msghandler drm crc_itu_t ahci libahci floppy wmi [last unloaded: rtl8812au]
[Do Dez  3 14:52:57 2020] CPU: 3 PID: 23003 Comm: kworker/3:1 Tainted: P        W  OE     5.4.0-56-generic #62-Ubuntu
[Do Dez  3 14:52:57 2020] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Extreme4, BIOS P1.70 08/25/2011
[Do Dez  3 14:52:57 2020] Workqueue: usb_hub_wq hub_event
[Do Dez  3 14:52:57 2020] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211]
[Do Dez  3 14:52:57 2020] Code: ff e9 78 fa ff ff 0f 0b b8 ea ff ff ff e9 6c fa ff ff 0f 0b b8 ea ff ff ff e9 60 fa ff ff 0f 0b b8 ea ff ff ff e9 54 fa ff ff <0f> 0b b8 ea ff ff ff e9 48 fa ff ff 0f 0b b8 ea ff ff ff e9 3c fa
[Do Dez  3 14:52:57 2020] RSP: 0018:ffffbd96432f7730 EFLAGS: 00010246
[Do Dez  3 14:52:57 2020] RAX: ffffffffc22c27f0 RBX: ffff9e9e388e8b00 RCX: ffffffffc22c27e0
[Do Dez  3 14:52:57 2020] RDX: ffffffffc22c2880 RSI: 0000000000000001 RDI: 000000000000001e
[Do Dez  3 14:52:57 2020] RBP: ffffbd96432f77a8 R08: 0000000000000004 R09: 0000000000000003
[Do Dez  3 14:52:57 2020] R10: 0000000000000000 R11: ffffbd97402d9fc5 R12: ffff9e9e388e8b00
[Do Dez  3 14:52:57 2020] R13: ffff9e9f30d38000 R14: ffff9e9e80630030 R15: ffff9e9e80630030
[Do Dez  3 14:52:57 2020] FS:  0000000000000000(0000) GS:ffff9e9f378c0000(0000) knlGS:0000000000000000
[Do Dez  3 14:52:57 2020] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Do Dez  3 14:52:57 2020] CR2: 000025e408777000 CR3: 00000001bce0a002 CR4: 00000000000606e0
[Do Dez  3 14:52:57 2020] Call Trace:
[Do Dez  3 14:52:57 2020]  ? _rtw_malloc+0x2d/0x2f [rtl8812au]
[Do Dez  3 14:52:57 2020]  ? _rtw_memcpy+0x10/0x12 [rtl8812au]
[Do Dez  3 14:52:57 2020]  ? rtw_5g_rates_init+0x1a/0x1c [rtl8812au]
[Do Dez  3 14:52:57 2020]  ? rtw_spt_band_alloc+0xb0/0xb2 [rtl8812au]
[Do Dez  3 14:52:57 2020]  rtw_wdev_alloc+0x107/0x2ad [rtl8812au]
[Do Dez  3 14:52:57 2020]  rtw_usb_if1_init+0x138/0x205 [rtl8812au]
[Do Dez  3 14:52:57 2020]  rtw_drv_init+0x23a/0x2c5 [rtl8812au]
[Do Dez  3 14:52:57 2020]  usb_probe_interface+0xed/0x290
[Do Dez  3 14:52:57 2020]  really_probe+0x2b0/0x3d0
[Do Dez  3 14:52:57 2020]  driver_probe_device+0xbc/0x100
[Do Dez  3 14:52:57 2020]  __device_attach_driver+0x71/0xd0
[Do Dez  3 14:52:57 2020]  ? driver_allows_async_probing+0x50/0x50
[Do Dez  3 14:52:57 2020]  bus_for_each_drv+0x84/0xd0
[Do Dez  3 14:52:57 2020]  __device_attach+0xed/0x170
[Do Dez  3 14:52:57 2020]  device_initial_probe+0x13/0x20
[Do Dez  3 14:52:57 2020]  bus_probe_device+0x8f/0xa0
[Do Dez  3 14:52:57 2020]  device_add+0x3c7/0x6b0
[Do Dez  3 14:52:57 2020]  ? _cond_resched+0x19/0x30
[Do Dez  3 14:52:57 2020]  usb_set_configuration+0x433/0x7d0
[Do Dez  3 14:52:57 2020]  ? kernfs_activate+0x77/0x80
[Do Dez  3 14:52:57 2020]  generic_probe+0x43/0x60
[Do Dez  3 14:52:57 2020]  usb_probe_device+0x31/0x70
[Do Dez  3 14:52:57 2020]  really_probe+0x2b0/0x3d0
[Do Dez  3 14:52:57 2020]  driver_probe_device+0xbc/0x100
[Do Dez  3 14:52:57 2020]  __device_attach_driver+0x71/0xd0
[Do Dez  3 14:52:57 2020]  ? driver_allows_async_probing+0x50/0x50
[Do Dez  3 14:52:57 2020]  bus_for_each_drv+0x84/0xd0
[Do Dez  3 14:52:57 2020]  __device_attach+0xed/0x170
[Do Dez  3 14:52:57 2020]  device_initial_probe+0x13/0x20
[Do Dez  3 14:52:57 2020]  bus_probe_device+0x8f/0xa0
[Do Dez  3 14:52:57 2020]  device_add+0x3c7/0x6b0
[Do Dez  3 14:52:57 2020]  ? mix_pool_bytes+0x80/0xb0
[Do Dez  3 14:52:57 2020]  usb_new_device.cold+0x12d/0x304
[Do Dez  3 14:52:57 2020]  hub_port_connect+0x500/0x850
[Do Dez  3 14:52:57 2020]  port_event+0x502/0x780
[Do Dez  3 14:52:57 2020]  hub_event+0x152/0x390
[Do Dez  3 14:52:57 2020]  process_one_work+0x1eb/0x3b0
[Do Dez  3 14:52:57 2020]  worker_thread+0x4d/0x400
[Do Dez  3 14:52:57 2020]  kthread+0x104/0x140
[Do Dez  3 14:52:57 2020]  ? process_one_work+0x3b0/0x3b0
[Do Dez  3 14:52:57 2020]  ? kthread_park+0x90/0x90
[Do Dez  3 14:52:57 2020]  ret_from_fork+0x35/0x40
[Do Dez  3 14:52:57 2020] ---[ end trace 944bf1b9a151ac96 ]---
[Do Dez  3 14:52:57 2020] usb 5-1: reset high-speed USB device number 2 using xhci_hcd
[Do Dez  3 14:53:03 2020] usb 5-1: device descriptor read/64, error -110
[Do Dez  3 14:53:18 2020] usb 5-1: device descriptor read/64, error -110
[Do Dez  3 14:53:18 2020] usb 5-1: reset high-speed USB device number 2 using xhci_hcd
[Do Dez  3 14:53:24 2020] usb 5-1: device descriptor read/64, error -110
andreas83 commented 3 years ago

Looks like i had a version conflict, i just removed every rtl8812au.ko i found via "locate rtl8812au.ko" an rebuild everything from scratch. sorry for bothering you!