Error loading the kernel module for the Realtek RTL8812AU Wireless USB adapter

Bug #1872961 reported by Mau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've installed the package "rtl8812au-dkms".
Then plug the "Alfa AWUS036ACH" (Realtek RTL8812AU) WiFi 802.11ac AC1200 Long-Range USB adapter (https://www.alfa.com.tw/products_detail/1.htm) and the module cannot load. It fails an dumps to the kernel.log file this information:
Apr 15 12:57:18 capicuapl-ng kernel: [20528.015294] usb 1-1: new high-speed USB device number 10 using xhci_hcd
Apr 15 12:57:18 capicuapl-ng kernel: [20528.035845] usb 1-1: New USB device found, idVendor=0bda, idProduct=8812, bcdDevice= 0.00
Apr 15 12:57:18 capicuapl-ng kernel: [20528.035851] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 15 12:57:18 capicuapl-ng kernel: [20528.035854] usb 1-1: Product: 802.11n NIC
Apr 15 12:57:18 capicuapl-ng kernel: [20528.035857] usb 1-1: Manufacturer: Realtek
Apr 15 12:57:18 capicuapl-ng kernel: [20528.035860] usb 1-1: SerialNumber: 123456
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038077] ------------[ cut here ]------------
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038151] WARNING: CPU: 7 PID: 45138 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038154] Modules linked in: btrfs xor zstd_compress raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs 8812au(OE) ppp_mppe ppp_async nf_conntrack_pptp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_hda_codec_hdmi mei_hdcp snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc intel_rapl_msr snd_sof snd_sof_xtensa_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress snd_hda_codec_realtek ac97_bus snd_hda_codec_generic snd_pcm_dmaengine ledtrig_audio snd_hda_intel snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi x86_pkg_temp_thermal intel_powerclamp joydev iwlmvm coretemp kvm_intel uvcvideo mac80211 snd_seq videobuf2_vmalloc kvm snd_seq_device videobuf2_memops libarc4 snd_timer videobuf2_v4l2 videobuf2_common intel_cstate btusb intel_rapl_perf btrtl snd videodev btbcm
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038248] asus_nb_wmi iwlwifi btintel rtsx_pci_ms asus_wmi input_leds sparse_keymap wmi_bmof soundcore mc bluetooth serio_raw mxm_wmi 8250_dw hid_multitouch memstick cfg80211 mei_me ecdh_generic ecc processor_thermal_device intel_rapl_common mei intel_soc_dts_iosf intel_pch_thermal int3403_thermal int340x_thermal_zone mac_hid acpi_tad int3400_thermal acpi_pad asus_wireless acpi_thermal_rel nvidia_uvm(OE) sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 dm_crypt nvidia_drm(POE) usbhid nvidia_modeset(POE) hid_generic spi_pxa2xx_platform dw_dmac dw_dmac_core nvidia(POE) crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel crypto_simd cryptd i2c_algo_bit rtsx_pci_sdmmc nvme glue_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops nvme_core i2c_i801 drm rtsx_pci intel_lpss_pci ipmi_devintf intel_lpss ipmi_msghandler idma64 virt_dma i2c_hid hid wmi video pinctrl_cannonlake pinctrl_intel
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038330] CPU: 7 PID: 45138 Comm: kworker/7:0 Tainted: P W OE 5.4.0-21-generic #25-Ubuntu
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038333] Hardware name: ASUSTeK COMPUTER INC. ZenBook 13 UX331FN_UX331FN/UX331FN, BIOS UX331FN.305 10/16/2019
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038343] Workqueue: usb_hub_wq hub_event
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038380] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038385] 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
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038388] RSP: 0018:ffffb39c0746f730 EFLAGS: 00010246
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038391] RAX: ffffffffc2642690 RBX: ffff9a9df58c4b00 RCX: ffffffffc2642680
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038393] RDX: ffffffffc2642720 RSI: 0000000000000001 RDI: 000000000000001e
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038395] RBP: ffffb39c0746f7a8 R08: 0000000000000004 R09: 0000000000000003
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038397] R10: 0000000000000000 R11: ffffb39d00548fc5 R12: ffff9a9df58c4b00
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038399] R13: ffff9aa0904ac000 R14: ffff9aa086c18830 R15: ffff9aa086c18830
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038402] FS: 0000000000000000(0000) GS:ffff9aa09dbc0000(0000) knlGS:0000000000000000
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038405] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038407] CR2: 00007f6e70c58000 CR3: 0000000219e0a005 CR4: 00000000003606e0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038409] Call Trace:
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038481] ? _rtw_malloc+0x2d/0x2f [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038540] ? _rtw_memcpy+0x10/0x12 [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038604] ? rtw_5g_rates_init+0x1a/0x1c [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038663] ? rtw_spt_band_alloc+0xb0/0xb2 [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038724] rtw_wdev_alloc+0xf6/0x29c [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038782] rtw_usb_if1_init+0xf0/0x20c [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038838] rtw_drv_init+0x246/0x2d3 [8812au]
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038845] usb_probe_interface+0xed/0x290
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038853] really_probe+0x2b3/0x3e0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038860] driver_probe_device+0xbc/0x100
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038866] __device_attach_driver+0x71/0xd0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038872] ? driver_allows_async_probing+0x50/0x50
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038877] bus_for_each_drv+0x84/0xd0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038883] __device_attach+0xe1/0x160
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038890] device_initial_probe+0x13/0x20
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038895] bus_probe_device+0x8f/0xa0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038899] device_add+0x3c7/0x6b0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038907] ? _cond_resched+0x19/0x30
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038911] usb_set_configuration+0x433/0x7d0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038918] ? kernfs_activate+0x77/0x80
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038924] generic_probe+0x43/0x60
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038928] usb_probe_device+0x31/0x70
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038933] really_probe+0x2b3/0x3e0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038939] driver_probe_device+0xbc/0x100
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038945] __device_attach_driver+0x71/0xd0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038951] ? driver_allows_async_probing+0x50/0x50
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038955] bus_for_each_drv+0x84/0xd0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038961] __device_attach+0xe1/0x160
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038967] device_initial_probe+0x13/0x20
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038972] bus_probe_device+0x8f/0xa0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038976] device_add+0x3c7/0x6b0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038982] ? add_device_randomness+0xa0/0x1c0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038988] usb_new_device.cold+0x12d/0x304
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038993] hub_port_connect+0x500/0x850
Apr 15 12:57:18 capicuapl-ng kernel: [20528.038998] port_event+0x502/0x780
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039006] ? __switch_to_xtra+0x1c5/0x5c0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039011] hub_event+0x152/0x390
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039017] ? psi_avgs_work+0x64/0xd0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039023] process_one_work+0x1eb/0x3b0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039028] worker_thread+0x4d/0x400
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039034] kthread+0x104/0x140
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039038] ? process_one_work+0x3b0/0x3b0
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039041] ? kthread_park+0x90/0x90
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039046] ret_from_fork+0x35/0x40
Apr 15 12:57:18 capicuapl-ng kernel: [20528.039052] ---[ end trace 9f14a1322aa335f5 ]---
Apr 15 12:57:18 capicuapl-ng kernel: [20528.163592] usb 1-1: reset high-speed USB device number 10 using xhci_hcd

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-21-generic 5.4.0-21.25
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mau 1657 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 15 12:57:29 2020
InstallationDate: Installed on 2020-03-15 (30 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200304)
MachineType: ASUSTeK COMPUTER INC. ZenBook 13 UX331FN_UX331FN
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-21-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-21-generic N/A
 linux-backports-modules-5.4.0-21-generic N/A
 linux-firmware 1.187
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/16/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX331FN.305
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX331FN
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX331FN.305:bd10/16/2019:svnASUSTeKCOMPUTERINC.:pnZenBook13UX331FN_UX331FN:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX331FN:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: ZenBook
dmi.product.name: ZenBook 13 UX331FN_UX331FN
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Mau (maugarta-cc) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Mau (maugarta-cc) wrote :

I also have this problem with the latest upstream mainline kernel (5.6.4-050604-generic)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.